From 12c6264a425657c013a76b6ecb921353c0034740 Mon Sep 17 00:00:00 2001 From: Dane Butler Date: Wed, 3 Jul 2024 01:36:39 -0600 Subject: [PATCH] add pod labels in deployment resource (#152) * add pod labels in deployment resource * bump chart version for new functionality --- charts/unleash-proxy/Chart.yaml | 2 +- charts/unleash-proxy/templates/deployment.yaml | 3 +++ charts/unleash-proxy/values.yaml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/unleash-proxy/Chart.yaml b/charts/unleash-proxy/Chart.yaml index cd2ad5b..9be7b06 100644 --- a/charts/unleash-proxy/Chart.yaml +++ b/charts/unleash-proxy/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.7.0 +version: 0.8.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/unleash-proxy/templates/deployment.yaml b/charts/unleash-proxy/templates/deployment.yaml index 105ebf0..c4365e9 100644 --- a/charts/unleash-proxy/templates/deployment.yaml +++ b/charts/unleash-proxy/templates/deployment.yaml @@ -19,6 +19,9 @@ spec: {{- end }} labels: {{- include "unleash-proxy.selectorLabels" . | nindent 8 }} + {{- if .Values.podLabels }} + {{ toYaml .Values.podLabels | indent 8 }} + {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/charts/unleash-proxy/values.yaml b/charts/unleash-proxy/values.yaml index 8455efd..4866bf0 100644 --- a/charts/unleash-proxy/values.yaml +++ b/charts/unleash-proxy/values.yaml @@ -25,6 +25,8 @@ serviceAccount: podAnnotations: {} +podLabels: {} + podSecurityContext: {} # fsGroup: 2000