Skip to content

Conversation

@Keralin
Copy link

@Keralin Keralin commented Nov 28, 2025

Summary

Add username and password keys to aws_rds_cluster connection secrets to enable compatibility with provider-sql and other consumers that expect standard crossplane-runtime connection secret keys.

Changes:

  • config/cluster/rds: Add username (alias of master_username) and password (from master_password) to connection secrets
  • config/namespaced/rds: Same changes for namespaced variant

Existing keys (master_username) are preserved for backwards compatibility.

Connection Secret Output (after this fix)

data:
  endpoint: xxxxxx
  reader_endpoint: xxxxxx
  master_username: xxxxxx  # Preserved for backwards compatibility
  username: xxxxxx         # NEW - Standard crossplane-runtime key
  port: xxxxxx
  password: xxxxxx         # NEW - Standard crossplane-runtime key

Fixes #1189

Related issues:

@Keralin Keralin force-pushed the fix/rds-cluster-standard-connection-keys branch 2 times, most recently from 9bbfd3a to a147c9b Compare November 28, 2025 08:30
… compatibility

Add 'username' and 'password' keys to aws_rds_cluster connection secrets
to enable compatibility with provider-sql and other consumers that expect
standard crossplane-runtime connection secret keys.

Existing keys (master_username, master_password) are preserved for
backwards compatibility.

Fixes: crossplane-contrib#1189

Signed-off-by: Francisco Barón <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow writeConnectionSecretToRef to be compatible with SQL community provider

1 participant