Skip to content

Commit fe418b0

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Replace remaining usage of policy.json"
2 parents 9b270fe + bb0371b commit fe418b0

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

gnocchi/templates/configmap-etc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@ type: Opaque
9696
data:
9797
gnocchi.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.gnocchi | b64enc }}
9898
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
99-
policy.json: {{ toJson .Values.conf.policy | b64enc }}
99+
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
100100
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.apache "key" "wsgi-gnocchi.conf" "format" "Secret" ) | indent 2 }}
101101
{{- end }}

gnocchi/templates/daemonset-metricd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ spec:
8282
subPath: gnocchi.conf
8383
readOnly: true
8484
- name: gnocchi-etc
85-
mountPath: /etc/gnocchi/policy.json
86-
subPath: policy.json
85+
mountPath: /etc/gnocchi/policy.yaml
86+
subPath: policy.yaml
8787
readOnly: true
8888
- name: gnocchi-bin
8989
mountPath: /tmp/gnocchi-metricd.sh

gnocchi/templates/daemonset-statsd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ spec:
8888
subPath: api-paste.ini
8989
readOnly: true
9090
- name: gnocchi-etc
91-
mountPath: /etc/gnocchi/policy.json
92-
subPath: policy.json
91+
mountPath: /etc/gnocchi/policy.yaml
92+
subPath: policy.yaml
9393
readOnly: true
9494
- name: gnocchi-bin
9595
mountPath: /tmp/gnocchi-statsd.sh

gnocchi/templates/deployment-api.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ spec:
105105
readOnly: true
106106
{{- end }}
107107
- name: gnocchi-etc
108-
mountPath: /etc/gnocchi/policy.json
109-
subPath: policy.json
108+
mountPath: /etc/gnocchi/policy.yaml
109+
subPath: policy.yaml
110110
readOnly: true
111111
- name: gnocchi-etc
112112
mountPath: /etc/apache2/conf-enabled/wsgi-gnocchi.conf

watcher/templates/configmap-etc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ data:
8383
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }}
8484
watcher.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.watcher | b64enc }}
8585
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
86-
policy.json: {{ toJson .Values.conf.policy | b64enc }}
86+
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
8787
{{- range $key, $value := $envAll.Values.conf.rally_tests.templates }}
8888
{{ printf "test_template_%d" $key }}: {{ $value.template | b64enc }}
8989
{{- end }}

watcher/templates/deployment-api.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ spec:
9191
subPath: {{ base .Values.conf.watcher.DEFAULT.log_config_append }}
9292
readOnly: true
9393
- name: watcher-etc
94-
mountPath: /etc/watcher/policy.json
95-
subPath: policy.json
94+
mountPath: /etc/watcher/policy.yaml
95+
subPath: policy.yaml
9696
readOnly: true
9797
{{ if $mounts_watcher_api.volumeMounts }}{{ toYaml $mounts_watcher_api.volumeMounts | indent 12 }}{{ end }}
9898
volumes:

0 commit comments

Comments
 (0)