Heat: Make it optional to use log_config_append option
This PS enables the use of simple logging options if desired. Change-Id: I0278cefeaa46a39a893ba1fdc9f4c4b633a8866b Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
parent
229db2f155
commit
3f83d6978c
@ -70,10 +70,12 @@ spec:
|
||||
mountPath: /etc/heat/heat.conf
|
||||
subPath: heat.conf
|
||||
readOnly: true
|
||||
{{ if .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
- name: heat-etc
|
||||
mountPath: {{ .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
subPath: {{ base .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
readOnly: true
|
||||
{{ end }}
|
||||
{{ if $mounts_heat_engine_cleaner.volumeMounts }}{{ toYaml $mounts_heat_engine_cleaner.volumeMounts | indent 14 }}{{ end }}
|
||||
volumes:
|
||||
- name: etcheat
|
||||
|
@ -68,10 +68,12 @@ spec:
|
||||
mountPath: /etc/heat/heat.conf
|
||||
subPath: heat.conf
|
||||
readOnly: true
|
||||
{{ if .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
- name: heat-etc
|
||||
mountPath: {{ .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
subPath: {{ base .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
readOnly: true
|
||||
{{ end }}
|
||||
{{ if $mounts_heat_purge_deleted.volumeMounts }}{{ toYaml $mounts_heat_purge_deleted.volumeMounts | indent 14 }}{{ end }}
|
||||
volumes:
|
||||
- name: etcheat
|
||||
|
@ -90,10 +90,12 @@ spec:
|
||||
mountPath: /etc/heat/heat.conf
|
||||
subPath: heat.conf
|
||||
readOnly: true
|
||||
{{ if .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
- name: heat-etc
|
||||
mountPath: {{ .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
subPath: {{ base .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
readOnly: true
|
||||
{{ end }}
|
||||
- name: heat-etc
|
||||
mountPath: /etc/heat/api-paste.ini
|
||||
subPath: api-paste.ini
|
||||
|
@ -90,10 +90,12 @@ spec:
|
||||
mountPath: /etc/heat/heat.conf
|
||||
subPath: heat.conf
|
||||
readOnly: true
|
||||
{{ if .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
- name: heat-etc
|
||||
mountPath: {{ .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
subPath: {{ base .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
readOnly: true
|
||||
{{ end }}
|
||||
- name: heat-etc
|
||||
mountPath: /etc/heat/api-paste.ini
|
||||
subPath: api-paste.ini
|
||||
|
@ -86,10 +86,12 @@ spec:
|
||||
mountPath: /etc/heat/heat.conf
|
||||
subPath: heat.conf
|
||||
readOnly: true
|
||||
{{ if .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
- name: heat-etc
|
||||
mountPath: {{ .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
subPath: {{ base .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
readOnly: true
|
||||
{{ end }}
|
||||
- name: heat-etc
|
||||
mountPath: /etc/heat/api-paste.ini
|
||||
subPath: api-paste.ini
|
||||
|
@ -88,10 +88,12 @@ spec:
|
||||
mountPath: /etc/heat/heat.conf
|
||||
subPath: heat.conf
|
||||
readOnly: true
|
||||
{{ if .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
- name: heat-etc
|
||||
mountPath: {{ .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
subPath: {{ base .Values.conf.heat.DEFAULT.log_config_append }}
|
||||
readOnly: true
|
||||
{{ end }}
|
||||
- name: heat-etc
|
||||
mountPath: /etc/heat/policy.json
|
||||
subPath: policy.json
|
||||
|
Loading…
x
Reference in New Issue
Block a user