From 650758d1884a93907abc7e56382e5e8b8bc9c328 Mon Sep 17 00:00:00 2001 From: Krishna Date: Wed, 1 Nov 2023 14:21:20 -0500 Subject: [PATCH 1/4] Update values.yaml this value should be in all CAPS as per spec https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted Exact same issue has been raise by @joe bowbeer https://github.com/argoproj/argo-cd/pull/5786#discussion_r903093580 Signed-off-by: Krishna --- charts/prometheus-adapter/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/prometheus-adapter/values.yaml b/charts/prometheus-adapter/values.yaml index 5098e69fa655..7db4b3e5a55d 100644 --- a/charts/prometheus-adapter/values.yaml +++ b/charts/prometheus-adapter/values.yaml @@ -48,7 +48,7 @@ podSecurityContext: securityContext: allowPrivilegeEscalation: false capabilities: - drop: ["all"] + drop: ["ALL"] readOnlyRootFilesystem: true runAsNonRoot: true runAsUser: 10001 From 1d9a71bf093aa639159d8e64a9b8ca2138aebf5a Mon Sep 17 00:00:00 2001 From: Ilia Lazebnik Date: Mon, 6 Nov 2023 10:44:48 +0200 Subject: [PATCH 2/4] [prometheus-stackdriver-exporter] bump stackdriver exporter to 0.14.1 (#3847) * bump stackdriver exporter to 0.14.1 Signed-off-by: drfaust92 * bump stackdriver exporter to 0.14.1 Signed-off-by: drfaust92 * Update Chart.yaml Signed-off-by: Ilia Lazebnik --------- Signed-off-by: drfaust92 Signed-off-by: Ilia Lazebnik Signed-off-by: Krishna --- charts/prometheus-stackdriver-exporter/Chart.yaml | 4 ++-- .../prometheus-stackdriver-exporter/templates/deployment.yaml | 2 +- charts/prometheus-stackdriver-exporter/values.yaml | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/prometheus-stackdriver-exporter/Chart.yaml b/charts/prometheus-stackdriver-exporter/Chart.yaml index 226320c86d57..25ec675840d6 100644 --- a/charts/prometheus-stackdriver-exporter/Chart.yaml +++ b/charts/prometheus-stackdriver-exporter/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 description: Stackdriver exporter for Prometheus name: prometheus-stackdriver-exporter -version: 4.3.1 -appVersion: 0.13.0 +version: 4.4.0 +appVersion: v0.14.1 home: https://www.stackdriver.com/ sources: - https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-stackdriver-exporter diff --git a/charts/prometheus-stackdriver-exporter/templates/deployment.yaml b/charts/prometheus-stackdriver-exporter/templates/deployment.yaml index 9a976e13dcac..5125c9505b90 100644 --- a/charts/prometheus-stackdriver-exporter/templates/deployment.yaml +++ b/charts/prometheus-stackdriver-exporter/templates/deployment.yaml @@ -57,7 +57,7 @@ spec: {{- end}} containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} command: ["stackdriver_exporter"] volumeMounts: diff --git a/charts/prometheus-stackdriver-exporter/values.yaml b/charts/prometheus-stackdriver-exporter/values.yaml index 71fc217cb336..0eb38918f5e3 100644 --- a/charts/prometheus-stackdriver-exporter/values.yaml +++ b/charts/prometheus-stackdriver-exporter/values.yaml @@ -12,7 +12,8 @@ restartPolicy: Always image: repository: prometheuscommunity/stackdriver-exporter - tag: v0.13.0 + # if not set appVersion field from Chart.yaml is used + tag: "" pullPolicy: IfNotPresent ## Optionally specify an array of imagePullSecrets. From d45168c3055c14b4fe163f58950193435f7396b0 Mon Sep 17 00:00:00 2001 From: Krishna Date: Mon, 6 Nov 2023 08:32:48 -0600 Subject: [PATCH 3/4] bump chart version Signed-off-by: Krishna --- charts/prometheus-adapter/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/prometheus-adapter/Chart.yaml b/charts/prometheus-adapter/Chart.yaml index c9326246b5a2..9707d5df8350 100644 --- a/charts/prometheus-adapter/Chart.yaml +++ b/charts/prometheus-adapter/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: prometheus-adapter -version: 4.7.1 +version: 4.7.2 appVersion: v0.11.1 description: A Helm chart for k8s prometheus adapter home: https://github.com/kubernetes-sigs/prometheus-adapter From 46eb32ce47842437ad4d0988810882a15afd3de0 Mon Sep 17 00:00:00 2001 From: Krishna Date: Wed, 8 Nov 2023 12:43:57 -0600 Subject: [PATCH 4/4] bump up chart version Signed-off-by: Krishna --- charts/prometheus-adapter/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/prometheus-adapter/Chart.yaml b/charts/prometheus-adapter/Chart.yaml index 9707d5df8350..3de72fb1bd49 100644 --- a/charts/prometheus-adapter/Chart.yaml +++ b/charts/prometheus-adapter/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: prometheus-adapter -version: 4.7.2 +version: 4.8.1 appVersion: v0.11.1 description: A Helm chart for k8s prometheus adapter home: https://github.com/kubernetes-sigs/prometheus-adapter