Skip to content

Commit da9da20

Browse files
authored
feat(thanos) automate Thanos version update with renovate (#639)
* remove Chart.appVersion references + remove License comments
1 parent 2dab3e4 commit da9da20

File tree

10 files changed

+8
-28
lines changed

10 files changed

+8
-28
lines changed

thanos/charts/Chart.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ maintainers:
1111
name: thanos
1212
sources:
1313
- https://github.com/cloudoperators/greenhouse-extensions
14-
version: 0.2.2
15-
# thanos-release
16-
appVersion: v0.37.2
14+
version: 0.2.3
1715
keywords:
1816
- thanos
1917
- storage

thanos/charts/templates/compactor-svc.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors
2-
# SPDX-License-Identifier: Apache-2.0
3-
41
{{ if and .Values.thanos.compactor.enabled (not .Values.thanos.query.standalone) }}
52
apiVersion: v1
63
kind: Service

thanos/charts/templates/compactor.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors
2-
# SPDX-License-Identifier: Apache-2.0
3-
41
{{ if and .Values.thanos.compactor.enabled (not .Values.thanos.query.standalone) }}
52
apiVersion: apps/v1
63
kind: Deployment
@@ -55,7 +52,7 @@ spec:
5552
{{- range .Values.thanos.compactor.additionalArgs }}
5653
- {{ . }}
5754
{{- end }}
58-
image: "{{ .Values.thanos.image.repository }}:{{ .Values.thanos.image.tag | default .Chart.AppVersion }}"
55+
image: "{{ .Values.thanos.image.repository }}:{{ .Values.thanos.image.tag }}"
5956
imagePullPolicy: {{ default "IfNotPresent" .Values.thanos.image.pullPolicy }}
6057
name: compactor
6158
ports:

thanos/charts/templates/pvc.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors
2-
# SPDX-License-Identifier: Apache-2.0
3-
41
{{ if and .Values.thanos.compactor.enabled (not .Values.thanos.query.standalone) }}
52
apiVersion: v1
63
kind: PersistentVolumeClaim

thanos/charts/templates/query.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ spec:
6565
- --store=prometheus-operated:10901
6666
- --store={{ include "release.name" . }}-store:{{ default "10901" .Values.thanos.grpcAddress }}
6767
{{- end }}
68-
image: "{{ .Values.thanos.image.repository }}:{{ .Values.thanos.image.tag | default .Chart.AppVersion }}"
68+
image: "{{ .Values.thanos.image.repository }}:{{ .Values.thanos.image.tag }}"
6969
imagePullPolicy: {{ default "IfNotPresent" .Values.thanos.image.pullPolicy }}
7070
livenessProbe:
7171
failureThreshold: 2

thanos/charts/templates/ruler/ruler.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors
2-
# SPDX-License-Identifier: Apache-2.0
3-
41
{{ if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.thanos.ruler.enabled (not .Values.thanos.query.standalone) }}
52
apiVersion: monitoring.coreos.com/v1
63
kind: ThanosRuler
74
metadata:
85
# FullName = thanos-ruler-<name>
96
name: {{ include "release.name" . }}
107
spec:
11-
image: "{{ .Values.thanos.image.repository }}:{{ .Values.thanos.image.tag | default .Chart.AppVersion }}"
8+
image: "{{ .Values.thanos.image.repository }}:{{ .Values.thanos.image.tag }}"
129
{{- if .Values.thanos.ruler.externalPrefix }}
1310
externalPrefix: {{ .Values.thanos.ruler.externalPrefix }}
1411
routePrefix: {{ .Values.thanos.ruler.externalPrefix }}

thanos/charts/templates/store-svc.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors
2-
# SPDX-License-Identifier: Apache-2.0
3-
41
{{ if and .Values.thanos.store.enabled (not .Values.thanos.query.standalone) }}
52
apiVersion: v1
63
kind: Service

thanos/charts/templates/store.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors
2-
# SPDX-License-Identifier: Apache-2.0
3-
41
{{ if and .Values.thanos.store.enabled (not .Values.thanos.query.standalone) }}
52
apiVersion: apps/v1
63
kind: Deployment
@@ -50,7 +47,7 @@ spec:
5047
{{- range .Values.thanos.store.additionalArgs }}
5148
- {{ . }}
5249
{{- end }}
53-
image: "{{ .Values.thanos.image.repository }}:{{ .Values.thanos.image.tag | default .Chart.AppVersion }}"
50+
image: "{{ .Values.thanos.image.repository }}:{{ .Values.thanos.image.tag }}"
5451
imagePullPolicy: {{ default "IfNotPresent" .Values.thanos.image.pullPolicy }}
5552
livenessProbe:
5653
failureThreshold: 2

thanos/charts/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ thanos:
1212
image:
1313
repository: quay.io/thanos/thanos
1414
# defaults to .Chart.appVersion
15-
tag:
15+
tag: v0.37.2
1616
# defaults to IfNotPresent
1717
pullPolicy:
1818
grpcAddress:

thanos/plugindefinition.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ kind: PluginDefinition
66
metadata:
77
name: thanos
88
spec:
9-
version: 0.3.2
9+
version: 0.3.3
1010
description: thanos
1111
helmChart:
1212
name: thanos
1313
repository: "oci://ghcr.io/cloudoperators/greenhouse-extensions/charts"
14-
version: 0.2.2
14+
version: 0.2.3
1515
options:
1616
- default: null
1717
description: CLI param for Thanos Query

0 commit comments

Comments
 (0)