Merge "Add null check condition in placement deployment manifest"

This commit is contained in:
Zuul 2021-01-07 23:00:30 +00:00 committed by Gerrit Code Review
commit b1bfc93ac0
2 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Placement
name: placement
version: 0.1.3
version: 0.1.4
home: https://docs.openstack.org/placement/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Placement/OpenStack_Project_Placement_vertical.png
sources:

View File

@ -97,10 +97,12 @@ spec:
mountPath: /etc/placement/placement.conf
subPath: placement.conf
readOnly: true
{{- if .Values.conf.placement.DEFAULT.log_config_append }}
- name: placement-etc
mountPath: {{ .Values.conf.placement.DEFAULT.log_config_append }}
subPath: {{ base .Values.conf.placement.DEFAULT.log_config_append }}
readOnly: true
{{- end }}
- name: placement-etc
mountPath: /etc/placement/policy.yaml
subPath: policy.yaml