-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create RDS DBInstance when autogeneratePassword - clean instance #1997
Comments
We tried different combinations of secrets. No data:
Empty data object:
Null password:
Empty password:
Nothing worked till we actually set it to some base64 representation of a pw. At first I suspected that the problem is in a way api-machinery checks for NotFound error, which @JaniszM cited. But now it seems the problem is a bit different, since created secret did not solve a problem until it was actually set to something. |
Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as |
/fresh |
Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as |
/fresh |
I think for |
What happened?
Using ArgoCD.
Creating a clean DB, without a restoration point, and with the master password being generated.
Got error:
Seems the problem might be the silent error ignorance for missing k8s Secrets (masterUserPasswordSecretRef).
provider-aws/pkg/controller/docdb/dbcluster/setup.go
Line 229 in f759905
(thanks @sysradium for that check)
Creating the secret and the key didn't solve the problem, the password was not generated. I have provided a password by hand.
To get the Instance I had to create the secret and put a valid password over there.
How can we reproduce it?
This can help, my resource params:
What environment did it happen in?
Crossplane version: helm.sh/chart=crossplane-1.13.2
provider-aws: v0.43.1
EKS/k8s: v1.28
The text was updated successfully, but these errors were encountered: