refactor: standardize namespace and PVC names in Helm templates

This commit is contained in:
Elmar Kresse
2024-11-22 03:53:42 +01:00
parent 74dcdd16d4
commit a96bcea806
7 changed files with 51 additions and 302 deletions

View File

@@ -2,11 +2,11 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: koha-map
namespace: koha-{{ .Values.instance }}
namespace: koha
labels:
app: koha
data:
KOHA_INSTANCE: {{ required "You must provide an instance name, either using --set instance=myinstance or in a custom values.yaml" .Values.instance | quote }}
KOHA_INSTANCE: {{ .Values.instance | quote }}
KOHA_DOMAIN: {{ .Values.global.domain | quote }}
KOHA_INTRANET_PORT: {{ .Values.staff.port | quote }}
{{ with .Values.staff.prefix }}