Consolidate volumes across charts

This PS standardizes configmap mounts across all charts to be named
<project>-etc or <project>-bin.  This reduces the amount of volumes
listed in each file.

Change-Id: Idbaf495fa243bb9ea0f6ad755ca4f899d5fc0d6f
This commit is contained in:
Larry Rensing 2017-04-26 15:22:17 +00:00
parent fb22abdb63
commit fea453ba72
32 changed files with 126 additions and 247 deletions

View File

@ -69,15 +69,15 @@ spec:
mountPath: /etc/cinder mountPath: /etc/cinder
- name: pod-var-cache-cinder - name: pod-var-cache-cinder
mountPath: /var/cache/cinder mountPath: /var/cache/cinder
- name: cinderconf - name: cinder-etc
mountPath: /etc/cinder/conf/cinder.conf mountPath: /etc/cinder/conf/cinder.conf
subPath: cinder.conf subPath: cinder.conf
readOnly: true readOnly: true
- name: cinderpaste - name: cinder-etc
mountPath: /etc/cinder/api-paste.ini mountPath: /etc/cinder/api-paste.ini
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: cinderpolicy - name: cinder-etc
mountPath: /etc/cinder/policy.json mountPath: /etc/cinder/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
@ -86,12 +86,6 @@ spec:
emptyDir: {} emptyDir: {}
- name: pod-var-cache-cinder - name: pod-var-cache-cinder
emptyDir: {} emptyDir: {}
- name: cinderconf - name: cinder-etc
configMap:
name: cinder-etc
- name: cinderpaste
configMap:
name: cinder-etc
- name: cinderpolicy
configMap: configMap:
name: cinder-etc name: cinder-etc

View File

@ -63,15 +63,15 @@ spec:
mountPath: /etc/cinder mountPath: /etc/cinder
- name: pod-var-cache-cinder - name: pod-var-cache-cinder
mountPath: /var/cache/cinder mountPath: /var/cache/cinder
- name: cinderconf - name: cinder-etc
mountPath: /etc/cinder/conf/cinder.conf mountPath: /etc/cinder/conf/cinder.conf
subPath: cinder.conf subPath: cinder.conf
readOnly: true readOnly: true
- name: cinderpaste - name: cinder-etc
mountPath: /etc/cinder/api-paste.ini mountPath: /etc/cinder/api-paste.ini
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: cinderpolicy - name: cinder-etc
mountPath: /etc/cinder/policy.json mountPath: /etc/cinder/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
@ -80,12 +80,6 @@ spec:
emptyDir: {} emptyDir: {}
- name: pod-var-cache-cinder - name: pod-var-cache-cinder
emptyDir: {} emptyDir: {}
- name: cinderconf - name: cinder-etc
configMap:
name: cinder-etc
- name: cinderpaste
configMap:
name: cinder-etc
- name: cinderpolicy
configMap: configMap:
name: cinder-etc name: cinder-etc

View File

@ -63,15 +63,15 @@ spec:
mountPath: /etc/cinder mountPath: /etc/cinder
- name: pod-var-cache-cinder - name: pod-var-cache-cinder
mountPath: /var/cache/cinder mountPath: /var/cache/cinder
- name: cinderconf - name: cinder-etc
mountPath: /etc/cinder/conf/cinder.conf mountPath: /etc/cinder/conf/cinder.conf
subPath: cinder.conf subPath: cinder.conf
readOnly: true readOnly: true
- name: cephconf - name: cinder-etc
mountPath: /etc/ceph/ceph.conf mountPath: /etc/ceph/ceph.conf
subPath: ceph.conf subPath: ceph.conf
readOnly: true readOnly: true
- name: cephclientcinderkeyring - name: cinder-etc
mountPath: /etc/ceph/ceph.client.{{ .Values.ceph.cinder_user }}.keyring mountPath: /etc/ceph/ceph.client.{{ .Values.ceph.cinder_user }}.keyring
subPath: ceph.client.{{ .Values.ceph.cinder_user }}.keyring subPath: ceph.client.{{ .Values.ceph.cinder_user }}.keyring
readOnly: true readOnly: true
@ -80,12 +80,6 @@ spec:
emptyDir: {} emptyDir: {}
- name: pod-var-cache-cinder - name: pod-var-cache-cinder
emptyDir: {} emptyDir: {}
- name: cinderconf - name: cinder-etc
configMap:
name: cinder-etc
- name: cephconf
configMap:
name: cinder-etc
- name: cephclientcinderkeyring
configMap: configMap:
name: cinder-etc name: cinder-etc

View File

