From d2dd4f02ec29631e0718e60014b66c729e4d36a0 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 7 Mar 2024 18:16:16 +0000 Subject: [PATCH] Update Helm release prometheus-pushgateway to v2 Signed-off-by: Renovate Bot --- class/defaults.yml | 2 +- .../templates/deployment.yaml | 37 +++++++++++++------ .../templates/service.yaml | 15 ++++---- .../templates/serviceaccount.yaml | 11 ++++-- .../templates/servicemonitor.yaml | 13 ++++--- 5 files changed, 49 insertions(+), 29 deletions(-) diff --git a/class/defaults.yml b/class/defaults.yml index 88a6f84..74e6c34 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -10,4 +10,4 @@ parameters: enabled: true namespace: ${prometheus_pushgateway:namespace} charts: - prometheus-pushgateway: 1.5.1 + prometheus-pushgateway: 2.8.0 diff --git a/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/deployment.yaml b/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/deployment.yaml index 790f852..6694ab9 100644 --- a/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/deployment.yaml +++ b/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/deployment.yaml @@ -2,28 +2,33 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - app: prometheus-pushgateway - chart: prometheus-pushgateway-1.5.1 - heritage: Helm - release: platform + app.kubernetes.io/instance: platform + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: prometheus-pushgateway + app.kubernetes.io/version: v1.7.0 + helm.sh/chart: prometheus-pushgateway-2.8.0 name: platform-prometheus-pushgateway + namespace: syn-prometheus-pushgateway spec: replicas: 1 selector: matchLabels: - app: prometheus-pushgateway - release: platform + app.kubernetes.io/instance: platform + app.kubernetes.io/name: prometheus-pushgateway strategy: type: Recreate template: metadata: - annotations: {} labels: - app: prometheus-pushgateway - release: platform + app.kubernetes.io/instance: platform + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: prometheus-pushgateway + app.kubernetes.io/version: v1.7.0 + helm.sh/chart: prometheus-pushgateway-2.8.0 spec: + automountServiceAccountToken: true containers: - - image: prom/pushgateway:v1.3.0 + - image: quay.io/prometheus/pushgateway:v1.7.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -42,5 +47,15 @@ spec: port: 9091 initialDelaySeconds: 10 timeoutSeconds: 10 - resources: {} + volumeMounts: + - mountPath: /data + name: storage-volume + subPath: '' + securityContext: + fsGroup: 65534 + runAsNonRoot: true + runAsUser: 65534 serviceAccountName: platform-prometheus-pushgateway + volumes: + - emptyDir: {} + name: storage-volume diff --git a/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/service.yaml b/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/service.yaml index a1bfc0a..ea2863a 100644 --- a/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/service.yaml +++ b/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/service.yaml @@ -1,13 +1,14 @@ apiVersion: v1 kind: Service metadata: - annotations: {} labels: - app: prometheus-pushgateway - chart: prometheus-pushgateway-1.5.1 - heritage: Helm - release: platform + app.kubernetes.io/instance: platform + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: prometheus-pushgateway + app.kubernetes.io/version: v1.7.0 + helm.sh/chart: prometheus-pushgateway-2.8.0 name: platform-prometheus-pushgateway + namespace: syn-prometheus-pushgateway spec: ports: - name: http @@ -15,6 +16,6 @@ spec: protocol: TCP targetPort: 9091 selector: - app: prometheus-pushgateway - release: platform + app.kubernetes.io/instance: platform + app.kubernetes.io/name: prometheus-pushgateway type: ClusterIP diff --git a/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/serviceaccount.yaml b/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/serviceaccount.yaml index cdf9290..66a3508 100644 --- a/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/serviceaccount.yaml +++ b/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/serviceaccount.yaml @@ -1,9 +1,12 @@ apiVersion: v1 +automountServiceAccountToken: true kind: ServiceAccount metadata: labels: - app: prometheus-pushgateway - chart: prometheus-pushgateway-1.5.1 - heritage: Helm - release: platform + app.kubernetes.io/instance: platform + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: prometheus-pushgateway + app.kubernetes.io/version: v1.7.0 + helm.sh/chart: prometheus-pushgateway-2.8.0 name: platform-prometheus-pushgateway + namespace: syn-prometheus-pushgateway diff --git a/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/servicemonitor.yaml b/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/servicemonitor.yaml index 91e9609..95f534a 100644 --- a/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/servicemonitor.yaml +++ b/tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates/servicemonitor.yaml @@ -2,10 +2,11 @@ apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: labels: - app: prometheus-pushgateway - chart: prometheus-pushgateway-1.5.1 - heritage: Helm - release: platform + app.kubernetes.io/instance: platform + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: prometheus-pushgateway + app.kubernetes.io/version: v1.7.0 + helm.sh/chart: prometheus-pushgateway-2.8.0 name: platform-prometheus-pushgateway namespace: syn-prometheus-pushgateway spec: @@ -18,5 +19,5 @@ spec: - syn-prometheus-pushgateway selector: matchLabels: - app: prometheus-pushgateway - release: platform + app.kubernetes.io/instance: platform + app.kubernetes.io/name: prometheus-pushgateway