This commit is contained in:
Erez Weiss 2025-10-21 15:02:38 +02:00 committed by GitHub
commit cdb520a8de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,9 @@ spec:
labels: labels:
app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }} app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.podAnnotations }} {{- with .Values.podAnnotations }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -54,6 +54,10 @@ envs:
podAnnotations: podAnnotations:
{} {}
# Extra pod labels
podLabels:
{}
# configure extra UI ENVs # configure extra UI ENVs
# Extra ENVs are writen in kubenertes format and added "as is" to the pod's env variables # Extra ENVs are writen in kubenertes format and added "as is" to the pod's env variables
# https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/ # https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/