Add null check condition in placement deployment manifest
Checking log_config_append vaule is missing in deloyment template for Placement. Change-Id: I0f2a0ca7d26320d599fac69ee091ca34b455c481
This commit is contained in:
parent
37e71b3652
commit
d5882e97ff
@ -16,7 +16,7 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Placement
|
description: OpenStack-Helm Placement
|
||||||
name: placement
|
name: placement
|
||||||
version: 0.1.3
|
version: 0.1.4
|
||||||
home: https://docs.openstack.org/placement/latest/
|
home: https://docs.openstack.org/placement/latest/
|
||||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Placement/OpenStack_Project_Placement_vertical.png
|
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Placement/OpenStack_Project_Placement_vertical.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -97,10 +97,12 @@ spec:
|
|||||||
mountPath: /etc/placement/placement.conf
|
mountPath: /etc/placement/placement.conf
|
||||||
subPath: placement.conf
|
subPath: placement.conf
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
{{- if .Values.conf.placement.DEFAULT.log_config_append }}
|
||||||
- name: placement-etc
|
- name: placement-etc
|
||||||
mountPath: {{ .Values.conf.placement.DEFAULT.log_config_append }}
|
mountPath: {{ .Values.conf.placement.DEFAULT.log_config_append }}
|
||||||
subPath: {{ base .Values.conf.placement.DEFAULT.log_config_append }}
|
subPath: {{ base .Values.conf.placement.DEFAULT.log_config_append }}
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
{{- end }}
|
||||||
- name: placement-etc
|
- name: placement-etc
|
||||||
mountPath: /etc/placement/policy.yaml
|
mountPath: /etc/placement/policy.yaml
|
||||||
subPath: policy.yaml
|
subPath: policy.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user