From 6a94846a04848a8c24bfd208328dd9083ef5d4a9 Mon Sep 17 00:00:00 2001 From: Mac Browning Date: Tue, 19 Mar 2024 12:34:31 -0700 Subject: [PATCH 1/2] Allow users to specify pod labels. --- charts/vantage-kubernetes-agent/templates/application.yaml | 3 +++ charts/vantage-kubernetes-agent/values.schema.json | 3 +++ charts/vantage-kubernetes-agent/values.yaml | 1 + 3 files changed, 7 insertions(+) diff --git a/charts/vantage-kubernetes-agent/templates/application.yaml b/charts/vantage-kubernetes-agent/templates/application.yaml index de8e7dc..b850021 100644 --- a/charts/vantage-kubernetes-agent/templates/application.yaml +++ b/charts/vantage-kubernetes-agent/templates/application.yaml @@ -32,6 +32,9 @@ spec: {{- end }} labels: {{- include "vantage-kubernetes-agent.selectorLabels" . | nindent 8 }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end}} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/charts/vantage-kubernetes-agent/values.schema.json b/charts/vantage-kubernetes-agent/values.schema.json index 90ca391..03cf4a8 100644 --- a/charts/vantage-kubernetes-agent/values.schema.json +++ b/charts/vantage-kubernetes-agent/values.schema.json @@ -121,6 +121,9 @@ "podAnnotations": { "type": "object" }, + "podLabels": { + "type": "object" + }, "resources": { "type": "object", "properties": { diff --git a/charts/vantage-kubernetes-agent/values.yaml b/charts/vantage-kubernetes-agent/values.yaml index 9b80fec..924d4b8 100644 --- a/charts/vantage-kubernetes-agent/values.yaml +++ b/charts/vantage-kubernetes-agent/values.yaml @@ -86,6 +86,7 @@ clusterRole: clusterRoleBinding: annotations: {} +podLabels: {} podAnnotations: {} securityContext: {} nodeSelector: {} From 1b0757537b59a555b20638bc3b0b93f39c75c36a Mon Sep 17 00:00:00 2001 From: Mac Browning Date: Tue, 19 Mar 2024 12:34:58 -0700 Subject: [PATCH 2/2] Update appVersion to 1.0.23. --- charts/vantage-kubernetes-agent/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/vantage-kubernetes-agent/Chart.yaml b/charts/vantage-kubernetes-agent/Chart.yaml index 5e79906..d98cec3 100644 --- a/charts/vantage-kubernetes-agent/Chart.yaml +++ b/charts/vantage-kubernetes-agent/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 name: vantage-kubernetes-agent description: Provisions the Vantage Kubernetes agent. type: application -version: 1.0.29 -appVersion: "1.0.22" +version: 1.0.30 +appVersion: "1.0.23" icon: "https://assets.vantage.sh/www/vantage_avatar-social.jpg"