Use configmap name referrence

This commit is contained in:
2024-12-24 17:31:01 +01:00
parent 9a3c9d02d3
commit 88cc31392a
6 changed files with 30 additions and 6 deletions

View File

@@ -13,7 +13,8 @@ resources:
configMapGenerator:
- name: authelia-prod-values
namespace: auth
options:
disableNameSuffixHash: true
files:
- values.yaml
configurations:
- kustomizeconfig.yaml

View File

@@ -0,0 +1,7 @@
# /apps/prod/authelia/kustomizeconfig.yaml
nameReference:
- kind: ConfigMap
version: v1
fieldSpecs:
- path: spec/valuesFrom/name
kind: HelmRelease

View File

@@ -12,7 +12,8 @@ resources:
configMapGenerator:
- name: gitea-prod-values
namespace: gitea
options:
disableNameSuffixHash: true
files:
- values.yaml
configurations:
- kustomizeconfig.yaml

View File

@@ -0,0 +1,7 @@
# /apps/prod/authelia/kustomizeconfig.yaml
nameReference:
- kind: ConfigMap
version: v1
fieldSpecs:
- path: spec/valuesFrom/name
kind: HelmRelease