Merge "Replace remaining usage of policy.json"

This commit is contained in:
Zuul
2025-12-18 19:53:44 +00:00
committed by Gerrit Code Review
6 changed files with 10 additions and 10 deletions

View File

@@ -96,6 +96,6 @@ type: Opaque
data:
gnocchi.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.gnocchi | b64enc }}
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
policy.json: {{ toJson .Values.conf.policy | b64enc }}
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.apache "key" "wsgi-gnocchi.conf" "format" "Secret" ) | indent 2 }}
{{- end }}

View File

@@ -82,8 +82,8 @@ spec:
subPath: gnocchi.conf
readOnly: true
- name: gnocchi-etc
mountPath: /etc/gnocchi/policy.json
subPath: policy.json
mountPath: /etc/gnocchi/policy.yaml
subPath: policy.yaml
readOnly: true
- name: gnocchi-bin
mountPath: /tmp/gnocchi-metricd.sh

View File

@@ -88,8 +88,8 @@ spec:
subPath: api-paste.ini
readOnly: true
- name: gnocchi-etc
mountPath: /etc/gnocchi/policy.json
subPath: policy.json
mountPath: /etc/gnocchi/policy.yaml
subPath: policy.yaml
readOnly: true
- name: gnocchi-bin
mountPath: /tmp/gnocchi-statsd.sh

View File

@@ -105,8 +105,8 @@ spec:
readOnly: true
{{- end }}
- name: gnocchi-etc
mountPath: /etc/gnocchi/policy.json
subPath: policy.json
mountPath: /etc/gnocchi/policy.yaml
subPath: policy.yaml
readOnly: true
- name: gnocchi-etc
mountPath: /etc/apache2/conf-enabled/wsgi-gnocchi.conf

View File

@@ -83,7 +83,7 @@ data:
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }}
watcher.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.watcher | b64enc }}
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
policy.json: {{ toJson .Values.conf.policy | b64enc }}
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
{{- range $key, $value := $envAll.Values.conf.rally_tests.templates }}
{{ printf "test_template_%d" $key }}: {{ $value.template | b64enc }}
{{- end }}

View File

@@ -91,8 +91,8 @@ spec:
subPath: {{ base .Values.conf.watcher.DEFAULT.log_config_append }}
readOnly: true
- name: watcher-etc
mountPath: /etc/watcher/policy.json
subPath: policy.json
mountPath: /etc/watcher/policy.yaml
subPath: policy.yaml
readOnly: true
{{ if $mounts_watcher_api.volumeMounts }}{{ toYaml $mounts_watcher_api.volumeMounts | indent 12 }}{{ end }}
volumes: