From 5d5991b696ec032ef0aec8475e6a55f843758df4 Mon Sep 17 00:00:00 2001 From: Santiago Pfeifer Date: Wed, 5 Jun 2024 16:58:59 +0200 Subject: [PATCH 1/2] Add priorityClassName to Deployments --- charts/google-tag-manager/templates/ps-deployment.yaml | 3 +++ charts/google-tag-manager/templates/sst-deployment.yaml | 3 +++ charts/google-tag-manager/values.yaml | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/charts/google-tag-manager/templates/ps-deployment.yaml b/charts/google-tag-manager/templates/ps-deployment.yaml index caf50cb..95c5e60 100644 --- a/charts/google-tag-manager/templates/ps-deployment.yaml +++ b/charts/google-tag-manager/templates/ps-deployment.yaml @@ -57,6 +57,9 @@ spec: name: ps-{{ include "google-tag-manager.fullname" . }} - secretRef: name: ps-{{ include "google-tag-manager.fullname" . }} + {{- with .Values.previewServer.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} {{- with .Values.previewServer.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/google-tag-manager/templates/sst-deployment.yaml b/charts/google-tag-manager/templates/sst-deployment.yaml index ef6e99c..b8ceac3 100644 --- a/charts/google-tag-manager/templates/sst-deployment.yaml +++ b/charts/google-tag-manager/templates/sst-deployment.yaml @@ -56,6 +56,9 @@ spec: name: sst-{{ include "google-tag-manager.fullname" . }} - secretRef: name: sst-{{ include "google-tag-manager.fullname" . }} + {{- with .Values.serverSideTagging.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} {{- with .Values.serverSideTagging.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/google-tag-manager/values.yaml b/charts/google-tag-manager/values.yaml index 3b755c4..3ace041 100644 --- a/charts/google-tag-manager/values.yaml +++ b/charts/google-tag-manager/values.yaml @@ -59,6 +59,8 @@ previewServer: secretEnvironment: {} + priorityClassName: "" + nodeSelector: {} affinity: {} @@ -199,6 +201,8 @@ serverSideTagging: secretEnvironment: {} + priorityClassName: "" + nodeSelector: {} affinity: {} From 0844bda751f91574cba719bbc504b4c5c8b5747e Mon Sep 17 00:00:00 2001 From: Santiago Pfeifer Date: Thu, 6 Jun 2024 13:43:20 +0200 Subject: [PATCH 2/2] Update helm version --- charts/google-tag-manager/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/google-tag-manager/Chart.yaml b/charts/google-tag-manager/Chart.yaml index 313976f..82aa6b3 100644 --- a/charts/google-tag-manager/Chart.yaml +++ b/charts/google-tag-manager/Chart.yaml @@ -6,7 +6,7 @@ type: application name: google-tag-manager description: A Helm Chart for Google Tag Manager -version: "0.2.2" +version: "0.3.0" appVersion: "1.16.0" keywords: