Closed NikitaCloudRuntime closed 2 weeks ago
this should help with your issue described here: https://github.com/crossplane-contrib/provider-kubernetes/pull/134
We are using last applied configuration since for some k8s resources, API Server fills some fields after you create the resource hence once you get it back you would always see it is different than what you want to apply. see for ref: https://github.com/crossplane-contrib/provider-kubernetes/issues/37#issuecomment-1122145690
@haarchri thank you for pointing out to the work ongoing around this issue
Even though it's not a big issue at the moment but we would like to know if you have any estimate when it gets resolved?
What happened?
EKS ConfigMap doesn't not change
How can we reproduce it?
As part of provisioning of a new EKS cluster we want to modify the
aws-auth
configMap in order to map SSO IAM roles there. The Composite looks like the followingEverything works well, we can connect the cluster after provisioning but we noticed that if we try to modify the configMap manually, Crossplane Kubernetes provider doesn't override this change
So, let's assume that we have the following configMap in the new cluster
and as soon as we modify it(set up wrong group for the second role)
the controller sees this change
but doesn't revert it. I assume it's because the last applied configuration doesn't represent this change.
So, either we don't really understand the logic behind this new concept or something goes wrong
What environment did it happen in?
Crossplane Version: v1.13.2 AWS provider versions: v0.41.0 Kubernetes provider version: v0.9.0 Kubernetes Version: 1.25 Kubernetes Distribution: EKS