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.
This commit is contained in:
@@ -15,5 +15,3 @@ configMapGenerator:
|
||||
namespace: authelia
|
||||
files:
|
||||
- configuration.yml
|
||||
options:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
Reference in New Issue
Block a user