From cdd67cf4a199e892f76a5a464ca9d72528d4eda8 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Tue, 25 Mar 2025 11:45:46 -0500 Subject: [PATCH] fix(glance): add job annotations to fix sync issues Due to the way OpenStack Helm loads their jobs and requires jobs to exist forever and that jobs are immutable, we need to have ArgoCD delete the existing or replace them when it runs a sync to apply any changes otherwise we hit immutable errors. --- components/glance/values.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/glance/values.yaml b/components/glance/values.yaml index ae6c94dc8..0b7a0c554 100644 --- a/components/glance/values.yaml +++ b/components/glance/values.yaml @@ -140,3 +140,15 @@ annotations: argocd.argoproj.io/hook: Sync argocd.argoproj.io/hook-delete-policy: BeforeHookCreation argocd.argoproj.io/sync-options: Replace=true + glance_metadefs_load: + argocd.argoproj.io/hook: Sync + argocd.argoproj.io/hook-delete-policy: BeforeHookCreation + argocd.argoproj.io/sync-options: Replace=true + glance_storage_init: + argocd.argoproj.io/hook: Sync + argocd.argoproj.io/hook-delete-policy: BeforeHookCreation + argocd.argoproj.io/sync-options: Replace=true + glance_bootstrap: + argocd.argoproj.io/hook: Sync + argocd.argoproj.io/hook-delete-policy: BeforeHookCreation + argocd.argoproj.io/sync-options: Replace=true