@ -64,14 +64,14 @@ spec:
readOnly: true readOnly: true
- name: etccinder - name: etccinder
mountPath: /etc/cinder mountPath: /etc/cinder
- name: cinderconf - name: cinder-etc
mountPath: /etc/cinder/cinder.conf mountPath: /etc/cinder/cinder.conf
subPath: cinder.conf subPath: cinder.conf
readOnly: true readOnly: true
volumes: volumes:
- name: etccinder - name: etccinder
emptyDir: {} emptyDir: {}
- name: cinderconf - name: cinder-etc
configMap: configMap:
name: cinder-etc name: cinder-etc
- name: cinder-bin - name: cinder-bin

View File

@ -52,14 +52,14 @@ spec:
readOnly: true readOnly: true
- name: etccinder - name: etccinder
mountPath: /etc/cinder mountPath: /etc/cinder
- name: cinderapiconf - name: cinder-etc
mountPath: /etc/cinder/cinder.conf mountPath: /etc/cinder/cinder.conf
subPath: cinder.conf subPath: cinder.conf
readOnly: true readOnly: true
volumes: volumes:
- name: etccinder - name: etccinder
emptyDir: {} emptyDir: {}
- name: cinderapiconf - name: cinder-etc
configMap: configMap:
name: cinder-etc name: cinder-etc
- name: cinder-bin - name: cinder-bin

View File

@ -66,15 +66,15 @@ spec:
volumeMounts: volumeMounts:
- name: etcglance - name: etcglance
mountPath: /etc/glance mountPath: /etc/glance
- name: glanceapiconf - name: glance-etc
mountPath: /etc/glance/glance-api.conf mountPath: /etc/glance/glance-api.conf
subPath: glance-api.conf subPath: glance-api.conf
readOnly: true readOnly: true
- name: glanceapipaste - name: glance-etc
mountPath: /etc/glance/glance-api-paste.ini mountPath: /etc/glance/glance-api-paste.ini
subPath: glance-api-paste.ini subPath: glance-api-paste.ini
readOnly: true readOnly: true
- name: glancepolicy - name: glance-etc
mountPath: /etc/glance/policy.json mountPath: /etc/glance/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
@ -82,36 +82,23 @@ spec:
- name: glance-images - name: glance-images
mountPath: {{ .Values.conf.glance.glance_store.glance.store.filesystem_store_datadir }} mountPath: {{ .Values.conf.glance.glance_store.glance.store.filesystem_store_datadir }}
{{- else }} {{- else }}
- name: cephconf - name: glance-etc
mountPath: /etc/ceph/ceph.conf mountPath: /etc/ceph/ceph.conf
subPath: ceph.conf subPath: ceph.conf
readOnly: true readOnly: true
- name: cephclientglancekeyring - name: glance-etc
mountPath: /etc/ceph/ceph.client.{{ .Values.ceph.glance_user }}.keyring mountPath: /etc/ceph/ceph.client.{{ .Values.ceph.glance_user }}.keyring
subPath: ceph.client.{{ .Values.ceph.glance_user }}.keyring subPath: ceph.client.{{ .Values.ceph.glance_user }}.keyring
readOnly: true readOnly: true
{{- end }} {{- end }}
volumes: volumes:
- name: glanceapiconf - name: glance-etc
configMap:
name: glance-etc
- name: glanceapipaste
configMap: configMap:
name: glance-etc name: glance-etc
{{- if eq .Values.storage "file" }} {{- if eq .Values.storage "file" }}
- name: glance-images - name: glance-images
persistentVolumeClaim: persistentVolumeClaim:
claimName: glance-images claimName: glance-images
{{- else }}
- name: cephconf
configMap:
name: glance-etc
- name: cephclientglancekeyring
configMap:
name: glance-etc
{{- end }} {{- end }}
- name: etcglance - name: etcglance
emptyDir: {} emptyDir: {}
- name: glancepolicy
configMap:
name: glance-etc

View File

@ -58,27 +58,21 @@ spec:
volumeMounts: volumeMounts:
- name: etcglance - name: etcglance
mountPath: /etc/glance mountPath: /etc/glance
- name: glanceregistryconf - name: glance-etc
mountPath: /etc/glance/glance-registry.conf mountPath: /etc/glance/glance-registry.conf
subPath: glance-registry.conf subPath: glance-registry.conf
readOnly: true readOnly: true
- name: glanceregistrypaste - name: glance-etc
mountPath: /etc/glance/glance-registry-paste.ini mountPath: /etc/glance/glance-registry-paste.ini
subPath: glance-registry-paste.ini subPath: glance-registry-paste.ini
readOnly: true readOnly: true
- name: glancepolicy - name: glance-etc
mountPath: /etc/glance/policy.json mountPath: /etc/glance/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
volumes: volumes:
- name: etcglance - name: etcglance
emptyDir: {} emptyDir: {}
- name: glanceregistryconf - name: glance-etc
configMap:
name: glance-etc
- name: glanceregistrypaste
configMap:
name: glance-etc
- name: glancepolicy
configMap: configMap:
name: glance-etc name: glance-etc

View File

@ -53,18 +53,18 @@ spec:
volumeMounts: volumeMounts:
- name: imagedir - name: imagedir
mountPath: /tmp/images mountPath: /tmp/images
- name: bootstrapsh - name: glance-bin
mountPath: /tmp/bootstrap.sh mountPath: /tmp/bootstrap.sh
subPath: bootstrap.sh subPath: bootstrap.sh
- name: glanceapiconf - name: glance-etc
mountPath: /etc/glance/glance-api.conf mountPath: /etc/glance/glance-api.conf
subPath: glance-api.conf subPath: glance-api.conf
volumes: volumes:
- name: imagedir - name: imagedir
emptyDir: {} emptyDir: {}
- name: bootstrapsh - name: glance-bin
configMap: configMap:
name: glance-bin name: glance-bin
- name: glanceapiconf - name: glance-etc
configMap: configMap:
name: glance-etc name: glance-etc

View File

@ -64,14 +64,14 @@ spec:
readOnly: true readOnly: true
- name: etcglance - name: etcglance
mountPath: /etc/glance mountPath: /etc/glance
- name: glanceapiconf - name: glance-etc
mountPath: /etc/glance/glance-api.conf mountPath: /etc/glance/glance-api.conf
subPath: glance-api.conf subPath: glance-api.conf
readOnly: true readOnly: true
volumes: volumes:
- name: etcglance - name: etcglance
emptyDir: {} emptyDir: {}
- name: glanceapiconf - name: glance-etc
configMap: configMap:
name: glance-etc name: glance-etc
- name: glance-bin - name: glance-bin

View File

@ -52,14 +52,14 @@ spec:
readOnly: true readOnly: true
- name: etcglance - name: etcglance
mountPath: /etc/glance mountPath: /etc/glance
- name: glanceapiconf - name: glance-etc
mountPath: /etc/glance/glance-api.conf mountPath: /etc/glance/glance-api.conf
subPath: glance-api.conf subPath: glance-api.conf
readOnly: true readOnly: true
volumes: volumes:
- name: etcglance - name: etcglance
emptyDir: {} emptyDir: {}
- name: glanceapiconf - name: glance-etc
configMap: configMap:
name: glance-etc name: glance-etc
- name: glance-bin - name: glance-bin

View File

@ -57,7 +57,7 @@ spec:
command: command:
- heat-api - heat-api
- --config-dir - --config-dir
- /etc/heat/conf - /etc/heat
ports: ports:
- containerPort: {{ .Values.conf.heat.heat_api.heat.common.wsgi.bind_port }} - containerPort: {{ .Values.conf.heat.heat_api.heat.common.wsgi.bind_port }}
readinessProbe: readinessProbe:
@ -68,15 +68,15 @@ spec:
mountPath: /etc/heat mountPath: /etc/heat
- name: pod-var-cache-heat - name: pod-var-cache-heat
mountPath: /var/cache/heat mountPath: /var/cache/heat
- name: heatconf - name: heat-etc
mountPath: /etc/heat/conf/heat.conf mountPath: /etc/heat/heat.conf
subPath: heat.conf subPath: heat.conf
readOnly: true readOnly: true
- name: heatpaste - name: heat-etc
mountPath: /etc/heat/api-paste.ini mountPath: /etc/heat/api-paste.ini
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: heatpolicy - name: heat-etc
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
@ -86,13 +86,7 @@ spec:
emptyDir: {} emptyDir: {}
- name: pod-var-cache-heat - name: pod-var-cache-heat
emptyDir: {} emptyDir: {}
- name: heatconf - name: heat-etc
configMap:
name: heat-etc
- name: heatpaste
configMap:
name: heat-etc
- name: heatpolicy
configMap: configMap:
name: heat-etc name: heat-etc
{{ 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 }}

View File

@ -57,7 +57,7 @@ spec:
command: command:
- heat-api-cfn - heat-api-cfn
- --config-dir - --config-dir
- /etc/heat/conf - /etc/heat
ports: ports:
- containerPort: {{ .Values.conf.heat.heat_api_cfn.heat.common.wsgi.bind_port }} - containerPort: {{ .Values.conf.heat.heat_api_cfn.heat.common.wsgi.bind_port }}
readinessProbe: readinessProbe:
@ -68,15 +68,15 @@ spec:
mountPath: /etc/heat mountPath: /etc/heat
- name: pod-var-cache-heat - name: pod-var-cache-heat
mountPath: /var/cache/heat mountPath: /var/cache/heat
- name: heatconf - name: heat-etc
mountPath: /etc/heat/conf/heat.conf mountPath: /etc/heat/heat.conf
subPath: heat.conf subPath: heat.conf
readOnly: true readOnly: true
- name: heatpaste - name: heat-etc
mountPath: /etc/heat/api-paste.ini mountPath: /etc/heat/api-paste.ini
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: heatpolicy - name: heat-etc
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
@ -86,13 +86,7 @@ spec:
emptyDir: {} emptyDir: {}
- name: pod-var-cache-heat - name: pod-var-cache-heat
emptyDir: {} emptyDir: {}
- name: heatconf - name: heat-etc
configMap:
name: heat-etc
- name: heatpaste
configMap:
name: heat-etc
- name: heatpolicy
configMap: configMap:
name: heat-etc name: heat-etc
{{ 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 }}

View File

@ -57,7 +57,7 @@ spec:
command: command:
- heat-api-cloudwatch - heat-api-cloudwatch
- --config-dir - --config-dir
- /etc/heat/conf - /etc/heat
ports: ports:
- containerPort: {{ .Values.conf.heat.heat_api_cloudwatch.heat.common.wsgi.bind_port }} - containerPort: {{ .Values.conf.heat.heat_api_cloudwatch.heat.common.wsgi.bind_port }}
readinessProbe: readinessProbe:
@ -68,15 +68,15 @@ spec:
mountPath: /etc/heat mountPath: /etc/heat
- name: pod-var-cache-heat - name: pod-var-cache-heat
mountPath: /var/cache/heat mountPath: /var/cache/heat
- name: heatconf - name: heat-etc
mountPath: /etc/heat/conf/heat.conf mountPath: /etc/heat/heat.conf
subPath: heat.conf subPath: heat.conf
readOnly: true readOnly: true
- name: heatpaste - name: heat-etc
mountPath: /etc/heat/api-paste.ini mountPath: /etc/heat/api-paste.ini
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: heatpolicy - name: heat-etc
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
@ -86,13 +86,7 @@ spec:
emptyDir: {} emptyDir: {}
- name: pod-var-cache-heat - name: pod-var-cache-heat
emptyDir: {} emptyDir: {}
- name: heatconf - name: heat-etc
configMap:
name: heat-etc
- name: heatpaste
configMap:
name: heat-etc
- name: heatpolicy
configMap: configMap:
name: heat-etc name: heat-etc
{{ 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 }}

View File

@ -64,14 +64,14 @@ spec:
readOnly: true readOnly: true
- name: etcheat - name: etcheat
mountPath: /etc/heat mountPath: /etc/heat
- name: heatapiconf - name: heat-etc
mountPath: /etc/heat/heat.conf mountPath: /etc/heat/heat.conf
subPath: heat.conf subPath: heat.conf
readOnly: true readOnly: true
volumes: volumes:
- name: etcheat - name: etcheat
emptyDir: {} emptyDir: {}
- name: heatapiconf - name: heat-etc
configMap: configMap:
name: heat-etc name: heat-etc
- name: heat-bin - name: heat-bin

View File

@ -52,14 +52,14 @@ spec:
readOnly: true readOnly: true
- name: etcheat - name: etcheat
mountPath: /etc/heat mountPath: /etc/heat
- name: heatapiconf - name: heat-etc
mountPath: /etc/heat/heat.conf mountPath: /etc/heat/heat.conf
subPath: heat.conf subPath: heat.conf
readOnly: true readOnly: true
volumes: volumes:
- name: etcheat - name: etcheat
emptyDir: {} emptyDir: {}
- name: heatapiconf - name: heat-etc
configMap: configMap:
name: heat-etc name: heat-etc
- name: heat-bin - name: heat-bin

View File

@ -50,17 +50,17 @@ spec:
command: command:
- heat-engine - heat-engine
- --config-dir - --config-dir
- /etc/heat/conf - /etc/heat
volumeMounts: volumeMounts:
- name: pod-etc-heat - name: pod-etc-heat
mountPath: /etc/heat mountPath: /etc/heat
- name: pod-var-cache-heat - name: pod-var-cache-heat
mountPath: /var/cache/heat mountPath: /var/cache/heat
- name: heatconf - name: heat-etc
mountPath: /etc/heat/conf/heat.conf mountPath: /etc/heat/heat.conf
subPath: heat.conf subPath: heat.conf
readOnly: true readOnly: true
- name: heatpolicy - name: heat-etc
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
@ -70,10 +70,7 @@ spec:
emptyDir: {} emptyDir: {}
- name: pod-var-cache-heat - name: pod-var-cache-heat
emptyDir: {} emptyDir: {}
- name: heatconf - name: heat-etc
configMap:
name: heat-etc
- name: heatpolicy
configMap: configMap:
name: heat-etc name: heat-etc
{{ 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 }}

