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
I registered the cluster created in Terraform using local-exec. However, this created mutual dependencies because there was no service account before starting the ArgoCD application, and without it, it was impossible to register the cluster in Codefresh.
I decided to move cluster registration to a job inside the application using hooks. But the problem is that the application set does not recreate the application because of the deletion of cluster-2 and does not trigger the job to delete the cluster because the application set itself is on the third cluster. Maybe there is another option?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello community,
I have an app set that creates a service account to register a cluster in Codefresh.
It goes something like this
I registered the cluster created in Terraform using local-exec. However, this created mutual dependencies because there was no service account before starting the ArgoCD application, and without it, it was impossible to register the cluster in Codefresh.
I decided to move cluster registration to a job inside the application using hooks. But the problem is that the application set does not recreate the application because of the deletion of cluster-2 and does not trigger the job to delete the cluster because the application set itself is on the third cluster. Maybe there is another option?
Beta Was this translation helpful? Give feedback.
All reactions