Skip to content

ACK RDS controller v1.60 compare DatabaseInsightsMode with null valueΒ #2622

@Julian-Chu

Description

@Julian-Chu

Describe the bug

rds controller v1.60 introduce the new DatabaseInsightsMode support, but it causes existing DBInstance resources becomes not synced, because it doesn't ignore when spec.DatabaseInsightsMode is null (it's new field, so existing DBinstance doesn't have any default value).

{
    ..........
    "diff": [
        {
            "Path": {
                "Parts": [
                    "Spec",
                    "DatabaseInsightsMode"
                ]
            },
            "A": null,
            "B": "standard"
        }
    ]
}

Steps to reproduce

deploy a DBInstance without DatabaseInsightsMode field

Expected outcome
A concise description of what you expected to happen.

Environment

  • Kubernetes version
    1.32
  • Using EKS (yes/no), if so version?
    yes, eks.16
  • AWS service targeted (S3, RDS, etc.)
    RDS

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.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