Merge "Replace remaining usage of policy.json"
This commit is contained in:
@@ -96,6 +96,6 @@ type: Opaque
|
|||||||
data:
|
data:
|
||||||
gnocchi.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.gnocchi | b64enc }}
|
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 }}
|
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 }}
|
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.apache "key" "wsgi-gnocchi.conf" "format" "Secret" ) | indent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -82,8 +82,8 @@ spec:
|
|||||||
subPath: gnocchi.conf
|
subPath: gnocchi.conf
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: gnocchi-etc
|
- name: gnocchi-etc
|
||||||
mountPath: /etc/gnocchi/policy.json
|
mountPath: /etc/gnocchi/policy.yaml
|
||||||
subPath: policy.json
|
subPath: policy.yaml
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: gnocchi-bin
|
- name: gnocchi-bin
|
||||||
mountPath: /tmp/gnocchi-metricd.sh
|
mountPath: /tmp/gnocchi-metricd.sh
|
||||||
|
|||||||
@@ -88,8 +88,8 @@ spec:
|
|||||||
subPath: api-paste.ini
|
subPath: api-paste.ini
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: gnocchi-etc
|
- name: gnocchi-etc
|
||||||
mountPath: /etc/gnocchi/policy.json
|
mountPath: /etc/gnocchi/policy.yaml
|
||||||
subPath: policy.json
|
subPath: policy.yaml
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: gnocchi-bin
|
- name: gnocchi-bin
|
||||||
mountPath: /tmp/gnocchi-statsd.sh
|
mountPath: /tmp/gnocchi-statsd.sh
|
||||||
|
|||||||
@@ -105,8 +105,8 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: gnocchi-etc
|
- name: gnocchi-etc
|
||||||
mountPath: /etc/gnocchi/policy.json
|
mountPath: /etc/gnocchi/policy.yaml
|
||||||
subPath: policy.json
|
subPath: policy.yaml
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: gnocchi-etc
|
- name: gnocchi-etc
|
||||||
mountPath: /etc/apache2/conf-enabled/wsgi-gnocchi.conf
|
mountPath: /etc/apache2/conf-enabled/wsgi-gnocchi.conf
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ data:
|
|||||||
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }}
|
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }}
|
||||||
watcher.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.watcher | 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 }}
|
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 }}
|
{{- range $key, $value := $envAll.Values.conf.rally_tests.templates }}
|
||||||
{{ printf "test_template_%d" $key }}: {{ $value.template | b64enc }}
|
{{ printf "test_template_%d" $key }}: {{ $value.template | b64enc }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -91,8 +91,8 @@ spec:
|
|||||||
subPath: {{ base .Values.conf.watcher.DEFAULT.log_config_append }}
|
subPath: {{ base .Values.conf.watcher.DEFAULT.log_config_append }}
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: watcher-etc
|
- name: watcher-etc
|
||||||
mountPath: /etc/watcher/policy.json
|
mountPath: /etc/watcher/policy.yaml
|
||||||
subPath: policy.json
|
subPath: policy.yaml
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{ if $mounts_watcher_api.volumeMounts }}{{ toYaml $mounts_watcher_api.volumeMounts | indent 12 }}{{ end }}
|
{{ if $mounts_watcher_api.volumeMounts }}{{ toYaml $mounts_watcher_api.volumeMounts | indent 12 }}{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user