-
Notifications
You must be signed in to change notification settings - Fork 378
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
RDS tags inconsistent with the resource created in the cloud during composition update #494
Comments
Thanks for raising this bug @kelvinwijaya! I've proposed that we work on this in the Crossplane 1.1 release (so during the next few weeks). If anyone is interested on fixing this sooner, please let us know! |
Got burned by this just now... tried to add tags on these crds:
It worked only on:
|
While this issue is open, is there any workaround for dbinstance.rds.aws.crossplane.io tag update? |
Can you please investigate this? |
It seems that |
What happened?
RDS User defined tags is not tally with the one created in the cloud
How can we reproduce it?
What environment did it happen in?
Crossplane version: 1.0.0-rc.0.26.gd8254833
kubectl version
)Client Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.8-eks-e16311", GitCommit:"e163110a04dcb2f39c3325af96d019b492541
9eb", GitTreeState:"clean", BuildDate:"2020-03-27T22:40:13Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.9-eks-d1db3c", GitCommit:"d1db3c46e55f95d6a7d3e5578689371318f95
ff9", GitTreeState:"clean", BuildDate:"2020-10-20T22:18:07Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Suspect:
Referencing the External Tags logic in the
Initialize
phase which includes the Tags sorting: https://github.com/crossplane/provider-aws/blob/cd5da906f3f1fc8e259d78e9351584e6e4cfddd2/pkg/controller/database/rdsinstance.go#L285But not during the
Update
phase, patching of the Tags may required some kind of sorting before calling the : https://github.com/crossplane/provider-aws/blob/cd5da906f3f1fc8e259d78e9351584e6e4cfddd2/pkg/controller/database/rdsinstance.go#L223The text was updated successfully, but these errors were encountered: