* Added ability to create namespaces Signed-off-by: Andrew Block <[email protected]> * Add openshift labels Signed-off-by: Mariusz Sabath <[email protected]> --------- Signed-off-by: Andrew Block <[email protected]> Signed-off-by: Mariusz Sabath <[email protected]> Co-authored-by: Mariusz Sabath <[email protected]> Co-authored-by: kfox1111 <[email protected]>
15 lines
499 B
YAML
15 lines
499 B
YAML
{{- if .Values.global.spire.namespaces.server.create }}
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: {{ .Values.global.spire.namespaces.server.name }}
|
|
{{- if .Values.global.spire.namespaces.server.labels }}
|
|
labels:
|
|
{{- .Values.global.spire.namespaces.server.labels | toYaml | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.global.spire.namespaces.server.annotations }}
|
|
annotations:
|
|
{{- .Values.global.spire.namespaces.server.annotations | toYaml | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|