You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The synchronizer synchronizes too early for my use case. Crossplane already creates a secret that contains the kubeconfig, but the caCert isn't correct yet. Crossplane updates it after the cluster is fully provisioned, but by that time the argocd cluster is already created with an invalid configuration. My current fix is to delete the argocd cluster secret and regenerate one by modifying a label on the kubeconfig secret, but I think the synchronizer should:
Check if there is enough information in the secret, and only trigger when it finds enough information.
Update the cluster when the original kubeconfig file gets updated, for instance when the caData is changed.
I would love to create a PR for this, but I'm not sure where to start as I have no experience with Golang/k8s operators development (yet).
The text was updated successfully, but these errors were encountered:
The synchronizer synchronizes too early for my use case. Crossplane already creates a secret that contains the kubeconfig, but the caCert isn't correct yet. Crossplane updates it after the cluster is fully provisioned, but by that time the argocd cluster is already created with an invalid configuration. My current fix is to delete the argocd cluster secret and regenerate one by modifying a label on the kubeconfig secret, but I think the synchronizer should:
I would love to create a PR for this, but I'm not sure where to start as I have no experience with Golang/k8s operators development (yet).
The text was updated successfully, but these errors were encountered: