Skip to content

Commit 5a65af3

Browse files
authored
Merge branch 'main' into ksm-user-ns
2 parents 581409d + b3f5174 commit 5a65af3

File tree

66 files changed

+218
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+218
-121
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,13 @@ jobs:
138138
if: >-
139139
github.event.pull_request.head.repo.full_name == github.repository
140140
&& contains(github.event.pull_request.labels.*.name, 'dependencies/auto-merge')
141-
&& (github.actor == 'renovate[bot]' || github.actor == 'helm-charts-renovate-helper[bot]')
141+
&& (github.actor == 'renovate[bot]' || github.actor == 'mend[bot]' || github.actor == 'helm-charts-renovate-helper[bot]')
142142
steps:
143143
# Using a GitHub App token, because GitHub Actions doesn't run on commits from github-actions bot
144144
# Used App:
145145
# https://github.com/organizations/prometheus-community/settings/apps/helm-charts-renovate-helper.
146146
# Ref: https://github.com/prometheus-community/helm-charts/issues/5213.
147-
- uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
147+
- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
148148
id: app-token
149149
with:
150150
app-id: 1179738

.github/workflows/renovate-custom-hooks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
renovate-post-run:
1212
name: Renovate Post Run
1313
runs-on: ubuntu-latest
14-
if: github.actor == 'renovate[bot]'
14+
if: github.actor == 'renovate[bot]' || github.actor == 'mend[bot]'
1515
steps:
1616
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1717
with:
@@ -21,7 +21,7 @@ jobs:
2121
# Used App:
2222
# https://github.com/organizations/prometheus-community/settings/apps/helm-charts-renovate-helper.
2323
# Ref: https://github.com/prometheus-community/helm-charts/issues/5213.
24-
- uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
24+
- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
2525
id: app-token
2626
with:
2727
app-id: 1179738

charts/kube-prometheus-stack/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ name: kube-prometheus-stack
3131
sources:
3232
- https://github.com/prometheus-community/helm-charts
3333
- https://github.com/prometheus-operator/kube-prometheus
34-
version: 77.5.0
34+
version: 77.10.0
3535
# renovate: github=prometheus-operator/prometheus-operator
3636
appVersion: v0.85.0
3737
kubeVersion: ">=1.25.0-0"
@@ -59,11 +59,11 @@ dependencies:
5959
repository: https://prometheus-community.github.io/helm-charts
6060
condition: kubeStateMetrics.enabled
6161
- name: prometheus-node-exporter
62-
version: "4.47.3"
62+
version: "4.48.0"
6363
repository: https://prometheus-community.github.io/helm-charts
6464
condition: nodeExporter.enabled
6565
- name: grafana
66-
version: "9.4.4"
66+
version: "10.0.0"
6767
repository: https://grafana.github.io/helm-charts
6868
condition: grafana.enabled
6969
- name: prometheus-windows-exporter

charts/kube-prometheus-stack/hack/sync_grafana_dashboards.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ def new_representer(dumper, data):
2929

3030
refs = {
3131
# renovate: git-refs=https://github.com/prometheus-operator/kube-prometheus branch=main
32-
'ref.kube-prometheus': 'c79b82818a207c85de6c7efb7eabb8529f23fc25',
32+
'ref.kube-prometheus': '760b786b29edb4aa917e87746cb9e2cab9cf3066',
3333
# renovate: git-refs=https://github.com/kubernetes-monitoring/kubernetes-mixin branch=master
34-
'ref.kubernetes-mixin': '77180e5901fd4c4a822a84722ba5253cb95a6c66',
34+
'ref.kubernetes-mixin': '5dae7f6adf083639934a4a54aef451174dd84370',
3535
# renovate: git-refs=https://github.com/etcd-io/etcd branch=main
36-
'ref.etcd': '0de79070a3e94623e35a73c1d5bfc5992a30d097',
36+
'ref.etcd': 'b7420c571ed13ae55cfd5b041d83210e005d0f78',
3737
}
3838

3939
# Source files list
@@ -132,7 +132,7 @@ def new_representer(dumper, data):
132132
{{ toYaml .Values.grafana.sidecar.dashboards.annotations | indent 4 }}
133133
labels:
134134
{{- if $.Values.grafana.sidecar.dashboards.label }}
135-
{{ $.Values.grafana.sidecar.dashboards.label }}: {{ ternary $.Values.grafana.sidecar.dashboards.labelValue "1" (not (empty $.Values.grafana.sidecar.dashboards.labelValue)) | quote }}
135+
{{ tpl $.Values.grafana.sidecar.dashboards.label $ }}: {{ ((tpl $.Values.grafana.sidecar.dashboards.labelValue $) | default 1) | quote }}
136136
{{- end }}
137137
app: {{ template "kube-prometheus-stack.name" $ }}-grafana
138138
{{ include "kube-prometheus-stack.labels" $ | indent 4 }}

charts/kube-prometheus-stack/hack/sync_prometheus_rules.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ def new_representer(dumper, data):
2929

3030
refs = {
3131
# renovate: git-refs=https://github.com/prometheus-operator/kube-prometheus branch=main
32-
'ref.kube-prometheus': 'c79b82818a207c85de6c7efb7eabb8529f23fc25',
32+
'ref.kube-prometheus': '760b786b29edb4aa917e87746cb9e2cab9cf3066',
3333
# renovate: git-refs=https://github.com/kubernetes-monitoring/kubernetes-mixin branch=master
34-
'ref.kubernetes-mixin': '77180e5901fd4c4a822a84722ba5253cb95a6c66',
34+
'ref.kubernetes-mixin': '5dae7f6adf083639934a4a54aef451174dd84370',
3535
# renovate: git-refs=https://github.com/etcd-io/etcd branch=main
36-
'ref.etcd': '0de79070a3e94623e35a73c1d5bfc5992a30d097',
36+
'ref.etcd': 'b7420c571ed13ae55cfd5b041d83210e005d0f78',
3737
}
3838

3939
# Source files list

charts/kube-prometheus-stack/templates/alertmanager/ingress.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
{{- $servicePort := .Values.alertmanager.ingress.servicePort | default .Values.alertmanager.service.port -}}
66
{{- $routePrefix := list .Values.alertmanager.alertmanagerSpec.routePrefix }}
77
{{- $paths := .Values.alertmanager.ingress.paths | default $routePrefix -}}
8+
{{- $extraPaths := .Values.alertmanager.ingress.extraPaths | default list -}}
89
apiVersion: networking.k8s.io/v1
910
kind: Ingress
1011
metadata:
@@ -31,6 +32,9 @@ spec:
3132
http:
3233
paths:
3334
{{- range $p := $paths }}
35+
{{- with $extraPaths }}
36+
{{- toYaml . | nindent 10 }}
37+
{{- end }}
3438
- path: {{ tpl $p $ }}
3539
pathType: {{ $pathType }}
3640
backend:
@@ -44,6 +48,9 @@ spec:
4448
- http:
4549
paths:
4650
{{- range $p := $paths }}
51+
{{- with $extraPaths }}
52+
{{- toYaml . | nindent 10 }}
53+
{{- end }}
4754
- path: {{ tpl $p $ }}
4855
pathType: {{ $pathType }}
4956
backend:

charts/kube-prometheus-stack/templates/grafana/configmaps-datasources.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
{{- toYaml .Values.grafana.sidecar.datasources.annotations | nindent 4 }}
1010
{{- end }}
1111
labels:
12-
{{ $.Values.grafana.sidecar.datasources.label }}: {{ $.Values.grafana.sidecar.datasources.labelValue | quote }}
12+
{{ tpl $.Values.grafana.sidecar.datasources.label $ }}: {{ (tpl $.Values.grafana.sidecar.datasources.labelValue $) | quote }}
1313
app: {{ template "kube-prometheus-stack.name" $ }}-grafana
1414
{{ include "kube-prometheus-stack.labels" $ | indent 4 }}
1515
data:

charts/kube-prometheus-stack/templates/grafana/dashboards-1.14/alertmanager-overview.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- /*
2-
Generated from 'alertmanager-overview' from https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/c79b82818a207c85de6c7efb7eabb8529f23fc25/manifests/grafana-dashboardDefinitions.yaml
2+
Generated from 'alertmanager-overview' from https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/760b786b29edb4aa917e87746cb9e2cab9cf3066/manifests/grafana-dashboardDefinitions.yaml
33
Do not change in-place! In order to change this file first read following link:
44
https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack/hack
55
*/ -}}
@@ -14,7 +14,7 @@ metadata:
1414
{{ toYaml .Values.grafana.sidecar.dashboards.annotations | indent 4 }}
1515
labels:
1616
{{- if $.Values.grafana.sidecar.dashboards.label }}
17-
{{ $.Values.grafana.sidecar.dashboards.label }}: {{ ternary $.Values.grafana.sidecar.dashboards.labelValue "1" (not (empty $.Values.grafana.sidecar.dashboards.labelValue)) | quote }}
17+
{{ tpl $.Values.grafana.sidecar.dashboards.label $ }}: {{ ((tpl $.Values.grafana.sidecar.dashboards.labelValue $) | default 1) | quote }}
1818
{{- end }}
1919
app: {{ template "kube-prometheus-stack.name" $ }}-grafana
2020
{{ include "kube-prometheus-stack.labels" $ | indent 4 }}

charts/kube-prometheus-stack/templates/grafana/dashboards-1.14/apiserver.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- /*
2-
Generated from 'apiserver' from https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/c79b82818a207c85de6c7efb7eabb8529f23fc25/manifests/grafana-dashboardDefinitions.yaml
2+
Generated from 'apiserver' from https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/760b786b29edb4aa917e87746cb9e2cab9cf3066/manifests/grafana-dashboardDefinitions.yaml
33
Do not change in-place! In order to change this file first read following link:
44
https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack/hack
55
*/ -}}
@@ -14,7 +14,7 @@ metadata:
1414
{{ toYaml .Values.grafana.sidecar.dashboards.annotations | indent 4 }}
1515
labels:
1616
{{- if $.Values.grafana.sidecar.dashboards.label }}
17-
{{ $.Values.grafana.sidecar.dashboards.label }}: {{ ternary $.Values.grafana.sidecar.dashboards.labelValue "1" (not (empty $.Values.grafana.sidecar.dashboards.labelValue)) | quote }}
17+
{{ tpl $.Values.grafana.sidecar.dashboards.label $ }}: {{ ((tpl $.Values.grafana.sidecar.dashboards.labelValue $) | default 1) | quote }}
1818
{{- end }}
1919
app: {{ template "kube-prometheus-stack.name" $ }}-grafana
2020
{{ include "kube-prometheus-stack.labels" $ | indent 4 }}

charts/kube-prometheus-stack/templates/grafana/dashboards-1.14/cluster-total.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- /*
2-
Generated from 'cluster-total' from https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/c79b82818a207c85de6c7efb7eabb8529f23fc25/manifests/grafana-dashboardDefinitions.yaml
2+
Generated from 'cluster-total' from https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/760b786b29edb4aa917e87746cb9e2cab9cf3066/manifests/grafana-dashboardDefinitions.yaml
33
Do not change in-place! In order to change this file first read following link:
44
https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack/hack
55
*/ -}}
@@ -14,7 +14,7 @@ metadata:
1414
{{ toYaml .Values.grafana.sidecar.dashboards.annotations | indent 4 }}
1515
labels:
1616
{{- if $.Values.grafana.sidecar.dashboards.label }}
17-
{{ $.Values.grafana.sidecar.dashboards.label }}: {{ ternary $.Values.grafana.sidecar.dashboards.labelValue "1" (not (empty $.Values.grafana.sidecar.dashboards.labelValue)) | quote }}
17+
{{ tpl $.Values.grafana.sidecar.dashboards.label $ }}: {{ ((tpl $.Values.grafana.sidecar.dashboards.labelValue $) | default 1) | quote }}
1818
{{- end }}
1919
app: {{ template "kube-prometheus-stack.name" $ }}-grafana
2020
{{ include "kube-prometheus-stack.labels" $ | indent 4 }}

0 commit comments

Comments
 (0)