Fix for appending custom volumes

Before this change, there was no ability to append custom volume for
any of the services. The reason was a missing new line character, so
the templates were formatted like this:
- name: pod-shared
  mountPath: /tmp/pod-shared - mountPath: /tmp/test2
  name: test2

Apart from that, for some of the services (mostly job-bootstrap) invalid
indentation for custom volumes (and their mounts) was set.

Closes-Bug: 1712745
Change-Id: Ib57c76a34c0e28ad9e67ea47d1fc250b17711a42
Signed-off-by: Mateusz Blaszkowski <mateusz.blaszkowski@intel.com>
This commit is contained in:
Mateusz Blaszkowski 2017-08-24 02:54:28 -04:00
parent 87723a700c
commit fc9677f718
56 changed files with 113 additions and 113 deletions

View File

@ -87,7 +87,7 @@ spec:
mountPath: /tmp/barbican.sh mountPath: /tmp/barbican.sh
subPath: barbican.sh subPath: barbican.sh
readOnly: true readOnly: true
{{- if $mounts_barbican_api.volumeMounts }}{{ toYaml $mounts_barbican_api.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_barbican_api.volumeMounts }}{{ toYaml $mounts_barbican_api.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: etcbarbican - name: etcbarbican
emptyDir: {} emptyDir: {}
@ -99,5 +99,5 @@ spec:
configMap: configMap:
name: barbican-bin name: barbican-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_barbican_api.volumes }}{{ toYaml $mounts_barbican_api.volumes | indent 8 }}{{ end }} {{ if $mounts_barbican_api.volumes }}{{ toYaml $mounts_barbican_api.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -52,12 +52,12 @@ spec:
mountPath: /tmp/bootstrap.sh mountPath: /tmp/bootstrap.sh
subPath: bootstrap.sh subPath: bootstrap.sh
readOnly: true readOnly: true
{{- if $mounts_barbican_bootstrap.volumeMounts }}{{ toYaml $mounts_barbican_bootstrap.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_barbican_bootstrap.volumeMounts }}{{ toYaml $mounts_barbican_bootstrap.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: barbican-bin - name: barbican-bin
configMap: configMap:
name: barbican-bin name: barbican-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_barbican_bootstrap.volumes }}{{ toYaml $mounts_barbican_bootstrap.volumes | indent 6 }}{{ end }} {{ if $mounts_barbican_bootstrap.volumes }}{{ toYaml $mounts_barbican_bootstrap.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -43,10 +43,10 @@ spec:
mountPath: /tmp/barbican-test.sh mountPath: /tmp/barbican-test.sh
subPath: barbican-test.sh subPath: barbican-test.sh
readOnly: true readOnly: true
{{- if $mounts_barbican_tests.volumeMounts }}{{ toYaml $mounts_barbican_tests.volumeMounts | indent 8 }}{{ end }} {{ if $mounts_barbican_tests.volumeMounts }}{{ toYaml $mounts_barbican_tests.volumeMounts | indent 8 }}{{ end }}
volumes: volumes:
- name: barbican-bin - name: barbican-bin
configMap: configMap:
name: barbican-bin name: barbican-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_barbican_tests.volumes }}{{ toYaml $mounts_barbican_tests.volumes | indent 4 }}{{ end }} {{ if $mounts_barbican_tests.volumes }}{{ toYaml $mounts_barbican_tests.volumes | indent 4 }}{{ end }}

View File

@ -79,7 +79,7 @@ spec:
mountPath: /etc/cinder/policy.json mountPath: /etc/cinder/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_cinder_api.volumeMounts }}{{ toYaml $mounts_cinder_api.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_cinder_api.volumeMounts }}{{ toYaml $mounts_cinder_api.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: cinder-bin - name: cinder-bin
configMap: configMap:
@ -89,5 +89,5 @@ spec:
configMap: configMap:
name: cinder-etc name: cinder-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_cinder_api.volumes }}{{ toYaml $mounts_cinder_api.volumes | indent 8 }}{{ end }} {{ if $mounts_cinder_api.volumes }}{{ toYaml $mounts_cinder_api.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -86,7 +86,7 @@ spec:
subPath: key subPath: key
readOnly: true readOnly: true
{{- end -}} {{- end -}}
{{- if $mounts_cinder_backup.volumeMounts }}{{ toYaml $mounts_cinder_backup.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_cinder_backup.volumeMounts }}{{ toYaml $mounts_cinder_backup.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: cinder-etc - name: cinder-etc
configMap: configMap:
@ -107,5 +107,5 @@ spec:
secret: secret:
secretName: pvc-ceph-client-key secretName: pvc-ceph-client-key
{{ end }} {{ end }}
{{- if $mounts_cinder_backup.volumes }}{{ toYaml $mounts_cinder_backup.volumes | indent 8 }}{{ end }} {{ if $mounts_cinder_backup.volumes }}{{ toYaml $mounts_cinder_backup.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -65,7 +65,7 @@ spec:
mountPath: /etc/cinder/policy.json mountPath: /etc/cinder/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_cinder_scheduler.volumeMounts }}{{ toYaml $mounts_cinder_scheduler.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_cinder_scheduler.volumeMounts }}{{ toYaml $mounts_cinder_scheduler.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: cinder-bin - name: cinder-bin
configMap: configMap:
@ -75,5 +75,5 @@ spec:
configMap: configMap:
name: cinder-etc name: cinder-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_cinder_scheduler.volumes }}{{ toYaml $mounts_cinder_scheduler.volumes | indent 8 }}{{ end }} {{ if $mounts_cinder_scheduler.volumes }}{{ toYaml $mounts_cinder_scheduler.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -90,7 +90,7 @@ spec:
subPath: key subPath: key
readOnly: true readOnly: true
{{- end }} {{- end }}
{{- if $mounts_cinder_volume.volumeMounts }}{{ toYaml $mounts_cinder_volume.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_cinder_volume.volumeMounts }}{{ toYaml $mounts_cinder_volume.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: cinder-bin - name: cinder-bin
configMap: configMap:
@ -110,5 +110,5 @@ spec:
secret: secret:
secretName: pvc-ceph-client-key secretName: pvc-ceph-client-key
{{ end }} {{ end }}
{{- if $mounts_cinder_volume.volumes }}{{ toYaml $mounts_cinder_volume.volumes | indent 8 }}{{ end }} {{ if $mounts_cinder_volume.volumes }}{{ toYaml $mounts_cinder_volume.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -54,7 +54,7 @@ spec:
readOnly: true readOnly: true
- name: rally-db - name: rally-db
mountPath: /var/lib/rally mountPath: /var/lib/rally
{{- if $mounts_cinder_tests.volumeMounts }}{{ toYaml $mounts_cinder_tests.volumeMounts | indent 8 }}{{ end }} {{ if $mounts_cinder_tests.volumeMounts }}{{ toYaml $mounts_cinder_tests.volumeMounts | indent 8 }}{{ end }}
volumes: volumes:
- name: cinder-etc - name: cinder-etc
configMap: configMap:
@ -66,5 +66,5 @@ spec:
defaultMode: 0555 defaultMode: 0555
- name: rally-db - name: rally-db
emptyDir: {} emptyDir: {}
{{- if $mounts_cinder_tests.volumes }}{{ toYaml $mounts_cinder_tests.volumes | indent 4 }}{{ end }} {{ if $mounts_cinder_tests.volumes }}{{ toYaml $mounts_cinder_tests.volumes | indent 4 }}{{ end }}
{{- end }} {{- end }}

View File

@ -129,7 +129,7 @@ spec:
subPath: key subPath: key
readOnly: true readOnly: true
{{- end }} {{- end }}
{{- if $mounts_glance_api.volumeMounts }}{{ toYaml $mounts_glance_api.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_glance_api.volumeMounts }}{{ toYaml $mounts_glance_api.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: etcglance - name: etcglance
emptyDir: {} emptyDir: {}
@ -156,5 +156,5 @@ spec:
secret: secret:
secretName: pvc-ceph-client-key secretName: pvc-ceph-client-key
{{- end }} {{- end }}
{{- if $mounts_glance_api.volumes }}{{ toYaml $mounts_glance_api.volumes | indent 8 }}{{ end }} {{ if $mounts_glance_api.volumes }}{{ toYaml $mounts_glance_api.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -80,7 +80,7 @@ spec:
mountPath: /etc/glance/policy.json mountPath: /etc/glance/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_glance_registry.volumeMounts }}{{ toYaml $mounts_glance_registry.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_glance_registry.volumeMounts }}{{ toYaml $mounts_glance_registry.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: etcglance - name: etcglance
emptyDir: {} emptyDir: {}
@ -92,5 +92,5 @@ spec:
configMap: configMap:
name: glance-etc name: glance-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_glance_registry.volumes }}{{ toYaml $mounts_glance_registry.volumes | indent 8 }}{{ end }} {{ if $mounts_glance_registry.volumes }}{{ toYaml $mounts_glance_registry.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -54,7 +54,7 @@ spec:
readOnly: true readOnly: true
- name: rally-db - name: rally-db
mountPath: /var/lib/rally mountPath: /var/lib/rally
{{- if $mounts_glance_tests.volumeMounts }}{{ toYaml $mounts_glance_tests.volumeMounts | indent 8 }}{{ end }} {{ if $mounts_glance_tests.volumeMounts }}{{ toYaml $mounts_glance_tests.volumeMounts | indent 8 }}{{ end }}
volumes: volumes:
- name: glance-etc - name: glance-etc
configMap: configMap:
@ -66,5 +66,5 @@ spec:
defaultMode: 0555 defaultMode: 0555
- name: rally-db - name: rally-db
emptyDir: {} emptyDir: {}
{{- if $mounts_glance_tests.volumes }}{{ toYaml $mounts_glance_tests.volumes | indent 4 }}{{ end }} {{ if $mounts_glance_tests.volumes }}{{ toYaml $mounts_glance_tests.volumes | indent 4 }}{{ end }}
{{- end }} {{- end }}

View File

@ -82,7 +82,7 @@ spec:
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_heat_api.volumeMounts }}{{ toYaml $mounts_heat_api.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_heat_api.volumeMounts }}{{ toYaml $mounts_heat_api.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-heat - name: pod-etc-heat
emptyDir: {} emptyDir: {}
@ -96,5 +96,5 @@ spec:
configMap: configMap:
name: heat-etc name: heat-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_heat_api.volumes }}{{ toYaml $mounts_heat_api.volumes | indent 8 }}{{ end }} {{ if $mounts_heat_api.volumes }}{{ toYaml $mounts_heat_api.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -82,7 +82,7 @@ spec:
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_heat_cfn.volumeMounts }}{{ toYaml $mounts_heat_cfn.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_heat_cfn.volumeMounts }}{{ toYaml $mounts_heat_cfn.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-heat - name: pod-etc-heat
emptyDir: {} emptyDir: {}
@ -96,5 +96,5 @@ spec:
configMap: configMap:
name: heat-etc name: heat-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_heat_cfn.volumes }}{{ toYaml $mounts_heat_cfn.volumes | indent 8 }}{{ end }} {{ if $mounts_heat_cfn.volumes }}{{ toYaml $mounts_heat_cfn.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -82,7 +82,7 @@ spec:
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_heat_cloudwatch.volumeMounts }}{{ toYaml $mounts_heat_cloudwatch.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_heat_cloudwatch.volumeMounts }}{{ toYaml $mounts_heat_cloudwatch.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-heat - name: pod-etc-heat
emptyDir: {} emptyDir: {}
@ -96,5 +96,5 @@ spec:
configMap: configMap:
name: heat-etc name: heat-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_heat_cloudwatch.volumes }}{{ toYaml $mounts_heat_cloudwatch.volumes | indent 8 }}{{ end }} {{ if $mounts_heat_cloudwatch.volumes }}{{ toYaml $mounts_heat_cloudwatch.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -52,12 +52,12 @@ spec:
mountPath: /tmp/bootstrap.sh mountPath: /tmp/bootstrap.sh
subPath: bootstrap.sh subPath: bootstrap.sh
readOnly: true readOnly: true
{{- if $mounts_heat_bootstrap.volumeMounts }}{{ toYaml $mounts_heat_bootstrap.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_heat_bootstrap.volumeMounts }}{{ toYaml $mounts_heat_bootstrap.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: heat-bin - name: heat-bin
configMap: configMap:
name: heat-bin name: heat-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_heat_bootstrap.volumes }}{{ toYaml $mounts_heat_bootstrap.volumes | indent 6 }}{{ end }} {{ if $mounts_heat_bootstrap.volumes }}{{ toYaml $mounts_heat_bootstrap.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -62,7 +62,7 @@ spec:
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_heat_engine.volumeMounts }}{{ toYaml $mounts_heat_engine.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_heat_engine.volumeMounts }}{{ toYaml $mounts_heat_engine.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-heat - name: pod-etc-heat
emptyDir: {} emptyDir: {}
@ -76,5 +76,5 @@ spec:
configMap: configMap:
name: heat-etc name: heat-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_heat_engine.volumes }}{{ toYaml $mounts_heat_engine.volumes | indent 8 }}{{ end }} {{ if $mounts_heat_engine.volumes }}{{ toYaml $mounts_heat_engine.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -74,7 +74,7 @@ spec:
mountPath: /etc/openstack-dashboard/local_settings mountPath: /etc/openstack-dashboard/local_settings
subPath: local_settings subPath: local_settings
readOnly: true readOnly: true
{{- if $mounts_horizon.volumeMounts }}{{ toYaml $mounts_horizon.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_horizon.volumeMounts }}{{ toYaml $mounts_horizon.volumeMounts | indent 12 }}{{ end }}
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
volumes: volumes:
@ -86,5 +86,5 @@ spec:
configMap: configMap:
name: horizon-etc name: horizon-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_horizon.volumes }}{{ toYaml $mounts_horizon.volumes | indent 8 }}{{ end }} {{ if $mounts_horizon.volumes }}{{ toYaml $mounts_horizon.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -58,11 +58,11 @@ spec:
mountPath: /tmp/db-init.py mountPath: /tmp/db-init.py
subPath: db-init.py subPath: db-init.py
readOnly: true readOnly: true
{{- if $mounts_horizon_db_init.volumeMounts }}{{ toYaml $mounts_horizon_db_init.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_horizon_db_init.volumeMounts }}{{ toYaml $mounts_horizon_db_init.volumeMounts | indent 10 }}{{ end }}
volumes: volumes:
- name: horizon-bin - name: horizon-bin
configMap: configMap:
name: horizon-bin name: horizon-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_horizon_db_init.volumes }}{{ toYaml $mounts_horizon_db_init.volumes | indent 6 }}{{ end }} {{ if $mounts_horizon_db_init.volumes }}{{ toYaml $mounts_horizon_db_init.volumes | indent 6 }}{{ end }}
{{- end }} {{- end }}

View File

@ -51,7 +51,7 @@ spec:
mountPath: /tmp/db-sync.sh mountPath: /tmp/db-sync.sh
subPath: db-sync.sh subPath: db-sync.sh
readOnly: true readOnly: true
{{- if $mounts_horizon_db_sync.volumeMounts }}{{ toYaml $mounts_horizon_db_sync.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_horizon_db_sync.volumeMounts }}{{ toYaml $mounts_horizon_db_sync.volumeMounts | indent 10 }}{{ end }}
volumes: volumes:
- name: horizon-etc - name: horizon-etc
configMap: configMap:
@ -61,5 +61,5 @@ spec:
configMap: configMap:
name: horizon-bin name: horizon-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_horizon_db_sync.volumes }}{{ toYaml $mounts_horizon_db_sync.volumes | indent 6 }}{{ end }} {{ if $mounts_horizon_db_sync.volumes }}{{ toYaml $mounts_horizon_db_sync.volumes | indent 6 }}{{ end }}
{{- end }} {{- end }}

View File

@ -70,7 +70,7 @@ spec:
mountPath: /tmp/fernet-manage.py mountPath: /tmp/fernet-manage.py
subPath: fernet-manage.py subPath: fernet-manage.py
readOnly: true readOnly: true
{{- if $mounts_keystone_credential_rotate.volumeMounts }}{{ toYaml $mounts_keystone_credential_rotate.volumeMounts | indent 14 }}{{ end }} {{ if $mounts_keystone_credential_rotate.volumeMounts }}{{ toYaml $mounts_keystone_credential_rotate.volumeMounts | indent 14 }}{{ end }}
volumes: volumes:
- name: etckeystone - name: etckeystone
emptyDir: {} emptyDir: {}
@ -82,6 +82,6 @@ spec:
configMap: configMap:
name: keystone-bin name: keystone-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_keystone_credential_rotate.volumes }}{{ toYaml $mounts_keystone_credential_rotate.volumes | indent 10 }}{{ end }} {{ if $mounts_keystone_credential_rotate.volumes }}{{ toYaml $mounts_keystone_credential_rotate.volumes | indent 10 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -68,7 +68,7 @@ spec:
mountPath: /tmp/fernet-manage.py mountPath: /tmp/fernet-manage.py
subPath: fernet-manage.py subPath: fernet-manage.py
readOnly: true readOnly: true
{{- if $mounts_keystone_fernet_rotate.volumeMounts }}{{ toYaml $mounts_keystone_fernet_rotate.volumeMounts | indent 14 }}{{ end }} {{ if $mounts_keystone_fernet_rotate.volumeMounts }}{{ toYaml $mounts_keystone_fernet_rotate.volumeMounts | indent 14 }}{{ end }}
volumes: volumes:
- name: etckeystone - name: etckeystone
emptyDir: {} emptyDir: {}
@ -80,6 +80,6 @@ spec:
configMap: configMap:
name: keystone-bin name: keystone-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_keystone_fernet_rotate.volumes }}{{ toYaml $mounts_keystone_fernet_rotate.volumes | indent 10 }}{{ end }} {{ if $mounts_keystone_fernet_rotate.volumes }}{{ toYaml $mounts_keystone_fernet_rotate.volumes | indent 10 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -103,7 +103,7 @@ spec:
{{- end }} {{- end }}
- name: keystone-credential-keys - name: keystone-credential-keys
mountPath: {{ .Values.conf.keystone.credential.keystone.key_repository }} mountPath: {{ .Values.conf.keystone.credential.keystone.key_repository }}
{{- if $mounts_keystone_api.volumeMounts }}{{ toYaml $mounts_keystone_api.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_keystone_api.volumeMounts }}{{ toYaml $mounts_keystone_api.volumeMounts | indent 10 }}{{ end }}
volumes: volumes:
- name: etckeystone - name: etckeystone
emptyDir: {} emptyDir: {}
@ -125,5 +125,5 @@ spec:
- name: keystone-credential-keys - name: keystone-credential-keys
secret: secret:
secretName: keystone-credential-keys secretName: keystone-credential-keys
{{- if $mounts_keystone_api.volumes }}{{ toYaml $mounts_keystone_api.volumes | indent 6 }}{{ end }} {{ if $mounts_keystone_api.volumes }}{{ toYaml $mounts_keystone_api.volumes | indent 6 }}{{ end }}
{{- end }} {{- end }}

View File

@ -52,12 +52,12 @@ spec:
mountPath: /tmp/bootstrap.sh mountPath: /tmp/bootstrap.sh
subPath: bootstrap.sh subPath: bootstrap.sh
readOnly: true readOnly: true
{{- if $mounts_keystone_bootstrap.volumeMounts }}{{ toYaml $mounts_keystone_bootstrap.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_keystone_bootstrap.volumeMounts }}{{ toYaml $mounts_keystone_bootstrap.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: keystone-bin - name: keystone-bin
configMap: configMap:
name: keystone-bin name: keystone-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_keystone_bootstrap.volumes }}{{ toYaml $mounts_keystone_bootstrap.volumes | indent 6 }}{{ end }} {{ if $mounts_keystone_bootstrap.volumes }}{{ toYaml $mounts_keystone_bootstrap.volumes | indent 9 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -63,7 +63,7 @@ spec:
mountPath: /tmp/fernet-manage.py mountPath: /tmp/fernet-manage.py
subPath: fernet-manage.py subPath: fernet-manage.py
readOnly: true readOnly: true
{{- if $mounts_keystone_credential_setup.volumeMounts }}{{ toYaml $mounts_keystone_credential_setup.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_keystone_credential_setup.volumeMounts }}{{ toYaml $mounts_keystone_credential_setup.volumeMounts | indent 10 }}{{ end }}
volumes: volumes:
- name: etckeystone - name: etckeystone
emptyDir: {} emptyDir: {}
@ -75,5 +75,5 @@ spec:
configMap: configMap:
name: keystone-bin name: keystone-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_keystone_credential_setup.volumes }}{{ toYaml $mounts_keystone_credential_setup.volumes | indent 6 }}{{ end }} {{ if $mounts_keystone_credential_setup.volumes }}{{ toYaml $mounts_keystone_credential_setup.volumes | indent 6 }}{{ end }}
{{- end }} {{- end }}

View File

@ -65,7 +65,7 @@ spec:
mountPath: /tmp/db-init.py mountPath: /tmp/db-init.py
subPath: db-init.py subPath: db-init.py
readOnly: true readOnly: true
{{- if $mounts_keystone_db_init.volumeMounts }}{{ toYaml $mounts_keystone_db_init.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_keystone_db_init.volumeMounts }}{{ toYaml $mounts_keystone_db_init.volumeMounts | indent 10 }}{{ end }}
volumes: volumes:
- name: etckeystone - name: etckeystone
emptyDir: {} emptyDir: {}
@ -77,5 +77,5 @@ spec:
configMap: configMap:
name: keystone-bin name: keystone-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_keystone_db_init.volumes }}{{ toYaml $mounts_keystone_db_init.volumes | indent 6 }}{{ end }} {{ if $mounts_keystone_db_init.volumes }}{{ toYaml $mounts_keystone_db_init.volumes | indent 6 }}{{ end }}
{{- end }} {{- end }}

View File

@ -67,7 +67,7 @@ spec:
- name: keystone-fernet-keys - name: keystone-fernet-keys
mountPath: {{ .Values.conf.keystone.fernet_tokens.keystone.key_repository }} mountPath: {{ .Values.conf.keystone.fernet_tokens.keystone.key_repository }}
{{- end }} {{- end }}
{{- if $mounts_keystone_db_sync.volumeMounts }}{{ toYaml $mounts_keystone_db_sync.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_keystone_db_sync.volumeMounts }}{{ toYaml $mounts_keystone_db_sync.volumeMounts | indent 10 }}{{ end }}
volumes: volumes:
- name: etckeystone - name: etckeystone
emptyDir: {} emptyDir: {}
@ -84,5 +84,5 @@ spec:
secret: secret:
secretName: keystone-fernet-keys secretName: keystone-fernet-keys
{{- end }} {{- end }}
{{- if $mounts_keystone_db_sync.volumes }}{{ toYaml $mounts_keystone_db_sync.volumes | indent 6 }}{{ end }} {{ if $mounts_keystone_db_sync.volumes }}{{ toYaml $mounts_keystone_db_sync.volumes | indent 6 }}{{ end }}
{{- end }} {{- end }}

View File

@ -64,7 +64,7 @@ spec:
mountPath: /tmp/fernet-manage.py mountPath: /tmp/fernet-manage.py
subPath: fernet-manage.py subPath: fernet-manage.py
readOnly: true readOnly: true
{{- if $mounts_keystone_fernet_setup.volumeMounts }}{{ toYaml $mounts_keystone_fernet_setup.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_keystone_fernet_setup.volumeMounts }}{{ toYaml $mounts_keystone_fernet_setup.volumeMounts | indent 10 }}{{ end }}
volumes: volumes:
- name: etckeystone - name: etckeystone
emptyDir: {} emptyDir: {}
@ -76,6 +76,6 @@ spec:
configMap: configMap:
name: keystone-bin name: keystone-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_keystone_fernet_setup.volumes }}{{ toYaml $mounts_keystone_fernet_setup.volumes | indent 6 }}{{ end }} {{ if $mounts_keystone_fernet_setup.volumes }}{{ toYaml $mounts_keystone_fernet_setup.volumes | indent 6 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -54,7 +54,7 @@ spec:
readOnly: true readOnly: true
- name: rally-db - name: rally-db
mountPath: /var/lib/rally mountPath: /var/lib/rally
{{- if $mounts_keystone_tests.volumeMounts }}{{ toYaml $mounts_keystone_tests.volumeMounts | indent 8 }}{{ end }} {{ if $mounts_keystone_tests.volumeMounts }}{{ toYaml $mounts_keystone_tests.volumeMounts | indent 8 }}{{ end }}
volumes: volumes:
- name: keystone-etc - name: keystone-etc
configMap: configMap:
@ -66,5 +66,5 @@ spec:
defaultMode: 0555 defaultMode: 0555
- name: rally-db - name: rally-db
emptyDir: {} emptyDir: {}
{{- if $mounts_keystone_tests.volumes }}{{ toYaml $mounts_keystone_tests.volumes | indent 4 }}{{ end }} {{ if $mounts_keystone_tests.volumes }}{{ toYaml $mounts_keystone_tests.volumes | indent 4 }}{{ end }}
{{- end }} {{- end }}

View File

@ -82,7 +82,7 @@ spec:
mountPath: /etc/magnum/policy.json mountPath: /etc/magnum/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_magnum_api.volumeMounts }}{{ toYaml $mounts_magnum_api.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_magnum_api.volumeMounts }}{{ toYaml $mounts_magnum_api.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-magnum - name: pod-etc-magnum
emptyDir: {} emptyDir: {}
@ -96,5 +96,5 @@ spec:
configMap: configMap:
name: magnum-etc name: magnum-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_magnum_api.volumes }}{{ toYaml $mounts_magnum_api.volumes | indent 8 }}{{ end }} {{ if $mounts_magnum_api.volumes }}{{ toYaml $mounts_magnum_api.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -52,12 +52,12 @@ spec:
mountPath: /tmp/bootstrap.sh mountPath: /tmp/bootstrap.sh
subPath: bootstrap.sh subPath: bootstrap.sh
readOnly: true readOnly: true
{{- if $mounts_magnum_bootstrap.volumeMounts }}{{ toYaml $mounts_magnum_bootstrap.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_magnum_bootstrap.volumeMounts }}{{ toYaml $mounts_magnum_bootstrap.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: magnum-bin - name: magnum-bin
configMap: configMap:
name: magnum-bin name: magnum-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_magnum_bootstrap.volumes }}{{ toYaml $mounts_magnum_bootstrap.volumes | indent 6 }}{{ end }} {{ if $mounts_magnum_bootstrap.volumes }}{{ toYaml $mounts_magnum_bootstrap.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -62,7 +62,7 @@ spec:
mountPath: /etc/magnum/policy.json mountPath: /etc/magnum/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_magnum_conductor.volumeMounts }}{{ toYaml $mounts_magnum_conductor.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_magnum_conductor.volumeMounts }}{{ toYaml $mounts_magnum_conductor.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-magnum - name: pod-etc-magnum
emptyDir: {} emptyDir: {}
@ -76,5 +76,5 @@ spec:
configMap: configMap:
name: magnum-etc name: magnum-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_magnum_conductor.volumes }}{{ toYaml $mounts_magnum_conductor.volumes | indent 8 }}{{ end }} {{ if $mounts_magnum_conductor.volumes }}{{ toYaml $mounts_magnum_conductor.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -77,7 +77,7 @@ spec:
mountPath: /etc/mistral/policy.json mountPath: /etc/mistral/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_mistral_api.volumeMounts }}{{ toYaml $mounts_mistral_api.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_mistral_api.volumeMounts }}{{ toYaml $mounts_mistral_api.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-mistral - name: pod-etc-mistral
emptyDir: {} emptyDir: {}
@ -89,5 +89,5 @@ spec:
configMap: configMap:
name: mistral-etc name: mistral-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_mistral_api.volumes }}{{ toYaml $mounts_mistral_api.volumes | indent 8 }}{{ end }} {{ if $mounts_mistral_api.volumes }}{{ toYaml $mounts_mistral_api.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -59,7 +59,7 @@ spec:
mountPath: /etc/mistral/mistral.conf mountPath: /etc/mistral/mistral.conf
subPath: mistral.conf subPath: mistral.conf
readOnly: true readOnly: true
{{- if $mounts_mistral_executor.volumeMounts }}{{ toYaml $mounts_mistral_executor.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_mistral_executor.volumeMounts }}{{ toYaml $mounts_mistral_executor.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-mistral - name: pod-etc-mistral
emptyDir: {} emptyDir: {}
@ -71,5 +71,5 @@ spec:
configMap: configMap:
name: mistral-etc name: mistral-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_mistral_executor.volumes }}{{ toYaml $mounts_mistral_executor.volumes | indent 8 }}{{ end }} {{ if $mounts_mistral_executor.volumes }}{{ toYaml $mounts_mistral_executor.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -52,12 +52,12 @@ spec:
mountPath: /tmp/bootstrap.sh mountPath: /tmp/bootstrap.sh
subPath: bootstrap.sh subPath: bootstrap.sh
readOnly: true readOnly: true
{{- if $mounts_mistral_bootstrap.volumeMounts }}{{ toYaml $mounts_mistral_bootstrap.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_mistral_bootstrap.volumeMounts }}{{ toYaml $mounts_mistral_bootstrap.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: mistral-bin - name: mistral-bin
configMap: configMap:
name: mistral-bin name: mistral-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_mistral_bootstrap.volumes }}{{ toYaml $mounts_mistral_bootstrap.volumes | indent 6 }}{{ end }} {{ if $mounts_mistral_bootstrap.volumes }}{{ toYaml $mounts_mistral_bootstrap.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -54,7 +54,7 @@ spec:
mountPath: /etc/mistral/mistral.conf mountPath: /etc/mistral/mistral.conf
subPath: mistral.conf subPath: mistral.conf
readOnly: true readOnly: true
{{- if $mounts_mistral_engine.volumeMounts }}{{ toYaml $mounts_mistral_engine.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_mistral_engine.volumeMounts }}{{ toYaml $mounts_mistral_engine.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-mistral - name: pod-etc-mistral
emptyDir: {} emptyDir: {}
@ -66,5 +66,5 @@ spec:
configMap: configMap:
name: mistral-etc name: mistral-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_mistral_engine.volumes }}{{ toYaml $mounts_mistral_engine.volumes | indent 8 }}{{ end }} {{ if $mounts_mistral_engine.volumes }}{{ toYaml $mounts_mistral_engine.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -56,7 +56,7 @@ spec:
mountPath: /etc/mistral/mistral.conf mountPath: /etc/mistral/mistral.conf
subPath: mistral.conf subPath: mistral.conf
readOnly: true readOnly: true
{{- if $mounts_mistral_event_engine.volumeMounts }}{{ toYaml $mounts_mistral_event_engine.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_mistral_event_engine.volumeMounts }}{{ toYaml $mounts_mistral_event_engine.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-mistral - name: pod-etc-mistral
emptyDir: {} emptyDir: {}
@ -68,5 +68,5 @@ spec:
configMap: configMap:
name: mistral-etc name: mistral-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_mistral_event_engine.volumes }}{{ toYaml $mounts_mistral_event_engine.volumes | indent 8 }}{{ end }} {{ if $mounts_mistral_event_engine.volumes }}{{ toYaml $mounts_mistral_event_engine.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -80,7 +80,7 @@ spec:
mountPath: /run/openvswitch mountPath: /run/openvswitch
- name: socket - name: socket
mountPath: /var/lib/neutron/openstack-helm mountPath: /var/lib/neutron/openstack-helm
{{- if $mounts_neutron_dhcp_agent.volumeMounts }}{{ toYaml $mounts_neutron_dhcp_agent.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_neutron_dhcp_agent.volumeMounts }}{{ toYaml $mounts_neutron_dhcp_agent.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
@ -96,5 +96,5 @@ spec:
- name: socket - name: socket
hostPath: hostPath:
path: /var/lib/neutron/openstack-helm path: /var/lib/neutron/openstack-helm
{{- if $mounts_neutron_dhcp_agent.volumes }}{{ toYaml $mounts_neutron_dhcp_agent.volumes | indent 8 }}{{ end }} {{ if $mounts_neutron_dhcp_agent.volumes }}{{ toYaml $mounts_neutron_dhcp_agent.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -79,7 +79,7 @@ spec:
readOnly: true readOnly: true
- name: socket - name: socket
mountPath: /var/lib/neutron/stackanetes mountPath: /var/lib/neutron/stackanetes
{{- if $mounts_neutron_l3_agent.volumeMounts }}{{ toYaml $mounts_neutron_l3_agent.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_neutron_l3_agent.volumeMounts }}{{ toYaml $mounts_neutron_l3_agent.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
@ -98,5 +98,5 @@ spec:
- name: socket - name: socket
hostPath: hostPath:
path: /var/lib/neutron/stackanetes path: /var/lib/neutron/stackanetes
{{- if $mounts_neutron_l3_agent.volumes }}{{ toYaml $mounts_neutron_l3_agent.volumes | indent 8 }}{{ end }} {{ if $mounts_neutron_l3_agent.volumes }}{{ toYaml $mounts_neutron_l3_agent.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -78,7 +78,7 @@ spec:
mountPath: /run/openvswitch mountPath: /run/openvswitch
- name: socket - name: socket
mountPath: /var/lib/neutron/stackanetes mountPath: /var/lib/neutron/stackanetes
{{- if $mounts_neutron_metadata_agent.volumeMounts }}{{ toYaml $mounts_neutron_metadata_agent.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_neutron_metadata_agent.volumeMounts }}{{ toYaml $mounts_neutron_metadata_agent.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
@ -94,5 +94,5 @@ spec:
- name: socket - name: socket
hostPath: hostPath:
path: /var/lib/neutron/openstack-helm path: /var/lib/neutron/openstack-helm
{{- if $mounts_neutron_metadata_agent.volumes }}{{ toYaml $mounts_neutron_metadata_agent.volumes | indent 8 }}{{ end }} {{ if $mounts_neutron_metadata_agent.volumes }}{{ toYaml $mounts_neutron_metadata_agent.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -73,7 +73,7 @@ spec:
readOnly: true readOnly: true
- name: run - name: run
mountPath: /run mountPath: /run
{{- if $mounts_neutron_ovs_agent.volumeMounts }}{{ toYaml $mounts_neutron_ovs_agent.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_neutron_ovs_agent.volumeMounts }}{{ toYaml $mounts_neutron_ovs_agent.volumeMounts | indent 12 }}{{ end }}
containers: containers:
- name: ovs-agent - name: ovs-agent
image: {{ .Values.images.neutron_openvswitch_agent }} image: {{ .Values.images.neutron_openvswitch_agent }}
@ -115,7 +115,7 @@ spec:
readOnly: true readOnly: true
- name: run - name: run
mountPath: /run mountPath: /run
{{- if $mounts_neutron_ovs_agent.volumeMounts }}{{ toYaml $mounts_neutron_ovs_agent.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_neutron_ovs_agent.volumeMounts }}{{ toYaml $mounts_neutron_ovs_agent.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: varlibopenvswitch - name: varlibopenvswitch
emptyDir: {} emptyDir: {}
@ -135,5 +135,5 @@ spec:
- name: run - name: run
hostPath: hostPath:
path: /run path: /run
{{- if $mounts_neutron_ovs_agent.volumes }}{{ toYaml $mounts_neutron_ovs_agent.volumes | indent 8 }}{{ end }} {{ if $mounts_neutron_ovs_agent.volumes }}{{ toYaml $mounts_neutron_ovs_agent.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -82,7 +82,7 @@ spec:
mountPath: /etc/neutron/policy.json mountPath: /etc/neutron/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_neutron_server.volumeMounts }}{{ toYaml $mounts_neutron_server.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_neutron_server.volumeMounts }}{{ toYaml $mounts_neutron_server.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
@ -92,5 +92,5 @@ spec:
configMap: configMap:
name: neutron-etc name: neutron-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_neutron_server.volumes }}{{ toYaml $mounts_neutron_server.volumes | indent 8 }}{{ end }} {{ if $mounts_neutron_server.volumes }}{{ toYaml $mounts_neutron_server.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -51,12 +51,12 @@ spec:
- name: neutron-bin - name: neutron-bin
mountPath: /tmp/bootstrap.sh mountPath: /tmp/bootstrap.sh
subPath: bootstrap.sh subPath: bootstrap.sh
{{- if $mounts_neutron_bootstrap.volumeMounts }}{{ toYaml $mounts_neutron_bootstrap.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_neutron_bootstrap.volumeMounts }}{{ toYaml $mounts_neutron_bootstrap.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_neutron_bootstrap.volumes }}{{ toYaml $mounts_neutron_bootstrap.volumes | indent 6 }}{{ end }} {{ if $mounts_neutron_bootstrap.volumes }}{{ toYaml $mounts_neutron_bootstrap.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -55,7 +55,7 @@ spec:
readOnly: true readOnly: true
- name: rally-db - name: rally-db
mountPath: /var/lib/rally mountPath: /var/lib/rally
{{- if $mounts_neutron_tests.volumeMounts }}{{ toYaml $mounts_neutron_tests.volumeMounts | indent 8 }}{{ end }} {{ if $mounts_neutron_tests.volumeMounts }}{{ toYaml $mounts_neutron_tests.volumeMounts | indent 8 }}{{ end }}
volumes: volumes:
- name: neutron-etc - name: neutron-etc
configMap: configMap:
@ -67,5 +67,5 @@ spec:
defaultMode: 0555 defaultMode: 0555
- name: rally-db - name: rally-db
emptyDir: {} emptyDir: {}
{{- if $mounts_neutron_tests.volumes }}{{ toYaml $mounts_neutron_tests.volumes | indent 4 }}{{ end }} {{ if $mounts_neutron_tests.volumes }}{{ toYaml $mounts_neutron_tests.volumes | indent 4 }}{{ end }}
{{- end }} {{- end }}

View File

@ -153,7 +153,7 @@ spec:
mountPath: /sys/fs/cgroup mountPath: /sys/fs/cgroup
- name: pod-shared - name: pod-shared
mountPath: /tmp/pod-shared mountPath: /tmp/pod-shared
{{- if $mounts_nova_compute.volumeMounts }}{{ toYaml $mounts_nova_compute.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_nova_compute.volumeMounts }}{{ toYaml $mounts_nova_compute.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: nova-bin - name: nova-bin
configMap: configMap:
@ -191,5 +191,5 @@ spec:
path: /sys/fs/cgroup path: /sys/fs/cgroup
- name: pod-shared - name: pod-shared
emptyDir: {} emptyDir: {}
{{- if $mounts_nova_compute.volumes }}{{ toYaml $mounts_nova_compute.volumes | indent 8 }}{{ end }} {{ if $mounts_nova_compute.volumes }}{{ toYaml $mounts_nova_compute.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -127,7 +127,7 @@ spec:
subPath: ceph-secret-define.sh subPath: ceph-secret-define.sh
readOnly: true readOnly: true
{{- end }} {{- end }}
{{- if $mounts_nova_libvirt.volumeMounts }}{{ toYaml $mounts_nova_libvirt.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_nova_libvirt.volumeMounts }}{{ toYaml $mounts_nova_libvirt.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: nova-bin - name: nova-bin
configMap: configMap:
@ -166,5 +166,5 @@ spec:
- name: cgroup - name: cgroup
hostPath: hostPath:
path: /sys/fs/cgroup path: /sys/fs/cgroup
{{- if $mounts_nova_libvirt.volumes }}{{ toYaml $mounts_nova_libvirt.volumes | indent 8 }}{{ end }} {{ if $mounts_nova_libvirt.volumes }}{{ toYaml $mounts_nova_libvirt.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -90,7 +90,7 @@ spec:
mountPath: /etc/nova/policy.yaml mountPath: /etc/nova/policy.yaml
subPath: policy.yaml subPath: policy.yaml
readOnly: true readOnly: true
{{- if $mounts_nova_api_metadata.volumeMounts }}{{ toYaml $mounts_nova_api_metadata.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_nova_api_metadata.volumeMounts }}{{ toYaml $mounts_nova_api_metadata.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: nova-bin - name: nova-bin
configMap: configMap:
@ -100,5 +100,5 @@ spec:
configMap: configMap:
name: nova-etc name: nova-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_nova_api_metadata.volumes }}{{ toYaml $mounts_nova_api_metadata.volumes | indent 8 }}{{ end }} {{ if $mounts_nova_api_metadata.volumes }}{{ toYaml $mounts_nova_api_metadata.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -78,7 +78,7 @@ spec:
mountPath: /etc/nova/policy.yaml mountPath: /etc/nova/policy.yaml
subPath: policy.yaml subPath: policy.yaml
readOnly: true readOnly: true
{{- if $mounts_nova_api_osapi.volumeMounts }}{{ toYaml $mounts_nova_api_osapi.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_nova_api_osapi.volumeMounts }}{{ toYaml $mounts_nova_api_osapi.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: nova-bin - name: nova-bin
configMap: configMap:
@ -88,5 +88,5 @@ spec:
configMap: configMap:
name: nova-etc name: nova-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_nova_api_osapi.volumes}}{{ toYaml $mounts_nova_api_osapi.volumes | indent 8 }}{{ end }} {{ if $mounts_nova_api_osapi.volumes}}{{ toYaml $mounts_nova_api_osapi.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -61,7 +61,7 @@ spec:
mountPath: /etc/nova/policy.yaml mountPath: /etc/nova/policy.yaml
subPath: policy.yaml subPath: policy.yaml
readOnly: true readOnly: true
{{- if $mounts_nova_conductor.volumeMounts }}{{ toYaml $mounts_nova_conductor.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_nova_conductor.volumeMounts }}{{ toYaml $mounts_nova_conductor.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: nova-bin - name: nova-bin
configMap: configMap:
@ -71,5 +71,5 @@ spec:
configMap: configMap:
name: nova-etc name: nova-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_nova_conductor.volumes }}{{ toYaml $mounts_nova_conductor.volumes | indent 8 }}{{ end }} {{ if $mounts_nova_conductor.volumes }}{{ toYaml $mounts_nova_conductor.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -61,7 +61,7 @@ spec:
mountPath: /etc/nova/policy.yaml mountPath: /etc/nova/policy.yaml
subPath: policy.yaml subPath: policy.yaml
readOnly: true readOnly: true
{{- if $mounts_nova_consoleauth.volumeMounts }}{{ toYaml $mounts_nova_consoleauth.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_nova_consoleauth.volumeMounts }}{{ toYaml $mounts_nova_consoleauth.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: nova-bin - name: nova-bin
configMap: configMap:
@ -71,5 +71,5 @@ spec:
configMap: configMap:
name: nova-etc name: nova-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_nova_consoleauth.volumes }}{{ toYaml $mounts_nova_consoleauth.volumes | indent 8 }}{{ end }} {{ if $mounts_nova_consoleauth.volumes }}{{ toYaml $mounts_nova_consoleauth.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -95,7 +95,7 @@ spec:
readOnly: true readOnly: true
- name: pod-shared - name: pod-shared
mountPath: /tmp/pod-shared mountPath: /tmp/pod-shared
{{- if $mounts_nova_novncproxy.volumeMounts }}{{ toYaml $mounts_nova_novncproxy.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_nova_novncproxy.volumeMounts }}{{ toYaml $mounts_nova_novncproxy.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: nova-bin - name: nova-bin
configMap: configMap:
@ -109,6 +109,6 @@ spec:
emptyDir: {} emptyDir: {}
- name: pod-shared - name: pod-shared
emptyDir: {} emptyDir: {}
{{- if $mounts_nova_novncproxy.volumes }}{{ toYaml $mounts_nova_novncproxy.volumes | indent 8 }}{{ end }} {{ if $mounts_nova_novncproxy.volumes }}{{ toYaml $mounts_nova_novncproxy.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -61,7 +61,7 @@ spec:
mountPath: /etc/nova/policy.yaml mountPath: /etc/nova/policy.yaml
subPath: policy.yaml subPath: policy.yaml
readOnly: true readOnly: true
{{- if $mounts_nova_scheduler.volumeMounts }}{{ toYaml $mounts_nova_scheduler.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_nova_scheduler.volumeMounts }}{{ toYaml $mounts_nova_scheduler.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: nova-bin - name: nova-bin
configMap: configMap:
@ -71,5 +71,5 @@ spec:
configMap: configMap:
name: nova-etc name: nova-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_nova_scheduler.volumes }}{{ toYaml $mounts_nova_scheduler.volumes | indent 8 }}{{ end }} {{ if $mounts_nova_scheduler.volumes }}{{ toYaml $mounts_nova_scheduler.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -56,7 +56,7 @@ spec:
mountPath: /etc/nova/nova.conf mountPath: /etc/nova/nova.conf
subPath: nova.conf subPath: nova.conf
readOnly: true readOnly: true
{{- if $mounts_nova_bootstrap.volumeMounts }}{{ toYaml $mounts_nova_bootstrap.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_nova_bootstrap.volumeMounts }}{{ toYaml $mounts_nova_bootstrap.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: nova-etc - name: nova-etc
configMap: configMap:
@ -66,6 +66,6 @@ spec:
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_nova_bootstrap.volumes }}{{ toYaml $mounts_nova_bootstrap.volumes | indent 8 }}{{ end }} {{ if $mounts_nova_bootstrap.volumes }}{{ toYaml $mounts_nova_bootstrap.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -54,7 +54,7 @@ spec:
readOnly: true readOnly: true
- name: rally-db - name: rally-db
mountPath: /var/lib/rally mountPath: /var/lib/rally
{{- if $mounts_nova_tests.volumeMounts }}{{ toYaml $mounts_nova_tests.volumeMounts | indent 8 }}{{ end }} {{ if $mounts_nova_tests.volumeMounts }}{{ toYaml $mounts_nova_tests.volumeMounts | indent 8 }}{{ end }}
volumes: volumes:
- name: nova-etc - name: nova-etc
configMap: configMap:
@ -66,5 +66,5 @@ spec:
defaultMode: 0555 defaultMode: 0555
- name: rally-db - name: rally-db
emptyDir: {} emptyDir: {}
{{- if $mounts_nova_tests.volumes }}{{ toYaml $mounts_nova_tests.volumes | indent 4 }}{{ end }} {{ if $mounts_nova_tests.volumes }}{{ toYaml $mounts_nova_tests.volumes | indent 4 }}{{ end }}
{{- end }} {{- end }}

View File

@ -82,7 +82,7 @@ spec:
mountPath: /etc/senlin/policy.json mountPath: /etc/senlin/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_senlin_api.volumeMounts }}{{ toYaml $mounts_senlin_api.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_senlin_api.volumeMounts }}{{ toYaml $mounts_senlin_api.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-senlin - name: pod-etc-senlin
emptyDir: {} emptyDir: {}
@ -96,5 +96,5 @@ spec:
configMap: configMap:
name: senlin-etc name: senlin-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_senlin_api.volumes }}{{ toYaml $mounts_senlin_api.volumes | indent 8 }}{{ end }} {{ if $mounts_senlin_api.volumes }}{{ toYaml $mounts_senlin_api.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}

View File

@ -52,12 +52,12 @@ spec:
mountPath: /tmp/bootstrap.sh mountPath: /tmp/bootstrap.sh
subPath: bootstrap.sh subPath: bootstrap.sh
readOnly: true readOnly: true
{{- if $mounts_senlin_bootstrap.volumeMounts }}{{ toYaml $mounts_senlin_bootstrap.volumeMounts | indent 10 }}{{ end }} {{ if $mounts_senlin_bootstrap.volumeMounts }}{{ toYaml $mounts_senlin_bootstrap.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: senlin-bin - name: senlin-bin
configMap: configMap:
name: senlin-bin name: senlin-bin
defaultMode: 0555 defaultMode: 0555
{{- if $mounts_senlin_bootstrap.volumes }}{{ toYaml $mounts_senlin_bootstrap.volumes | indent 6 }}{{ end }} {{ if $mounts_senlin_bootstrap.volumes }}{{ toYaml $mounts_senlin_bootstrap.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -62,7 +62,7 @@ spec:
mountPath: /etc/senlin/policy.json mountPath: /etc/senlin/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if $mounts_senlin_engine.volumeMounts }}{{ toYaml $mounts_senlin_engine.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_senlin_engine.volumeMounts }}{{ toYaml $mounts_senlin_engine.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:
- name: pod-etc-senlin - name: pod-etc-senlin
emptyDir: {} emptyDir: {}
@ -76,5 +76,5 @@ spec:
configMap: configMap:
name: senlin-etc name: senlin-etc
defaultMode: 0444 defaultMode: 0444
{{- if $mounts_senlin_engine.volumes }}{{ toYaml $mounts_senlin_engine.volumes | indent 8 }}{{ end }} {{ if $mounts_senlin_engine.volumes }}{{ toYaml $mounts_senlin_engine.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}