Skip to content

Commit 48cabb6

Browse files
authored
fix(thanos): template line return fix (#1185)
* fix templating line returns * revert test * fix value types
1 parent eafaee1 commit 48cabb6

File tree

13 files changed

+21
-13
lines changed

13 files changed

+21
-13
lines changed

thanos/charts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ maintainers:
1111
name: thanos
1212
sources:
1313
- https://github.com/cloudoperators/greenhouse-extensions
14-
version: 0.7.0
14+
version: 0.7.1
1515
keywords:
1616
- thanos
1717
- storage

thanos/charts/ci/test-values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ blackboxExporter:
66

77
thanos:
88
query:
9+
serviceLabels:
10+
testServiceLabels: "true"
11+
deploymentLabels:
12+
testDeploymentLabels: "true"
13+
persesDatasource:
14+
create: "true"
15+
selector:
16+
persesDatasourceSelector: test
917
stores:
1018
- prometheus-operated:10901
1119
- prometheus-operated:10901

thanos/charts/templates/compactor/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
{{- include "plugin.labels" . | nindent 4 }}
77
{{- include "thanos.labels" . | nindent 4 }}
88
{{- if .Values.thanos.compactor.deploymentLabels }}
9-
{{ toYaml .Values.thanos.compactor.deploymentLabels | nindent 4 }}
9+
{{- toYaml .Values.thanos.compactor.deploymentLabels | nindent 4 }}
1010
{{- end }}
1111
name: {{ include "release.name" . }}-compactor
1212
spec:

thanos/charts/templates/compactor/pvc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
{{- include "plugin.labels" . | nindent 4 }}
1111
{{- include "thanos.labels" . | nindent 4 }}
1212
{{- if .Values.thanos.compactor.volume.labels }}
13-
{{ toYaml .Values.thanos.compactor.volume.labels | nindent 4 }}
13+
{{- toYaml .Values.thanos.compactor.volume.labels | nindent 4 }}
1414
{{- end }}
1515
name: {{ include "release.name" . }}-compactor
1616
spec:

thanos/charts/templates/compactor/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
{{- include "plugin.labels" . | nindent 4 }}
1111
{{- include "thanos.labels" . | nindent 4 }}
1212
{{- if .Values.thanos.compactor.serviceLabels }}
13-
{{ toYaml .Values.thanos.compactor.serviceLabels | nindent 4 }}
13+
{{- toYaml .Values.thanos.compactor.serviceLabels | nindent 4 }}
1414
{{- end }}
1515
name: {{ include "release.name" . }}-compactor
1616
spec:

thanos/charts/templates/query/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
{{- include "plugin.labels" . | nindent 4 }}
77
{{- include "thanos.labels" . | nindent 4 }}
88
{{- if .Values.thanos.query.deploymentLabels }}
9-
{{ toYaml .Values.thanos.query.deploymentLabels | nindent 4 }}
9+
{{- toYaml .Values.thanos.query.deploymentLabels | nindent 4 }}
1010
{{- end }}
1111
name: {{ include "release.name" . }}-query
1212
spec:

thanos/charts/templates/query/sd-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
{{- include "plugin.labels" . | nindent 4 }}
88
{{- include "thanos.labels" . | nindent 4 }}
99
{{- if .Values.thanos.query.deploymentLabels }}
10-
{{ toYaml .Values.thanos.query.deploymentLabels | nindent 4 }}
10+
{{- toYaml .Values.thanos.query.deploymentLabels | nindent 4 }}
1111
{{- end }}
1212
data:
1313
endpoint-targets.yaml: |-

thanos/charts/templates/query/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
{{- include "plugin.labels" . | nindent 4 }}
1111
{{- include "thanos.labels" . | nindent 4 }}
1212
{{- if .Values.thanos.query.serviceLabels }}
13-
{{ toYaml .Values.thanos.query.serviceLabels | nindent 4 }}
13+
{{- toYaml .Values.thanos.query.serviceLabels | nindent 4 }}
1414
{{- end }}
1515
name: {{ include "release.name" . }}-query
1616
spec:

thanos/charts/templates/ruler/ruler.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
{{- include "plugin.labels" . | nindent 4 }}
99
{{- include "thanos.labels" . | nindent 4 }}
1010
{{- if .Values.thanos.ruler.labels }}
11-
{{ toYaml .Values.thanos.ruler.labels | nindent 4 }}
11+
{{- toYaml .Values.thanos.ruler.labels | nindent 4 }}
1212
{{- end }}
1313
spec:
1414
affinity:

thanos/charts/templates/ruler/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
{{- include "plugin.labels" . | nindent 4 }}
1111
{{- include "thanos.labels" . | nindent 4 }}
1212
{{- if .Values.thanos.ruler.serviceLabels }}
13-
{{ toYaml .Values.thanos.ruler.serviceLabels | nindent 4 }}
13+
{{- toYaml .Values.thanos.ruler.serviceLabels | nindent 4 }}
1414
{{- end }}
1515
name: {{ include "release.name" . }}-ruler
1616
spec:

0 commit comments

Comments
 (0)