View File

@ -66,21 +66,18 @@ spec:
- name: startsh - name: startsh
mountPath: /tmp/start.sh mountPath: /tmp/start.sh
subPath: start.sh subPath: start.sh
- name: horizonconf - name: horizon-etc
mountPath: /etc/apache2/sites-enabled/000-default.conf mountPath: /etc/apache2/sites-enabled/000-default.conf
subPath: horizon.conf subPath: horizon.conf
- name: localsettings - name: horizon-etc
mountPath: /etc/openstack-dashboard/local_settings mountPath: /etc/openstack-dashboard/local_settings
subPath: local_settings subPath: local_settings
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
volumes: volumes:
- name: startsh - name: startsh
configMap: configMap:
name: horizon-bin name: horizon-bin
- name: horizonconf - name: horizon-etc
configMap:
name: horizon-etc
- name: localsettings
configMap: configMap:
name: horizon-etc name: horizon-etc

View File

@ -84,11 +84,11 @@ spec:
- '--v=3' - '--v=3'
{{- if .Values.network.host_namespace }} {{- if .Values.network.host_namespace }}
volumeMounts: volumeMounts:
- name: resolvconf - name: ingress-etc
mountPath: /etc/resolv.conf mountPath: /etc/resolv.conf
subPath: resolv.conf subPath: resolv.conf
volumes: volumes:
- name: resolvconf - name: ingress-etc
configMap: configMap:
name: ingress-etc name: ingress-etc
{{- end }} {{- end }}

View File

@ -101,40 +101,40 @@ spec:
volumeMounts: volumeMounts:
- name: mycnfd - name: mycnfd
mountPath: /etc/my.cnf.d mountPath: /etc/my.cnf.d
- name: startsh - name: mariadb-bin
mountPath: /tmp/start.sh mountPath: /tmp/start.sh
subPath: start.sh subPath: start.sh
- name: bootstrapdb - name: mariadb-bin
mountPath: /tmp/bootstrap-db.sh mountPath: /tmp/bootstrap-db.sh
subPath: bootstrap-db.sh subPath: bootstrap-db.sh
- name: peerfinder - name: mariadb-bin
mountPath: /tmp/peer-finder.py mountPath: /tmp/peer-finder.py
subPath: peer-finder.py subPath: peer-finder.py
- name: readiness - name: mariadb-bin
mountPath: /mariadb-readiness.py mountPath: /mariadb-readiness.py
subPath: readiness.py subPath: readiness.py
- name: charsets - name: mariadb-etc
mountPath: /etc/my.cnf.d/charsets.cnf mountPath: /etc/my.cnf.d/charsets.cnf
subPath: charsets.cnf subPath: charsets.cnf
- name: engine - name: mariadb-etc
mountPath: /etc/my.cnf.d/engine.cnf mountPath: /etc/my.cnf.d/engine.cnf
subPath: engine.cnf subPath: engine.cnf
- name: log - name: mariadb-etc
mountPath: /etc/my.cnf.d/log.cnf mountPath: /etc/my.cnf.d/log.cnf
subPath: log.cnf subPath: log.cnf
- name: mycnf - name: mariadb-etc
mountPath: /etc/my.cnf mountPath: /etc/my.cnf
subPath: my.cnf subPath: my.cnf
- name: networking - name: mariadb-etc
mountPath: /etc/my.cnf.d/networking.cnf mountPath: /etc/my.cnf.d/networking.cnf
subPath: networking.cnf subPath: networking.cnf
- name: pid - name: mariadb-etc
mountPath: /etc/my.cnf.d/pid.cnf mountPath: /etc/my.cnf.d/pid.cnf
subPath: pid.cnf subPath: pid.cnf
- name: tuning - name: mariadb-etc
mountPath: /etc/my.cnf.d/tuning.cnf mountPath: /etc/my.cnf.d/tuning.cnf
subPath: tuning.cnf subPath: tuning.cnf
- name: wsrep - name: mariadb-etc
mountPath: /etc/my.cnf.d/wsrep.cnf mountPath: /etc/my.cnf.d/wsrep.cnf
subPath: wsrep.cnf subPath: wsrep.cnf
- name: mysql-data - name: mysql-data
@ -142,40 +142,10 @@ spec:
volumes: volumes:
- name: mycnfd - name: mycnfd
emptyDir: {} emptyDir: {}
- name: startsh - name: mariadb-bin
configMap: configMap:
name: mariadb-bin name: mariadb-bin
- name: bootstrapdb - name: mariadb-etc
configMap:
name: mariadb-bin
- name: peerfinder
configMap:
name: mariadb-bin
- name: readiness
configMap:
name: mariadb-bin
- name: charsets
configMap:
name: mariadb-etc
- name: engine
configMap:
name: mariadb-etc
- name: log
configMap:
name: mariadb-etc
- name: mycnf
configMap:
name: mariadb-etc
- name: networking
configMap:
name: mariadb-etc
- name: pid
configMap:
name: mariadb-etc
- name: tuning
configMap:
name: mariadb-etc
- name: wsrep
configMap: configMap:
name: mariadb-etc name: mariadb-etc
{{- if .Values.development.enabled }} {{- if .Values.development.enabled }}

