From ddb14dbe977c590f26cbcfb0cee6231107504df5 Mon Sep 17 00:00:00 2001 From: Erez Weiss Date: Tue, 24 Dec 2024 12:26:08 +0200 Subject: [PATCH 1/2] Chore: add podLabels --- charts/postgres-operator-ui/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/postgres-operator-ui/templates/deployment.yaml b/charts/postgres-operator-ui/templates/deployment.yaml index fbb9ee086..7bd3b807f 100644 --- a/charts/postgres-operator-ui/templates/deployment.yaml +++ b/charts/postgres-operator-ui/templates/deployment.yaml @@ -19,6 +19,9 @@ spec: labels: app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.podAnnotations }} annotations: {{- toYaml . | nindent 8 }} From b27f84d6c7c86d15869c87e703882af86e9df04a Mon Sep 17 00:00:00 2001 From: Erez Weiss Date: Tue, 24 Dec 2024 12:28:27 +0200 Subject: [PATCH 2/2] Chore: add podLabels --- charts/postgres-operator-ui/values.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/postgres-operator-ui/values.yaml b/charts/postgres-operator-ui/values.yaml index da3c4baaf..ddfc4a19d 100644 --- a/charts/postgres-operator-ui/values.yaml +++ b/charts/postgres-operator-ui/values.yaml @@ -54,6 +54,10 @@ envs: podAnnotations: {} +# Extra pod labels +podLabels: + {} + # configure extra UI ENVs # 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/