Add a default mode to all charts missing it

This ps adds missing defaultMode to any chart missing it
on the configmap for volumes

Change-Id: If996d137fe1f4f5547dcbf43d9883924f192db57
This commit is contained in:
Darla Ahlert 2017-08-11 10:12:38 -05:00
parent 920cb9aae5
commit afeb03879b
7 changed files with 11 additions and 0 deletions

View File

@ -57,6 +57,7 @@ spec:
- name: cinder-etc
configMap:
name: cinder-etc
defaultMode: 0444
- name: cinder-bin
configMap:
name: cinder-bin

View File

@ -56,6 +56,7 @@ spec:
- name: horizon-etc
configMap:
name: horizon-etc
defaultMode: 0444
- name: horizon-bin
configMap:
name: horizon-bin

View File

@ -77,9 +77,11 @@ spec:
- name: keystone-etc
configMap:
name: keystone-etc
defaultMode: 0444
- name: keystone-bin
configMap:
name: keystone-bin
defaultMode: 0555
{{- if $mounts_keystone_credential_rotate.volumes }}{{ toYaml $mounts_keystone_credential_rotate.volumes | indent 10 }}{{ end }}
{{- end }}
{{- end }}

View File

@ -75,9 +75,11 @@ spec:
- name: keystone-etc
configMap:
name: keystone-etc
defaultMode: 0444
- name: keystone-bin
configMap:
name: keystone-bin
defaultMode: 0555
{{- if $mounts_keystone_fernet_rotate.volumes }}{{ toYaml $mounts_keystone_fernet_rotate.volumes | indent 10 }}{{ end }}
{{- end }}
{{- end }}

View File

@ -70,8 +70,10 @@ spec:
- name: keystone-etc
configMap:
name: keystone-etc
defaultMode: 0444
- name: keystone-bin
configMap:
name: keystone-bin
defaultMode: 0555
{{- if $mounts_keystone_credential_setup.volumes }}{{ toYaml $mounts_keystone_credential_setup.volumes | indent 6 }}{{ end }}
{{- end }}

View File

@ -71,9 +71,11 @@ spec:
- name: keystone-etc
configMap:
name: keystone-etc
defaultMode: 0444
- name: keystone-bin
configMap:
name: keystone-bin
defaultMode: 0555
{{- if $mounts_keystone_fernet_setup.volumes }}{{ toYaml $mounts_keystone_fernet_setup.volumes | indent 6 }}{{ end }}
{{- end }}
{{- end }}

View File

@ -92,6 +92,7 @@ spec:
- name: nova-etc
configMap:
name: nova-etc
defaultMode: 0444
- name: pod-shared
emptyDir: {}
{{- if $mounts_nova_novncproxy.volumes }}{{ toYaml $mounts_nova_novncproxy.volumes | indent 8 }}{{ end }}