Skip to content

Commit 6a323b9

Browse files
committed
fix: correct indents for configmap
Signed-off-by: Gerard Vanloo <gerard.vanloo@ibm.com>
1 parent 258ab2e commit 6a323b9

File tree

7 files changed

+13
-7
lines changed

7 files changed

+13
-7
lines changed

sre/roles/recorders/tasks/install_alerts_recorders_prometheus.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{{
2727
recorders_prometheus_env_vars +
2828
[{
29-
'name': PROMETHEUS_TOKEN,
29+
'name': 'PROMETHEUS_TOKEN',
3030
'valueFrom': {
3131
'secretKeyRef': {
3232
'name': 'alerts-recorder-prometheus-token',

sre/roles/recorders/tasks/uninstall_alerts_recorders_prometheus.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
loop_var: file
7777
when:
7878
- recorders_storage.local is defined
79+
- recorders_files is defined
7980

8081
- name: Upload exported data to S3 bucket
8182
amazon.aws.s3_object:
@@ -90,3 +91,4 @@
9091
loop_var: file
9192
when:
9293
- recorders_storage.s3 is defined
94+
- recorders_files is defined

sre/roles/recorders/tasks/uninstall_topology_recorders_kubernetes.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
loop_var: file
6262
when:
6363
- recorders_storage.local is defined
64+
- recorders_files is defined
6465

6566
- name: Upload exported data to S3 bucket
6667
amazon.aws.s3_object:
@@ -75,3 +76,4 @@
7576
loop_var: file
7677
when:
7778
- recorders_storage.s3 is defined
79+
- recorders_files is defined

sre/roles/recorders/tasks/uninstall_traces_recorders_jaeger.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
loop_var: file
6262
when:
6363
- recorders_storage.local is defined
64+
- recorders_files is defined
6465

6566
- name: Upload exported data to S3 bucket
6667
amazon.aws.s3_object:
@@ -75,3 +76,4 @@
7576
loop_var: file
7677
when:
7778
- recorders_storage.s3 is defined
79+
- recorders_files is defined

sre/roles/recorders/templates/alerts/prometheus/configmap.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ metadata:
88
name: alerts-recorder-prometheus-scripts
99
data:
1010
deps: |
11-
{{ requirements_file_contents }}
11+
{{ requirements_file_contents | indent(width=4) }}
1212
script: |
13-
{{ python_script_file_contents }}
13+
{{ python_script_file_contents | indent(width=4) }}

sre/roles/recorders/templates/topology/kubernetes/configmap.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ metadata:
88
name: topology-recorder-kubernetes-scripts
99
data:
1010
deps: |
11-
{{ requirements_file_contents }}
11+
{{ requirements_file_contents | indent(width=4) }}
1212
script: |
13-
{{ python_script_file_contents }}
13+
{{ python_script_file_contents | indent(width=4) }}

sre/roles/recorders/templates/traces/jaeger/configmap.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ metadata:
88
name: traces-recorder-jaeger-scripts
99
data:
1010
deps: |
11-
{{ requirements_file_contents }}
11+
{{ requirements_file_contents | indent(width=4) }}
1212
script: |
13-
{{ python_script_file_contents }}
13+
{{ python_script_file_contents | indent(width=4) }}

0 commit comments

Comments
 (0)