From 721edd0d59ba078f5672fdfa3169281daab560d3 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 14 Oct 2023 10:47:23 -0500 Subject: [PATCH] authelia: Use ConfigMap name suffix hash Without `disableNameSuffixHash` enabled, Kustomize will create a unique ConfigMap any time the contents of source file change. It will also update any Deployment, StatefulSet, etc resources to point to the new ConfigMap. This has the effect of restarting any pods that refer to the ConfigMap whenever its contents change. I had avoided using this initially because Kustomize does *not* delete previous ConfigMap resources whenever it creates a new one. Now that we have Argo CD, though, this is not an issue, as it will clean up the old resources whenever it synchronizes. --- authelia/kustomization.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/authelia/kustomization.yaml b/authelia/kustomization.yaml index 48c6f09..47f6ef0 100644 --- a/authelia/kustomization.yaml +++ b/authelia/kustomization.yaml @@ -15,5 +15,3 @@ configMapGenerator: namespace: authelia files: - configuration.yml - options: - disableNameSuffixHash: true