Skip to content

RDS - There's no way to avoid Secret Manager password rotation when setting manageMasterUserPassword to true. #2674

@RanMarkovich

Description

@RanMarkovich

Describe the bug
I'm trying to create an RDS DB instance using the below manifest:

apiVersion: rds.services.k8s.aws/v1alpha1
kind: DBInstance
metadata:
  name: test-mysql-instance
spec:
  dbInstanceClass: db.t3.micro
  dbInstanceIdentifier: test-mysql-instance
  engine: mysql
  manageMasterUserPassword: true
  masterUsername: db_owner

This will result in the creation of a DB Instance with an auto-generated password in Secret Manager.

The default auto-created password rotates every 7 days.

Expected outcome
Support for non-rotating passwords should be available, as there's an option to disable password rotation manually via the AWS console.

Environment

  • Kubernetes version: v1.31.13-eks-113cf36
  • Using EKS (yes/no): yes
  • AWS service targeted: RDS
  • Chart: rds-chart-1.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-investigationIndicates an issue needs some investigation.service/rdsIndicates issues or PRs that are related to rds-controller.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions