Skip to content

Commit 07885e9

Browse files
authored
Merge branch 'main' into kps-add-sts-label
Signed-off-by: Jan-Otto Kröpke <[email protected]>
2 parents 62761bc + a8c339f commit 07885e9

File tree

85 files changed

+1140
-407
lines changed

Some content is hidden

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

85 files changed

+1140
-407
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
private-key: ${{ secrets.APP_RENOVATE_HELPER_PRIVATE_KEY }}
152152

153153
- name: Approve PR
154-
run:
154+
run: |
155155
gh pr review ${{ github.event.pull_request.number }} --approve --repo "${{ github.repository }}"
156156
gh pr merge ${{ github.event.pull_request.number }} --admin --squash --repo "${{ github.repository }}" --match-head-commit "${{ github.event.pull_request.head.sha }}" --delete-branch
157157
env:

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363
GITHUB_HEAD_REF: ${{ github.head_ref }}
6464
#language=bash
6565
run: |
66+
set -x
67+
6668
# Define the target directory
6769
TARGET_DIR="$CHART"
6870
@@ -92,10 +94,14 @@ jobs:
9294
9395
# Add additions (new or modified files)
9496
for file in $MODIFIED_FILES; do
95-
BASE64_CONTENT=$(base64 -w 0 <"$file") # Encode file content
96-
jq --arg path "$file" --arg content "$BASE64_CONTENT" \
97-
'.additions += [{"path": $path, "contents": $content}]' "$FILE_CHANGES_JSON_FILE" > "$FILE_CHANGES_JSON_FILE.tmp"
97+
TMP_CONTENT_FILE=$(mktemp)
98+
base64 -w 0 <"$file" > "$TMP_CONTENT_FILE"
99+
100+
jq --arg path "$file" --rawfile content "$TMP_CONTENT_FILE" \
101+
'.additions += [{"path": $path, "contents": $content }]' "$FILE_CHANGES_JSON_FILE" > "$FILE_CHANGES_JSON_FILE.tmp"
102+
98103
mv "$FILE_CHANGES_JSON_FILE.tmp" "$FILE_CHANGES_JSON_FILE"
104+
rm "$TMP_CONTENT_FILE"
99105
done
100106
101107
# Create a temporary file for the final JSON payload

charts/kube-prometheus-stack/Chart.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ name: kube-prometheus-stack
3131
sources:
3232
- https://github.com/prometheus-community/helm-charts
3333
- https://github.com/prometheus-operator/kube-prometheus
34-
version: 73.2.0
34+
version: 74.1.0
3535

3636
# Please do not add a renovate hint here, since appVersion updates involves manual tasks
37-
appVersion: v0.82.2
37+
appVersion: v0.83.0
3838
kubeVersion: ">=1.25.0-0"
3939
home: https://github.com/prometheus-operator/kube-prometheus
4040
keywords:
@@ -56,15 +56,15 @@ dependencies:
5656
version: "0.0.0"
5757
condition: crds.enabled
5858
- name: kube-state-metrics
59-
version: "5.33.*"
59+
version: "5.36.0"
6060
repository: https://prometheus-community.github.io/helm-charts
6161
condition: kubeStateMetrics.enabled
6262
- name: prometheus-node-exporter
63-
version: "4.46.1"
63+
version: "4.47.0"
6464
repository: https://prometheus-community.github.io/helm-charts
6565
condition: nodeExporter.enabled
6666
- name: grafana
67-
version: "9.2.1"
67+
version: "9.2.2"
6868
repository: https://grafana.github.io/helm-charts
6969
condition: grafana.enabled
7070
- name: prometheus-windows-exporter

charts/kube-prometheus-stack/UPGRADE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Upgrade
22

3+
## From 73.x to 74.x
4+
5+
This version upgrades Prometheus-Operator to v0.83.0
6+
Since [68.4.0](https://github.com/prometheus-community/helm-charts/pull/5175) it is also possible to use `crds.upgradeJob.enabled` for upgrading the CRDs.
7+
For traditional upgrades, please run these commands to update the CRDs before applying the upgrade.
8+
9+
```console
10+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.83.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
11+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.83.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml
12+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.83.0/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml
13+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.83.0/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml
14+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.83.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusagents.yaml
15+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.83.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml
16+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.83.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
17+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.83.0/example/prometheus-operator-crd/monitoring.coreos.com_scrapeconfigs.yaml
18+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.83.0/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
19+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.83.0/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml
20+
```
21+
322
## From 72.x to 73.x
423

524
This version removes support for deprecated K8s API versions for `Ingress` resources and associated fields.

charts/kube-prometheus-stack/charts/crds/crds/crd-alertmanagerconfigs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.82.2/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
1+
# https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.83.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
22
---
33
apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
controller-gen.kubebuilder.io/version: v0.17.2
8-
operator.prometheus.io/version: 0.82.2
7+
controller-gen.kubebuilder.io/version: v0.18.0
8+
operator.prometheus.io/version: 0.83.0
99
name: alertmanagerconfigs.monitoring.coreos.com
1010
spec:
1111
group: monitoring.coreos.com

0 commit comments

Comments
 (0)