Merge "Add null check condition in placement deployment manifest"
This commit is contained in:
commit
b1bfc93ac0
@ -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…
x
Reference in New Issue
Block a user