View File

@ -64,72 +64,45 @@ spec:
volumeMounts: volumeMounts:
- name: mycnfd - name: mycnfd
mountPath: /etc/my.cnf.d mountPath: /etc/my.cnf.d
- name: seedsh - name: mariadb-bin
mountPath: /tmp/seed.sh mountPath: /tmp/seed.sh
subPath: seed.sh subPath: seed.sh
- name: bootstrapdb - name: mariadb-bin
mountPath: /tmp/bootstrap-db.sh mountPath: /tmp/bootstrap-db.sh
subPath: bootstrap-db.sh subPath: bootstrap-db.sh
- name: peerfinder - name: mariadb-bin
mountPath: /tmp/peer-finder.py mountPath: /tmp/peer-finder.py
subPath: peer-finder.py subPath: peer-finder.py
- name: charsets - name: mariadb-etc
mountPath: /etc/my.cnf.d/charsets.cnf mountPath: /etc/my.cnf.d/charsets.cnf
subPath: charsets.cnf subPath: charsets.cnf
- name: engine - name: mariadb-etc
mountPath: /etc/my.cnf.d/engine.cnf mountPath: /etc/my.cnf.d/engine.cnf
subPath: engine.cnf subPath: engine.cnf
- name: log - name: mariadb-etc
mountPath: /etc/my.cnf.d/log.cnf mountPath: /etc/my.cnf.d/log.cnf
subPath: log.cnf subPath: log.cnf
- name: mycnf - name: mariadb-etc
mountPath: /etc/my.cnf mountPath: /etc/my.cnf
subPath: my.cnf subPath: my.cnf
- name: networking - name: mariadb-etc
mountPath: /etc/my.cnf.d/networking.cnf mountPath: /etc/my.cnf.d/networking.cnf
subPath: networking.cnf subPath: networking.cnf
- name: pid - name: mariadb-etc
mountPath: /etc/my.cnf.d/pid.cnf mountPath: /etc/my.cnf.d/pid.cnf
subPath: pid.cnf subPath: pid.cnf
- name: tuning - name: mariadb-etc
mountPath: /etc/my.cnf.d/tuning.cnf mountPath: /etc/my.cnf.d/tuning.cnf
subPath: tuning.cnf subPath: tuning.cnf
- name: wsrep - name: mariadb-etc
mountPath: /etc/my.cnf.d/wsrep.cnf mountPath: /etc/my.cnf.d/wsrep.cnf
subPath: wsrep.cnf subPath: wsrep.cnf
volumes: volumes:
- name: mycnfd - name: mycnfd
emptyDir: {} emptyDir: {}
- name: seedsh - name: mariadb-bin
configMap: configMap:
name: mariadb-bin name: mariadb-bin
- name: bootstrapdb - name: mariadb-etc
configMap:
name: mariadb-bin
- name: peerfinder
configMap:
name: mariadb-bin
- name: charsets
configMap:
name: mariadb-etc
- name: engine
configMap:
name: mariadb-etc
- name: log
configMap:
name: mariadb-etc
- name: mycnf
configMap:
name: mariadb-etc
- name: networking
configMap:
name: mariadb-etc
- name: pid
configMap:
name: mariadb-etc
- name: tuning
configMap:
name: mariadb-etc
- name: wsrep
configMap: configMap:
name: mariadb-etc name: mariadb-etc

View File

@ -71,11 +71,11 @@ spec:
volumeMounts: volumeMounts:
- name: pod-etc-mistral - name: pod-etc-mistral
mountPath: /etc/mistral mountPath: /etc/mistral
- name: mistralconf - name: mistral-etc
mountPath: /etc/mistral/mistral.conf mountPath: /etc/mistral/mistral.conf
subPath: mistral.conf subPath: mistral.conf
readOnly: true readOnly: true
- name: mistralpolicy - name: mistral-etc
mountPath: /etc/mistral/policy.json mountPath: /etc/mistral/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
@ -83,10 +83,7 @@ spec:
volumes: volumes:
- name: pod-etc-mistral - name: pod-etc-mistral
emptyDir: {} emptyDir: {}
- name: mistralconf - name: mistral-etc
configMap:
name: mistral-etc
- name: mistralpolicy
configMap: configMap:
name: mistral-etc name: mistral-etc
{{ 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 }}

