From 18c99e335751c4007a6d0d8f9488ba1361b57c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20Gonz=C3=A1lez?= Date: Tue, 2 Jul 2024 17:08:46 -0400 Subject: [PATCH] fix: remove unnecesary annotations from the hpa sync wave (#117) The HPA sync-wave patch includes annotations to indicate argocd in which order should the HPA resources be applied in relation to the other resources. The `argocd.argoproj.io/hook: Sync` and `argocd.argoproj.io/hook-delete-policy: HookSucceeded` annotations are used for ephemeral resources (like jobs) and should not be used for the HPA resources. --- drydock/templates/drydock/k8s/patches/hpa-sync-wave.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/drydock/templates/drydock/k8s/patches/hpa-sync-wave.yml b/drydock/templates/drydock/k8s/patches/hpa-sync-wave.yml index 5c4ef544..8ab9d81e 100644 --- a/drydock/templates/drydock/k8s/patches/hpa-sync-wave.yml +++ b/drydock/templates/drydock/k8s/patches/hpa-sync-wave.yml @@ -4,5 +4,3 @@ metadata: name: not-used annotations: argocd.argoproj.io/sync-wave: "{{ get_sync_waves_for_resource('horizontalpodautoscalers:all') }}" - argocd.argoproj.io/hook: Sync - argocd.argoproj.io/hook-delete-policy: HookSucceeded