Argo CD's install, registry secret and root app move into tofu (PIPT-89) #49
Loading…
Reference in a new issue
No description provided.
Delete branch "PIPT-89-argocd-tofu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The argocd.yaml workflow goes; tofu/argocd.tf takes over what it did, imported from the live cluster:
The Kubernetes and Helm providers sign in with the cluster's kube_config, already in this state. Plan against the live cluster: 3 to import, 2 to change, 0 to add or destroy. The two changes write only tofu's own bookkeeping on the imported root app and secret (the manifest and field_manager attributes, and wait_for_service_account_token): no field of either object changes. Nothing else in the plan.
A cluster with no Argo CD can't plan the root app until the release has installed Argo CD's CRDs (kubernetes_manifest reads its kind from the cluster when it plans).
https://openproject.home.romaine.life/wp/PIPT-89