View File

@ -65,7 +65,7 @@ spec:
volumeMounts: volumeMounts:
- name: pod-etc-mistral - name: pod-etc-mistral
mountPath: /etc/mistral mountPath: /etc/mistral
- name: mistralconf - name: mistral-etc
mountPath: /etc/mistral/mistral.conf mountPath: /etc/mistral/mistral.conf
subPath: mistral.conf subPath: mistral.conf
readOnly: true readOnly: true
@ -73,7 +73,7 @@ spec:
volumes: volumes:
- name: pod-etc-mistral - name: pod-etc-mistral
emptyDir: {} emptyDir: {}
- name: mistralconf - name: mistral-etc
configMap: configMap:
name: mistral-etc name: mistral-etc
{{ 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 }}

View File

@ -64,7 +64,7 @@ spec:
readOnly: true readOnly: true
- name: pod-etc-mistral - name: pod-etc-mistral
mountPath: /etc/mistral mountPath: /etc/mistral
- name: mistralconf - name: mistral-etc
mountPath: /etc/mistral/mistral.conf mountPath: /etc/mistral/mistral.conf
subPath: mistral.conf subPath: mistral.conf
readOnly: true readOnly: true
@ -74,6 +74,6 @@ spec:
name: mistral-bin name: mistral-bin
- name: pod-etc-mistral - name: pod-etc-mistral
emptyDir: {} emptyDir: {}
- name: mistralconf - name: mistral-etc
configMap: configMap:
name: mistral-etc name: mistral-etc

View File

@ -49,19 +49,19 @@ spec:
volumeMounts: volumeMounts:
- name: pod-etc-mistral - name: pod-etc-mistral
mountPath: /etc/mistral mountPath: /etc/mistral
- name: mistralconf - name: mistral-etc
mountPath: /etc/mistral/mistral.conf mountPath: /etc/mistral/mistral.conf
subPath: mistral.conf subPath: mistral.conf
readOnly: true readOnly: true
- name: db-sync - name: mistral-bin
mountPath: /tmp/db-sync.sh mountPath: /tmp/db-sync.sh
subPath: db-sync.sh subPath: db-sync.sh
volumes: volumes:
- name: pod-etc-mistral - name: pod-etc-mistral
emptyDir: {} emptyDir: {}
- name: mistralconf - name: mistral-etc
configMap: configMap:
name: mistral-etc name: mistral-etc
- name: db-sync - name: mistral-bin
configMap: configMap:
name: mistral-bin name: mistral-bin

View File

@ -58,7 +58,7 @@ spec:
volumeMounts: volumeMounts:
- name: pod-etc-mistral - name: pod-etc-mistral
mountPath: /etc/mistral mountPath: /etc/mistral
- name: mistralconf - name: mistral-etc
mountPath: /etc/mistral/mistral.conf mountPath: /etc/mistral/mistral.conf
subPath: mistral.conf subPath: mistral.conf
readOnly: true readOnly: true
@ -66,7 +66,7 @@ spec:
volumes: volumes:
- name: pod-etc-mistral - name: pod-etc-mistral
emptyDir: {} emptyDir: {}
- name: mistralconf - name: mistral-etc
configMap: configMap:
name: mistral-etc name: mistral-etc
{{ 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 }}

View File

@ -58,7 +58,7 @@ spec:
volumeMounts: volumeMounts:
- name: pod-etc-mistral - name: pod-etc-mistral
mountPath: /etc/mistral mountPath: /etc/mistral
- name: mistralconf - name: mistral-etc
mountPath: /etc/mistral/mistral.conf mountPath: /etc/mistral/mistral.conf
subPath: mistral.conf subPath: mistral.conf
readOnly: true readOnly: true
@ -66,7 +66,7 @@ spec:
volumes: volumes:
- name: pod-etc-mistral - name: pod-etc-mistral
emptyDir: {} emptyDir: {}
- name: mistralconf - name: mistral-etc
configMap: configMap:
name: mistral-etc name: mistral-etc
{{ 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 }}

View File

