From ea6836385e65bedaa2f8ba313986906f0ee51223 Mon Sep 17 00:00:00 2001 From: jimmybchopps Date: Sun, 22 Dec 2024 10:16:38 -0600 Subject: [PATCH 1/7] [prometheus-elasticsearch-exporter] Update pod labels (#5031) * Updated pod labels Signed-off-by: Jimmy Bourque * bumped chart version Signed-off-by: Jimmy Bourque * Update charts/prometheus-elasticsearch-exporter/Chart.yaml Bumping version Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com> Signed-off-by: jimmybchopps --------- Signed-off-by: Jimmy Bourque Signed-off-by: jimmybchopps Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com> --- charts/prometheus-elasticsearch-exporter/Chart.yaml | 2 +- .../prometheus-elasticsearch-exporter/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/prometheus-elasticsearch-exporter/Chart.yaml b/charts/prometheus-elasticsearch-exporter/Chart.yaml index 567506055468..58340feb2d89 100644 --- a/charts/prometheus-elasticsearch-exporter/Chart.yaml +++ b/charts/prometheus-elasticsearch-exporter/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: Elasticsearch stats exporter for Prometheus name: prometheus-elasticsearch-exporter -version: 6.5.1 +version: 6.6.0 kubeVersion: ">=1.19.0-0" appVersion: "v1.8.0" home: https://github.com/prometheus-community/elasticsearch_exporter diff --git a/charts/prometheus-elasticsearch-exporter/templates/deployment.yaml b/charts/prometheus-elasticsearch-exporter/templates/deployment.yaml index 08162e14f7aa..b242fdc5890f 100644 --- a/charts/prometheus-elasticsearch-exporter/templates/deployment.yaml +++ b/charts/prometheus-elasticsearch-exporter/templates/deployment.yaml @@ -25,7 +25,7 @@ spec: template: metadata: labels: - {{- include "elasticsearch-exporter.selectorLabels" . | nindent 8 }} + {{- include "elasticsearch-exporter.labels" . | nindent 8 }} {{- with .Values.commonLabels }} {{- toYaml . | nindent 8 }} {{- end }} From 619b91c9e9821546f2b58f01151e948460c15eb4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 10:24:51 +0100 Subject: [PATCH 2/7] Bump helm/kind-action from 1.10.0 to 1.12.0 (#5087) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/lint-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index e9f8a829e0b3..ec85e060cbba 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -42,7 +42,7 @@ jobs: run: ct lint --config .github/linters/ct.yaml - name: Create kind cluster - uses: helm/kind-action@v1.10.0 + uses: helm/kind-action@v1.12.0 if: steps.list-changed.outputs.changed == 'true' - name: Apply Gateway API CRDs From ec4df82611b5e1033ee2104e072c940d4b46b9f8 Mon Sep 17 00:00:00 2001 From: yurhasko <103924414+yurhasko@users.noreply.github.com> Date: Mon, 23 Dec 2024 19:22:01 +0200 Subject: [PATCH 3/7] [prometheus-postgres-exporter] add namespace by default to the kubectl port-forward command (#5081) Signed-off-by: yurhasko --- charts/prometheus-postgres-exporter/Chart.yaml | 2 +- charts/prometheus-postgres-exporter/templates/NOTES.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/prometheus-postgres-exporter/Chart.yaml b/charts/prometheus-postgres-exporter/Chart.yaml index ad1232ab68d2..497e26cded22 100644 --- a/charts/prometheus-postgres-exporter/Chart.yaml +++ b/charts/prometheus-postgres-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "v0.16.0" description: A Helm chart for prometheus postgres-exporter name: prometheus-postgres-exporter -version: 6.8.0 +version: 6.8.1 home: https://github.com/prometheus-community/postgres_exporter sources: - https://github.com/prometheus-community/postgres_exporter diff --git a/charts/prometheus-postgres-exporter/templates/NOTES.txt b/charts/prometheus-postgres-exporter/templates/NOTES.txt index 5c328b9354a3..a7bce03d3db0 100644 --- a/charts/prometheus-postgres-exporter/templates/NOTES.txt +++ b/charts/prometheus-postgres-exporter/templates/NOTES.txt @@ -11,5 +11,5 @@ {{- else if contains "ClusterIP" .Values.service.type }} export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "prometheus-postgres-exporter.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") echo "Visit http://127.0.0.1:8080 to use your application" - kubectl port-forward $POD_NAME 8080:9187 + kubectl port-forward $POD_NAME 8080:9187 --namespace {{ .Release.Namespace }} {{- end }} From 264ec82ebe7cd3da2e465b494aff95a53899df11 Mon Sep 17 00:00:00 2001 From: Yves Galante <97048025+YvesZelros@users.noreply.github.com> Date: Mon, 23 Dec 2024 21:37:42 +0100 Subject: [PATCH 4/7] [prometheus-mongodb-exporter] Allow to configure pod security context (#5088) Signed-off-by: Yves Galante --- charts/prometheus-mongodb-exporter/Chart.yaml | 2 +- .../ci/podsecuritycontext-values.yaml | 9 +++++++++ .../templates/deployment.yaml | 4 ++++ charts/prometheus-mongodb-exporter/values.yaml | 9 ++++++++- 4 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 charts/prometheus-mongodb-exporter/ci/podsecuritycontext-values.yaml diff --git a/charts/prometheus-mongodb-exporter/Chart.yaml b/charts/prometheus-mongodb-exporter/Chart.yaml index e6f937e5a858..b6bc122385e3 100644 --- a/charts/prometheus-mongodb-exporter/Chart.yaml +++ b/charts/prometheus-mongodb-exporter/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: prometheus-mongodb-exporter sources: - https://github.com/percona/mongodb_exporter -version: 3.10.0 +version: 3.11.0 diff --git a/charts/prometheus-mongodb-exporter/ci/podsecuritycontext-values.yaml b/charts/prometheus-mongodb-exporter/ci/podsecuritycontext-values.yaml new file mode 100644 index 000000000000..22cbdfa4a2cd --- /dev/null +++ b/charts/prometheus-mongodb-exporter/ci/podsecuritycontext-values.yaml @@ -0,0 +1,9 @@ +--- +# Test customize podSecurityContext + +mongodb: + uri: mongodb://localhost:9216 + +podSecurityContext: + seccompProfile: + type: RuntimeDefault diff --git a/charts/prometheus-mongodb-exporter/templates/deployment.yaml b/charts/prometheus-mongodb-exporter/templates/deployment.yaml index 513e6f6da2d1..1370232df1c6 100644 --- a/charts/prometheus-mongodb-exporter/templates/deployment.yaml +++ b/charts/prometheus-mongodb-exporter/templates/deployment.yaml @@ -82,6 +82,10 @@ spec: {{- end }} imagePullSecrets: {{- toYaml .Values.imagePullSecrets | nindent 8 }} + {{- with .Values.podSecurityContext }} + securityContext: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- tpl (toYaml .) $ | nindent 8 }} diff --git a/charts/prometheus-mongodb-exporter/values.yaml b/charts/prometheus-mongodb-exporter/values.yaml index 74e498e0b15c..8435d98d0ac0 100644 --- a/charts/prometheus-mongodb-exporter/values.yaml +++ b/charts/prometheus-mongodb-exporter/values.yaml @@ -71,10 +71,17 @@ resources: {} # cpu: 100m # memory: 128Mi +# Customize securityContext of the pod. +# See https://kubernetes.io/docs/concepts/policy/security-context/ for more. +podSecurityContext: {} + # seccompProfile: + # type: RuntimeDefault + securityContext: allowPrivilegeEscalation: false capabilities: - drop: ["all"] + drop: + - ALL readOnlyRootFilesystem: true runAsGroup: 10000 runAsNonRoot: true From 474f8d55d38f451f77befe4f89aaa7f94b1b2eea Mon Sep 17 00:00:00 2001 From: Ilia Lazebnik Date: Tue, 24 Dec 2024 11:16:44 -0500 Subject: [PATCH 5/7] [prometheus-operator-admission-webhook] bump to 0.79.2 (#5092) * bump to 0.79.2 Signed-off-by: drfaust92 * bump to 0.79.2 Signed-off-by: drfaust92 --------- Signed-off-by: drfaust92 --- charts/prometheus-operator-admission-webhook/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/prometheus-operator-admission-webhook/Chart.yaml b/charts/prometheus-operator-admission-webhook/Chart.yaml index ee66a9f9b6bc..edcdbc066ea1 100644 --- a/charts/prometheus-operator-admission-webhook/Chart.yaml +++ b/charts/prometheus-operator-admission-webhook/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 description: Prometheus Operator Admission Webhook name: prometheus-operator-admission-webhook -version: 0.18.0 -appVersion: 0.79.0 +version: 0.18.1 +appVersion: 0.79.2 home: https://github.com/prometheus-operator/prometheus-operator icon: https://github.com/prometheus-operator/prometheus-operator/raw/main/Documentation/logos/prometheus-operator-logo.png keywords: From 0dc6d726a4203d80ae74f192592ea5fdb07c3e6b Mon Sep 17 00:00:00 2001 From: Ilia Lazebnik Date: Tue, 24 Dec 2024 11:19:16 -0500 Subject: [PATCH 6/7] [prometheus-smartctl-exporter] bump to 0.13.0 (#5089) Signed-off-by: drfaust92 --- charts/prometheus-smartctl-exporter/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/prometheus-smartctl-exporter/Chart.yaml b/charts/prometheus-smartctl-exporter/Chart.yaml index 769d96d4260b..6802e623bb3c 100644 --- a/charts/prometheus-smartctl-exporter/Chart.yaml +++ b/charts/prometheus-smartctl-exporter/Chart.yaml @@ -15,13 +15,13 @@ 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.11.0 +version: 0.12.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 # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: v0.12.0 +appVersion: v0.13.0 home: https://github.com/prometheus-community/smartctl_exporter sources: From 6603ff5a3fdfccf27f29812472f727e98c57ca37 Mon Sep 17 00:00:00 2001 From: Ilia Lazebnik Date: Tue, 24 Dec 2024 16:57:42 -0500 Subject: [PATCH 7/7] [kube-state-metrics] bump kube-rbac-proxy to 0.18.2 (#5097) * bump kube-rbac-proxy to 0.18.2 Signed-off-by: drfaust92 * bump kube-rbac-proxy to 0.18.2 Signed-off-by: drfaust92 --------- Signed-off-by: drfaust92 --- charts/kube-state-metrics/Chart.yaml | 2 +- charts/kube-state-metrics/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/kube-state-metrics/Chart.yaml b/charts/kube-state-metrics/Chart.yaml index 3182e471dcdc..d9c9392db5f8 100644 --- a/charts/kube-state-metrics/Chart.yaml +++ b/charts/kube-state-metrics/Chart.yaml @@ -7,7 +7,7 @@ keywords: - prometheus - kubernetes type: application -version: 5.27.0 +version: 5.27.1 appVersion: 2.14.0 home: https://github.com/kubernetes/kube-state-metrics/ sources: diff --git a/charts/kube-state-metrics/values.yaml b/charts/kube-state-metrics/values.yaml index a7b2bdad64f5..ddfdd22fd6b4 100644 --- a/charts/kube-state-metrics/values.yaml +++ b/charts/kube-state-metrics/values.yaml @@ -106,7 +106,7 @@ kubeRBACProxy: image: registry: quay.io repository: brancz/kube-rbac-proxy - tag: v0.18.0 + tag: v0.18.2 sha: "" pullPolicy: IfNotPresent