@ -50,12 +50,12 @@ spec:
- bash - bash
- /tmp/openvswitch-db-server.sh - /tmp/openvswitch-db-server.sh
volumeMounts: volumeMounts:
- name: openvswitchdbserversh - name: neutron-bin
mountPath: /tmp/openvswitch-db-server.sh mountPath: /tmp/openvswitch-db-server.sh
subPath: openvswitch-db-server.sh subPath: openvswitch-db-server.sh
readOnly: true readOnly: true
- mountPath: /etc/resolv.conf - name: neutron-etc
name: resolvconf mountPath: /etc/resolv.conf
subPath: resolv.conf subPath: resolv.conf
readOnly: true readOnly: true
- name: varlibopenvswitch - name: varlibopenvswitch
@ -63,12 +63,12 @@ spec:
- name: run - name: run
mountPath: /run mountPath: /run
volumes: volumes:
- name: openvswitchdbserversh - name: neutron-bin
configMap: configMap:
name: neutron-bin name: neutron-bin
- name: varlibopenvswitch - name: varlibopenvswitch
emptyDir: {} emptyDir: {}
- name: resolvconf - name: neutron-etc
configMap: configMap:
name: neutron-etc name: neutron-etc
- name: libmodules - name: libmodules

View File

@ -55,14 +55,14 @@ spec:
readOnly: true readOnly: true
- name: etcneutron - name: etcneutron
mountPath: /etc/neutron mountPath: /etc/neutron
- name: neutronconf - name: neutron-etc
mountPath: /etc/neutron/neutron.conf mountPath: /etc/neutron/neutron.conf
subPath: neutron.conf subPath: neutron.conf
readOnly: true readOnly: true
volumes: volumes:
- name: etcneutron - name: etcneutron
emptyDir: {} emptyDir: {}
- name: neutronconf - name: neutron-etc
configMap: configMap:
name: neutron-etc name: neutron-etc
- name: neutron-bin - name: neutron-bin

View File

@ -60,18 +60,18 @@ spec:
readOnly: true readOnly: true
- name: etcneutron - name: etcneutron
mountPath: /etc/neutron mountPath: /etc/neutron
- name: neutronconf - name: neutron-etc
mountPath: /etc/neutron/neutron.conf mountPath: /etc/neutron/neutron.conf
subPath: neutron.conf subPath: neutron.conf
readOnly: true readOnly: true
- name: neutronconf - name: neutron-etc
mountPath: /etc/neutron/plugins/ml2/ml2_conf.ini mountPath: /etc/neutron/plugins/ml2/ml2_conf.ini
subPath: ml2_conf.ini subPath: ml2_conf.ini
readOnly: true readOnly: true
volumes: volumes:
- name: etcneutron - name: etcneutron
emptyDir: {} emptyDir: {}
- name: neutronconf - name: neutron-etc
configMap: configMap:
name: neutron-etc name: neutron-etc
- name: neutron-bin - name: neutron-bin

View File

@ -57,13 +57,13 @@ spec:
mountPath: /tmp/bootstrap.sh mountPath: /tmp/bootstrap.sh
subPath: bootstrap.sh subPath: bootstrap.sh
readOnly: true readOnly: true
- name: novaconf - name: nova-etc
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: novaconf - name: nova-etc
configMap: configMap:
name: nova-etc name: nova-etc
- name: nova-bin - name: nova-bin

View File

@ -64,7 +64,7 @@ spec:
readOnly: true readOnly: true
- name: etcnova - name: etcnova
mountPath: /etc/nova mountPath: /etc/nova
- name: novaconf - name: nova-etc
mountPath: /etc/nova/nova.conf mountPath: /etc/nova/nova.conf
subPath: nova.conf subPath: nova.conf
readOnly: true readOnly: true
@ -102,14 +102,14 @@ spec:
readOnly: true readOnly: true
- name: etcnova - name: etcnova
mountPath: /etc/nova mountPath: /etc/nova
- name: novaconf - name: nova-etc
mountPath: /etc/nova/nova.conf mountPath: /etc/nova/nova.conf
subPath: nova.conf subPath: nova.conf
readOnly: true readOnly: true
volumes: volumes:
- name: etcnova - name: etcnova
emptyDir: {} emptyDir: {}
- name: novaconf - name: nova-etc
configMap: configMap:
name: nova-etc name: nova-etc
- name: nova-bin - name: nova-bin

View File

@ -52,14 +52,14 @@ spec:
readOnly: true readOnly: true
- name: etcnova - name: etcnova
mountPath: /etc/nova mountPath: /etc/nova
- name: novaconf - name: nova-etc
mountPath: /etc/nova/nova.conf mountPath: /etc/nova/nova.conf
subPath: nova.conf subPath: nova.conf
readOnly: true readOnly: true
volumes: volumes:
- name: etcnova - name: etcnova
emptyDir: {} emptyDir: {}
- name: novaconf - name: nova-etc
configMap: configMap:
name: nova-etc name: nova-etc
- name: nova-bin - name: nova-bin