Configmaps: set default mode of files in *-bin configmaps to +x

This PS sets the default modetype of mounts from *-bin configmaps
to 0555, and removes the then unnecessary commands from the manifests.

Change-Id: I93ce0facb06affdf362a58f8520e69ba94ea3034
This commit is contained in:
Pete Birley 2017-06-12 00:22:30 -05:00
parent e4954a861b
commit 81aef1ecea
85 changed files with 85 additions and 103 deletions
barbican/templates
cinder/templates
glance/templates
heat/templates
horizon/templates
keystone/templates
magnum/templates
mariadb/templates
mistral/templates
neutron/templates
nova/templates
senlin/templates

View File

@ -54,14 +54,12 @@ spec:
memory: {{ .Values.resources.api.requests.memory | quote }} memory: {{ .Values.resources.api.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/barbican.sh - /tmp/barbican.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/barbican.sh - /tmp/barbican.sh
- stop - stop
ports: ports:
@ -106,4 +104,5 @@ spec:
- name: barbican-bin - name: barbican-bin
configMap: configMap:
name: barbican-bin name: barbican-bin
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 }}

View File

@ -50,7 +50,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY - name: OPENSTACK_CONFIG_DB_KEY
value: sql_connection value: sql_connection
command: command:
- python
- /tmp/db-init.py - /tmp/db-init.py
volumeMounts: volumeMounts:
- name: barbican-bin - name: barbican-bin
@ -72,3 +71,4 @@ spec:
- name: barbican-bin - name: barbican-bin
configMap: configMap:
name: barbican-bin name: barbican-bin
defaultMode: 0555

View File

@ -38,7 +38,6 @@ spec:
memory: {{ .Values.resources.jobs.db.requests.memory | quote }} memory: {{ .Values.resources.jobs.db.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/db-sync.sh - /tmp/db-sync.sh
volumeMounts: volumeMounts:
- name: etcbarbican - name: etcbarbican
@ -60,3 +59,4 @@ spec:
- name: barbican-bin - name: barbican-bin
configMap: configMap:
name: barbican-bin name: barbican-bin
defaultMode: 0555

View File

@ -41,7 +41,6 @@ spec:
cpu: {{ $envAll.Values.resources.ks_endpoints.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.ks_endpoints.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-endpoints.sh - /tmp/ks-endpoints.sh
volumeMounts: volumeMounts:
- name: ks-endpoints-sh - name: ks-endpoints-sh
@ -66,3 +65,4 @@ spec:
- name: ks-endpoints-sh - name: ks-endpoints-sh
configMap: configMap:
name: barbican-bin name: barbican-bin
defaultMode: 0555

View File

@ -40,7 +40,6 @@ spec:
cpu: {{ $envAll.Values.resources.ks_service.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.ks_service.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-service.sh - /tmp/ks-service.sh
volumeMounts: volumeMounts:
- name: ks-service-sh - name: ks-service-sh
@ -60,3 +59,4 @@ spec:
- name: ks-service-sh - name: ks-service-sh
configMap: configMap:
name: barbican-bin name: barbican-bin
defaultMode: 0555

View File

@ -40,7 +40,6 @@ spec:
cpu: {{ .Values.resources.ks_user.limits.cpu | quote }} cpu: {{ .Values.resources.ks_user.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-user.sh - /tmp/ks-user.sh
volumeMounts: volumeMounts:
- name: ks-user-sh - name: ks-user-sh
@ -62,3 +61,4 @@ spec:
- name: ks-user-sh - name: ks-user-sh
configMap: configMap:
name: barbican-bin name: barbican-bin
defaultMode: 0555

View File

@ -57,14 +57,12 @@ spec:
cpu: {{ .Values.resources.cinder_api.limits.cpu | quote }} cpu: {{ .Values.resources.cinder_api.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/cinder-api.sh - /tmp/cinder-api.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/cinder-api.sh - /tmp/cinder-api.sh
- stop - stop
ports: ports:
@ -99,6 +97,7 @@ spec:
- name: cinder-bin - name: cinder-bin
configMap: configMap:
name: cinder-bin name: cinder-bin
defaultMode: 0555
- name: cinder-etc - name: cinder-etc
configMap: configMap:
name: cinder-etc name: cinder-etc

View File

@ -56,7 +56,6 @@ spec:
cpu: {{ .Values.resources.cinder_scheduler.limits.cpu | quote }} cpu: {{ .Values.resources.cinder_scheduler.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/cinder-scheduler.sh - /tmp/cinder-scheduler.sh
volumeMounts: volumeMounts:
- name: pod-var-cache-cinder - name: pod-var-cache-cinder
@ -84,6 +83,7 @@ spec:
- name: cinder-bin - name: cinder-bin
configMap: configMap:
name: cinder-bin name: cinder-bin
defaultMode: 0555
- name: cinder-etc - name: cinder-etc
configMap: configMap:
name: cinder-etc name: cinder-etc

View File

@ -56,7 +56,6 @@ spec:
cpu: {{ .Values.resources.cinder_volume.limits.cpu | quote }} cpu: {{ .Values.resources.cinder_volume.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/cinder-volume.sh - /tmp/cinder-volume.sh
volumeMounts: volumeMounts:
- name: pod-var-cache-cinder - name: pod-var-cache-cinder
@ -90,6 +89,7 @@ spec:
- name: cinder-bin - name: cinder-bin
configMap: configMap:
name: cinder-bin name: cinder-bin
defaultMode: 0555
- name: cinder-etc - name: cinder-etc
configMap: configMap:
name: cinder-etc name: cinder-etc

View File

@ -52,7 +52,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY - name: OPENSTACK_CONFIG_DB_KEY
value: connection value: connection
command: command:
- python
- /tmp/db-init.py - /tmp/db-init.py
volumeMounts: volumeMounts:
- name: cinder-bin - name: cinder-bin
@ -74,3 +73,4 @@ spec:
- name: cinder-bin - name: cinder-bin
configMap: configMap:
name: cinder-bin name: cinder-bin
defaultMode: 0555

View File

@ -40,7 +40,6 @@ spec:
cpu: {{ .Values.resources.cinder_db_sync.limits.cpu | quote }} cpu: {{ .Values.resources.cinder_db_sync.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/db-sync.sh - /tmp/db-sync.sh
volumeMounts: volumeMounts:
- name: cinder-bin - name: cinder-bin
@ -62,3 +61,4 @@ spec:
- name: cinder-bin - name: cinder-bin
configMap: configMap:
name: cinder-bin name: cinder-bin
defaultMode: 0555

View File

@ -43,7 +43,6 @@ spec:
cpu: {{ $envAll.Values.resources.cinder_ks_endpoints.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.cinder_ks_endpoints.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-endpoints.sh - /tmp/ks-endpoints.sh
volumeMounts: volumeMounts:
- name: ks-endpoints-sh - name: ks-endpoints-sh
@ -68,3 +67,4 @@ spec:
- name: ks-endpoints-sh - name: ks-endpoints-sh
configMap: configMap:
name: cinder-bin name: cinder-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ $envAll.Values.resources.cinder_ks_service.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.cinder_ks_service.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-service.sh - /tmp/ks-service.sh
volumeMounts: volumeMounts:
- name: ks-service-sh - name: ks-service-sh
@ -62,3 +61,4 @@ spec:
- name: ks-service-sh - name: ks-service-sh
configMap: configMap:
name: cinder-bin name: cinder-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ .Values.resources.cinder_ks_user.limits.cpu | quote }} cpu: {{ .Values.resources.cinder_ks_user.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-user.sh - /tmp/ks-user.sh
volumeMounts: volumeMounts:
- name: ks-user-sh - name: ks-user-sh
@ -64,3 +63,4 @@ spec:
- name: ks-user-sh - name: ks-user-sh
configMap: configMap:
name: cinder-bin name: cinder-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ .Values.resources.bootstrap.limits.cpu | quote }} cpu: {{ .Values.resources.bootstrap.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/bootstrap.sh - /tmp/bootstrap.sh
env: env:
{{- with $env := dict "ksUserSecret" $ksAdminSecret }} {{- with $env := dict "ksUserSecret" $ksAdminSecret }}
@ -62,4 +61,5 @@ spec:
- name: cinder-bin - name: cinder-bin
configMap: configMap:
name: cinder-bin name: cinder-bin
defaultMode: 0555
{{- end }} {{- end }}

View File

@ -57,14 +57,12 @@ spec:
memory: {{ .Values.resources.api.requests.memory | quote }} memory: {{ .Values.resources.api.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/glance-api.sh - /tmp/glance-api.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/glance-api.sh - /tmp/glance-api.sh
- stop - stop
ports: ports:
@ -111,6 +109,7 @@ spec:
- name: glance-bin - name: glance-bin
configMap: configMap:
name: glance-bin name: glance-bin
defaultMode: 0555
- name: glance-etc - name: glance-etc
configMap: configMap:
name: glance-etc name: glance-etc

View File

@ -49,14 +49,12 @@ spec:
memory: {{ .Values.resources.registry.requests.memory | quote }} memory: {{ .Values.resources.registry.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/glance-registry.sh - /tmp/glance-registry.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/glance-registry.sh - /tmp/glance-registry.sh
- stop - stop
ports: ports:
@ -90,6 +88,7 @@ spec:
- name: glance-bin - name: glance-bin
configMap: configMap:
name: glance-bin name: glance-bin
defaultMode: 0555
- name: glance-etc - name: glance-etc
configMap: configMap:
name: glance-etc name: glance-etc

View File

@ -45,7 +45,6 @@ spec:
{{- include "helm-toolkit.snippets.keystone_openrc_env_vars" $env | indent 12 }} {{- include "helm-toolkit.snippets.keystone_openrc_env_vars" $env | indent 12 }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/bootstrap.sh - /tmp/bootstrap.sh
volumeMounts: volumeMounts:
- name: imagedir - name: imagedir
@ -64,6 +63,7 @@ spec:
- name: glance-bin - name: glance-bin
configMap: configMap:
name: glance-bin name: glance-bin
defaultMode: 0555
- name: glance-etc - name: glance-etc
configMap: configMap:
name: glance-etc name: glance-etc

View File

@ -52,7 +52,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY - name: OPENSTACK_CONFIG_DB_KEY
value: connection value: connection
command: command:
- python
- /tmp/db-init.py - /tmp/db-init.py
volumeMounts: volumeMounts:
- name: glance-bin - name: glance-bin
@ -74,3 +73,4 @@ spec:
- name: glance-bin - name: glance-bin
configMap: configMap:
name: glance-bin name: glance-bin
defaultMode: 0555

View File

@ -40,7 +40,6 @@ spec:
memory: {{ .Values.resources.jobs.db.requests.memory | quote }} memory: {{ .Values.resources.jobs.db.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/db-sync.sh - /tmp/db-sync.sh
volumeMounts: volumeMounts:
- name: glance-bin - name: glance-bin
@ -62,3 +61,4 @@ spec:
- name: glance-bin - name: glance-bin
configMap: configMap:
name: glance-bin name: glance-bin
defaultMode: 0555

View File

@ -43,7 +43,6 @@ spec:
cpu: {{ $envAll.Values.resources.glance_ks_endpoints.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.glance_ks_endpoints.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-endpoints.sh - /tmp/ks-endpoints.sh
volumeMounts: volumeMounts:
- name: ks-endpoints-sh - name: ks-endpoints-sh
@ -68,3 +67,4 @@ spec:
- name: ks-endpoints-sh - name: ks-endpoints-sh
configMap: configMap:
name: glance-bin name: glance-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ $envAll.Values.resources.glance_ks_service.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.glance_ks_service.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-service.sh - /tmp/ks-service.sh
volumeMounts: volumeMounts:
- name: ks-service-sh - name: ks-service-sh
@ -62,3 +61,4 @@ spec:
- name: ks-service-sh - name: ks-service-sh
configMap: configMap:
name: glance-bin name: glance-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ .Values.resources.glance_ks_user.limits.cpu | quote }} cpu: {{ .Values.resources.glance_ks_user.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-user.sh - /tmp/ks-user.sh
volumeMounts: volumeMounts:
- name: ks-user-sh - name: ks-user-sh
@ -64,3 +63,4 @@ spec:
- name: ks-user-sh - name: ks-user-sh
configMap: configMap:
name: glance-bin name: glance-bin
defaultMode: 0555

View File

@ -57,14 +57,12 @@ spec:
cpu: {{ .Values.resources.heat_api.limits.cpu | quote }} cpu: {{ .Values.resources.heat_api.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/heat-api.sh - /tmp/heat-api.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/heat-api.sh - /tmp/heat-api.sh
- stop - stop
ports: ports:
@ -102,6 +100,7 @@ spec:
- name: heat-bin - name: heat-bin
configMap: configMap:
name: heat-bin name: heat-bin
defaultMode: 0555
- name: heat-etc - name: heat-etc
configMap: configMap:
name: heat-etc name: heat-etc

View File

@ -57,14 +57,12 @@ spec:
cpu: {{ .Values.resources.heat_cfn.limits.cpu | quote }} cpu: {{ .Values.resources.heat_cfn.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/heat-cfn.sh - /tmp/heat-cfn.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/heat-cfn.sh - /tmp/heat-cfn.sh
- stop - stop
ports: ports:
@ -102,6 +100,7 @@ spec:
- name: heat-bin - name: heat-bin
configMap: configMap:
name: heat-bin name: heat-bin
defaultMode: 0555
- name: heat-etc - name: heat-etc
configMap: configMap:
name: heat-etc name: heat-etc

View File

@ -57,14 +57,12 @@ spec:
cpu: {{ .Values.resources.heat_cloudwatch.limits.cpu | quote }} cpu: {{ .Values.resources.heat_cloudwatch.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/heat-cloudwatch.sh - /tmp/heat-cloudwatch.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/heat-cloudwatch.sh - /tmp/heat-cloudwatch.sh
- stop - stop
ports: ports:
@ -102,6 +100,7 @@ spec:
- name: heat-bin - name: heat-bin
configMap: configMap:
name: heat-bin name: heat-bin
defaultMode: 0555
- name: heat-etc - name: heat-etc
configMap: configMap:
name: heat-etc name: heat-etc

View File

@ -52,7 +52,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY - name: OPENSTACK_CONFIG_DB_KEY
value: connection value: connection
command: command:
- python
- /tmp/db-init.py - /tmp/db-init.py
volumeMounts: volumeMounts:
- name: heat-bin - name: heat-bin
@ -74,3 +73,4 @@ spec:
- name: heat-bin - name: heat-bin
configMap: configMap:
name: heat-bin name: heat-bin
defaultMode: 0555

View File

@ -40,7 +40,6 @@ spec:
cpu: {{ .Values.resources.heat_db_sync.limits.cpu | quote }} cpu: {{ .Values.resources.heat_db_sync.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/db-sync.sh - /tmp/db-sync.sh
volumeMounts: volumeMounts:
- name: heat-bin - name: heat-bin
@ -62,3 +61,4 @@ spec:
- name: heat-bin - name: heat-bin
configMap: configMap:
name: heat-bin name: heat-bin
defaultMode: 0555

View File

@ -43,7 +43,6 @@ spec:
cpu: {{ $envAll.Values.resources.heat_ks_endpoints.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.heat_ks_endpoints.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-endpoints.sh - /tmp/ks-endpoints.sh
volumeMounts: volumeMounts:
- name: ks-endpoints-sh - name: ks-endpoints-sh
@ -68,3 +67,4 @@ spec:
- name: ks-endpoints-sh - name: ks-endpoints-sh
configMap: configMap:
name: heat-bin name: heat-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ $envAll.Values.resources.heat_ks_service.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.heat_ks_service.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-service.sh - /tmp/ks-service.sh
volumeMounts: volumeMounts:
- name: ks-service-sh - name: ks-service-sh
@ -62,3 +61,4 @@ spec:
- name: ks-service-sh - name: ks-service-sh
configMap: configMap:
name: heat-bin name: heat-bin
defaultMode: 0555

View File

@ -45,7 +45,6 @@ spec:
cpu: {{ .Values.resources.heat_ks_user.limits.cpu | quote }} cpu: {{ .Values.resources.heat_ks_user.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-user.sh - /tmp/ks-user.sh
volumeMounts: volumeMounts:
- name: ks-user-sh - name: ks-user-sh
@ -128,3 +127,4 @@ spec:
- name: ks-user-sh - name: ks-user-sh
configMap: configMap:
name: heat-bin name: heat-bin
defaultMode: 0555

View File

@ -46,7 +46,6 @@ spec:
cpu: {{ .Values.resources.heat_engine.limits.cpu | quote }} cpu: {{ .Values.resources.heat_engine.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/heat-engine.sh - /tmp/heat-engine.sh
volumeMounts: volumeMounts:
- name: pod-etc-heat - name: pod-etc-heat
@ -74,6 +73,7 @@ spec:
- name: heat-bin - name: heat-bin
configMap: configMap:
name: heat-bin name: heat-bin
defaultMode: 0555
- name: heat-etc - name: heat-etc
configMap: configMap:
name: heat-etc name: heat-etc

View File

@ -57,14 +57,12 @@ spec:
memory: {{ .Values.resources.dashboard.requests.memory | quote }} memory: {{ .Values.resources.dashboard.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/horizon.sh - /tmp/horizon.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/horizon.sh - /tmp/horizon.sh
- stop - stop
ports: ports:
@ -92,6 +90,7 @@ spec:
- name: startsh - name: startsh
configMap: configMap:
name: horizon-bin name: horizon-bin
defaultMode: 0555
- name: horizon-etc - name: horizon-etc
configMap: configMap:
name: horizon-etc name: horizon-etc

View File

@ -57,14 +57,12 @@ spec:
memory: {{ .Values.resources.api.requests.memory | quote }} memory: {{ .Values.resources.api.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/keystone-api.sh - /tmp/keystone-api.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/keystone-api.sh - /tmp/keystone-api.sh
- stop - stop
ports: ports:
@ -116,4 +114,5 @@ spec:
- name: keystone-bin - name: keystone-bin
configMap: configMap:
name: keystone-bin name: keystone-bin
defaultMode: 0555
{{ 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 }}

View File

@ -56,7 +56,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY - name: OPENSTACK_CONFIG_DB_KEY
value: connection value: connection
command: command:
- python
- /tmp/db-init.py - /tmp/db-init.py
volumeMounts: volumeMounts:
- name: etckeystone - name: etckeystone
@ -79,4 +78,5 @@ spec:
- name: keystone-bin - name: keystone-bin
configMap: configMap:
name: keystone-bin name: keystone-bin
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 }}

View File

@ -44,7 +44,6 @@ spec:
memory: {{ .Values.resources.jobs.db_sync.requests.memory | quote }} memory: {{ .Values.resources.jobs.db_sync.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/db-sync.sh - /tmp/db-sync.sh
volumeMounts: volumeMounts:
- name: etckeystone - name: etckeystone
@ -67,4 +66,5 @@ spec:
- name: keystone-bin - name: keystone-bin
configMap: configMap:
name: keystone-bin name: keystone-bin
defaultMode: 0555
{{ 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 }}

View File

@ -57,14 +57,12 @@ spec:
cpu: {{ .Values.resources.magnum_api.limits.cpu | quote }} cpu: {{ .Values.resources.magnum_api.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/magnum-api.sh - /tmp/magnum-api.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/magnum-api.sh - /tmp/magnum-api.sh
- stop - stop
ports: ports:
@ -102,6 +100,7 @@ spec:
- name: magnum-bin - name: magnum-bin
configMap: configMap:
name: magnum-bin name: magnum-bin
defaultMode: 0555
- name: magnum-etc - name: magnum-etc
configMap: configMap:
name: magnum-etc name: magnum-etc

View File

@ -52,7 +52,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY - name: OPENSTACK_CONFIG_DB_KEY
value: connection value: connection
command: command:
- python
- /tmp/db-init.py - /tmp/db-init.py
volumeMounts: volumeMounts:
- name: magnum-bin - name: magnum-bin
@ -74,3 +73,4 @@ spec:
- name: magnum-bin - name: magnum-bin
configMap: configMap:
name: magnum-bin name: magnum-bin
defaultMode: 0555

View File

@ -40,7 +40,6 @@ spec:
cpu: {{ .Values.resources.magnum_db_sync.limits.cpu | quote }} cpu: {{ .Values.resources.magnum_db_sync.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/db-sync.sh - /tmp/db-sync.sh
volumeMounts: volumeMounts:
- name: magnum-bin - name: magnum-bin
@ -62,3 +61,4 @@ spec:
- name: magnum-bin - name: magnum-bin
configMap: configMap:
name: magnum-bin name: magnum-bin
defaultMode: 0555

View File

@ -43,7 +43,6 @@ spec:
cpu: {{ $envAll.Values.resources.magnum_ks_endpoints.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.magnum_ks_endpoints.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-endpoints.sh - /tmp/ks-endpoints.sh
volumeMounts: volumeMounts:
- name: ks-endpoints-sh - name: ks-endpoints-sh
@ -68,3 +67,4 @@ spec:
- name: ks-endpoints-sh - name: ks-endpoints-sh
configMap: configMap:
name: magnum-bin name: magnum-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ $envAll.Values.resources.magnum_ks_service.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.magnum_ks_service.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-service.sh - /tmp/ks-service.sh
volumeMounts: volumeMounts:
- name: ks-service-sh - name: ks-service-sh
@ -62,3 +61,4 @@ spec:
- name: ks-service-sh - name: ks-service-sh
configMap: configMap:
name: magnum-bin name: magnum-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ .Values.resources.magnum_ks_user.limits.cpu | quote }} cpu: {{ .Values.resources.magnum_ks_user.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-user.sh - /tmp/ks-user.sh
volumeMounts: volumeMounts:
- name: ks-user-sh - name: ks-user-sh
@ -64,3 +63,4 @@ spec:
- name: ks-user-sh - name: ks-user-sh
configMap: configMap:
name: magnum-bin name: magnum-bin
defaultMode: 0555

View File

@ -46,7 +46,6 @@ spec:
cpu: {{ .Values.resources.magnum_conductor.limits.cpu | quote }} cpu: {{ .Values.resources.magnum_conductor.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/magnum-conductor.sh - /tmp/magnum-conductor.sh
volumeMounts: volumeMounts:
- name: magnum-bin - name: magnum-bin
@ -74,6 +73,7 @@ spec:
- name: magnum-bin - name: magnum-bin
configMap: configMap:
name: magnum-bin name: magnum-bin
defaultMode: 0555
- name: magnum-etc - name: magnum-etc
configMap: configMap:
name: magnum-etc name: magnum-etc

View File

@ -63,7 +63,6 @@ spec:
memory: {{ .Values.resources.api.requests.memory | quote }} memory: {{ .Values.resources.api.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/start.sh - /tmp/start.sh
env: env:
- name: POD_IP - name: POD_IP
@ -77,7 +76,6 @@ spec:
readinessProbe: readinessProbe:
exec: exec:
command: command:
- bash
- /tmp/readiness.sh - /tmp/readiness.sh
volumeMounts: volumeMounts:
- name: mycnfd - name: mycnfd
@ -114,6 +112,7 @@ spec:
- name: mariadb-bin - name: mariadb-bin
configMap: configMap:
name: mariadb-bin name: mariadb-bin
defaultMode: 0555
- name: mariadb-etc - name: mariadb-etc
configMap: configMap:
name: mariadb-etc name: mariadb-etc

View File

@ -57,14 +57,12 @@ spec:
memory: {{ .Values.resources.api.requests.memory | quote }} memory: {{ .Values.resources.api.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/mistral-api.sh - /tmp/mistral-api.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/mistral-api.sh - /tmp/mistral-api.sh
- stop - stop
ports: ports:
@ -95,6 +93,7 @@ spec:
- name: mistral-bin - name: mistral-bin
configMap: configMap:
name: mistral-bin name: mistral-bin
defaultMode: 0555
- name: mistral-etc - name: mistral-etc
configMap: configMap:
name: mistral-etc name: mistral-etc

View File

@ -56,7 +56,6 @@ spec:
memory: {{ .Values.resources.executor.requests.memory | quote }} memory: {{ .Values.resources.executor.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/mistral-executor.sh - /tmp/mistral-executor.sh
volumeMounts: volumeMounts:
- name: pod-etc-mistral - name: pod-etc-mistral
@ -76,6 +75,7 @@ spec:
- name: mistral-bin - name: mistral-bin
configMap: configMap:
name: mistral-bin name: mistral-bin
defaultMode: 0555
- name: mistral-etc - name: mistral-etc
configMap: configMap:
name: mistral-etc name: mistral-etc

View File

@ -52,7 +52,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY - name: OPENSTACK_CONFIG_DB_KEY
value: connection value: connection
command: command:
- python
- /tmp/db-init.py - /tmp/db-init.py
volumeMounts: volumeMounts:
- name: mistral-bin - name: mistral-bin
@ -69,6 +68,7 @@ spec:
- name: mistral-bin - name: mistral-bin
configMap: configMap:
name: mistral-bin name: mistral-bin
defaultMode: 0555
- name: pod-etc-mistral - name: pod-etc-mistral
emptyDir: {} emptyDir: {}
- name: mistral-etc - name: mistral-etc

View File

@ -41,7 +41,6 @@ spec:
cpu: {{ .Values.resources.mistral_db_sync.limits.cpu | quote }} cpu: {{ .Values.resources.mistral_db_sync.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/db-sync.sh - /tmp/db-sync.sh
volumeMounts: volumeMounts:
- name: pod-etc-mistral - name: pod-etc-mistral
@ -63,3 +62,4 @@ spec:
- name: mistral-bin - name: mistral-bin
configMap: configMap:
name: mistral-bin name: mistral-bin
defaultMode: 0555

View File

@ -43,7 +43,6 @@ spec:
cpu: {{ $envAll.Values.resources.mistral_ks_endpoints.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.mistral_ks_endpoints.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-endpoints.sh - /tmp/ks-endpoints.sh
volumeMounts: volumeMounts:
- name: ks-endpoints-sh - name: ks-endpoints-sh
@ -68,3 +67,4 @@ spec:
- name: ks-endpoints-sh - name: ks-endpoints-sh
configMap: configMap:
name: mistral-bin name: mistral-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ $envAll.Values.resources.mistral_ks_service.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.mistral_ks_service.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-service.sh - /tmp/ks-service.sh
volumeMounts: volumeMounts:
- name: ks-service-sh - name: ks-service-sh
@ -62,3 +61,4 @@ spec:
- name: ks-service-sh - name: ks-service-sh
configMap: configMap:
name: mistral-bin name: mistral-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ .Values.resources.mistral_ks_user.limits.cpu | quote }} cpu: {{ .Values.resources.mistral_ks_user.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-user.sh - /tmp/ks-user.sh
volumeMounts: volumeMounts:
- name: ks-user-sh - name: ks-user-sh
@ -64,3 +63,4 @@ spec:
- name: ks-user-sh - name: ks-user-sh
configMap: configMap:
name: mistral-bin name: mistral-bin
defaultMode: 0555

View File

@ -46,7 +46,6 @@ spec:
memory: {{ .Values.resources.engine.requests.memory | quote }} memory: {{ .Values.resources.engine.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/mistral-engine.sh - /tmp/mistral-engine.sh
volumeMounts: volumeMounts:
- name: pod-etc-mistral - name: pod-etc-mistral
@ -66,6 +65,7 @@ spec:
- name: mistral-bin - name: mistral-bin
configMap: configMap:
name: mistral-bin name: mistral-bin
defaultMode: 0555
- name: mistral-etc - name: mistral-etc
configMap: configMap:
name: mistral-etc name: mistral-etc

View File

@ -46,7 +46,6 @@ spec:
memory: {{ .Values.resources.event_engine.requests.memory | quote }} memory: {{ .Values.resources.event_engine.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/mistral-event-engine.sh - /tmp/mistral-event-engine.sh
volumeMounts: volumeMounts:
- name: pod-etc-mistral - name: pod-etc-mistral
@ -66,6 +65,7 @@ spec:
- name: mistral-bin - name: mistral-bin
configMap: configMap:
name: mistral-bin name: mistral-bin
defaultMode: 0555
- name: mistral-etc - name: mistral-etc
configMap: configMap:
name: mistral-etc name: mistral-etc

View File

@ -53,7 +53,6 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
command: command:
- bash
- /tmp/neutron-dhcp-agent.sh - /tmp/neutron-dhcp-agent.sh
volumeMounts: volumeMounts:
- name: neutron-bin - name: neutron-bin
@ -93,6 +92,7 @@ spec:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555
- name: neutron-etc - name: neutron-etc
configMap: configMap:
name: neutron-etc name: neutron-etc

View File

@ -53,7 +53,6 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
command: command:
- bash
- /tmp/neutron-l3-agent.sh - /tmp/neutron-l3-agent.sh
volumeMounts: volumeMounts:
- name: neutron-bin - name: neutron-bin
@ -92,6 +91,7 @@ spec:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555
- name: neutron-etc - name: neutron-etc
configMap: configMap:
name: neutron-etc name: neutron-etc

View File

@ -55,7 +55,6 @@ spec:
ports: ports:
- containerPort: {{ .Values.network.metadata.port }} - containerPort: {{ .Values.network.metadata.port }}
command: command:
- bash
- /tmp/neutron-metadata-agent.sh - /tmp/neutron-metadata-agent.sh
volumeMounts: volumeMounts:
- name: neutron-bin - name: neutron-bin
@ -91,6 +90,7 @@ spec:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555
- name: neutron-etc - name: neutron-etc
configMap: configMap:
name: neutron-etc name: neutron-etc

View File

@ -53,7 +53,6 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
command: command:
- bash
- /tmp/neutron-openvswitch-agent.sh - /tmp/neutron-openvswitch-agent.sh
# ensures this container can can see a br-int # ensures this container can can see a br-int
# bridge before its marked as ready # bridge before its marked as ready
@ -95,6 +94,7 @@ spec:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555
- name: neutron-etc - name: neutron-etc
configMap: configMap:
name: neutron-etc name: neutron-etc

View File

@ -47,7 +47,6 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
command: command:
- bash
- /tmp/openvswitch-db-server.sh - /tmp/openvswitch-db-server.sh
volumeMounts: volumeMounts:
- name: neutron-bin - name: neutron-bin
@ -66,6 +65,7 @@ spec:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555
- name: varlibopenvswitch - name: varlibopenvswitch
emptyDir: {} emptyDir: {}
- name: neutron-etc - name: neutron-etc

View File

@ -54,7 +54,6 @@ spec:
- /usr/bin/ovs-vsctl - /usr/bin/ovs-vsctl
- show - show
command: command:
- bash
- /tmp/openvswitch-vswitchd.sh - /tmp/openvswitch-vswitchd.sh
volumeMounts: volumeMounts:
- name: neutron-bin - name: neutron-bin
@ -74,6 +73,7 @@ spec:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555
- name: libmodules - name: libmodules
hostPath: hostPath:
path: /lib/modules path: /lib/modules

View File

@ -57,14 +57,12 @@ spec:
memory: {{ .Values.resources.server.requests.memory | quote }} memory: {{ .Values.resources.server.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/neutron-server.sh - /tmp/neutron-server.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/neutron-server.sh - /tmp/neutron-server.sh
- stop - stop
ports: ports:
@ -98,6 +96,7 @@ spec:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555
- name: neutron-etc - name: neutron-etc
configMap: configMap:
name: neutron-etc name: neutron-etc

View File

@ -43,7 +43,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY - name: OPENSTACK_CONFIG_DB_KEY
value: connection value: connection
command: command:
- python
- /tmp/db-init.py - /tmp/db-init.py
volumeMounts: volumeMounts:
- name: neutron-bin - name: neutron-bin
@ -65,3 +64,4 @@ spec:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555

View File

@ -48,7 +48,6 @@ spec:
memory: {{ .Values.resources.jobs.db_sync.requests.memory | quote }} memory: {{ .Values.resources.jobs.db_sync.requests.memory | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/db-sync.sh - /tmp/db-sync.sh
volumeMounts: volumeMounts:
- name: neutron-bin - name: neutron-bin
@ -74,3 +73,4 @@ spec:
- name: neutron-bin - name: neutron-bin
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555

View File

@ -43,7 +43,6 @@ spec:
cpu: {{ $envAll.Values.resources.neutron_ks_endpoints.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.neutron_ks_endpoints.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-endpoints.sh - /tmp/ks-endpoints.sh
volumeMounts: volumeMounts:
- name: ks-endpoints-sh - name: ks-endpoints-sh
@ -68,3 +67,4 @@ spec:
- name: ks-endpoints-sh - name: ks-endpoints-sh
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ $envAll.Values.resources.neutron_ks_service.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.neutron_ks_service.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-service.sh - /tmp/ks-service.sh
volumeMounts: volumeMounts:
- name: ks-service-sh - name: ks-service-sh
@ -62,3 +61,4 @@ spec:
- name: ks-service-sh - name: ks-service-sh
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ .Values.resources.neutron_ks_user.limits.cpu | quote }} cpu: {{ .Values.resources.neutron_ks_user.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-user.sh - /tmp/ks-user.sh
volumeMounts: volumeMounts:
- name: ks-user-sh - name: ks-user-sh
@ -64,3 +63,4 @@ spec:
- name: ks-user-sh - name: ks-user-sh
configMap: configMap:
name: neutron-bin name: neutron-bin
defaultMode: 0555

View File

@ -55,7 +55,6 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
command: command:
- bash
- /tmp/nova-compute.sh - /tmp/nova-compute.sh
volumeMounts: volumeMounts:
- name: nova-bin - name: nova-bin
@ -98,6 +97,7 @@ spec:
- name: nova-bin - name: nova-bin
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555
- name: nova-etc - name: nova-etc
configMap: configMap:
name: nova-etc name: nova-etc

View File

@ -47,7 +47,6 @@ spec:
postStart: postStart:
exec: exec:
command: command:
- bash
- /tmp/ceph-secret-define.sh - /tmp/ceph-secret-define.sh
{{- end }} {{- end }}
{{- if .Values.resources.enabled }} {{- if .Values.resources.enabled }}
@ -62,7 +61,6 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
command: command:
- bash
- /tmp/libvirt.sh - /tmp/libvirt.sh
volumeMounts: volumeMounts:
- name: nova-bin - name: nova-bin
@ -121,6 +119,7 @@ spec:
- name: nova-bin - name: nova-bin
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555
- name: nova-etc - name: nova-etc
configMap: configMap:
name: nova-etc name: nova-etc

View File

@ -63,14 +63,12 @@ spec:
add: add:
- NET_ADMIN - NET_ADMIN
command: command:
- bash
- /tmp/nova-api-metadata.sh - /tmp/nova-api-metadata.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/nova-api-metadata.sh - /tmp/nova-api-metadata.sh
- stop - stop
ports: ports:
@ -96,6 +94,7 @@ spec:
- name: nova-bin - name: nova-bin
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555
- name: nova-etc - name: nova-etc
configMap: configMap:
name: nova-etc name: nova-etc

View File

@ -57,14 +57,12 @@ spec:
cpu: {{ .Values.resources.nova_osapi.limits.cpu | quote }} cpu: {{ .Values.resources.nova_osapi.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/nova-api.sh - /tmp/nova-api.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/nova-api.sh - /tmp/nova-api.sh
- stop - stop
ports: ports:
@ -90,6 +88,7 @@ spec:
- name: nova-bin - name: nova-bin
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555
- name: nova-etc - name: nova-etc
configMap: configMap:
name: nova-etc name: nova-etc

View File

@ -56,7 +56,6 @@ spec:
cpu: {{ .Values.resources.nova_conductor.limits.cpu | quote }} cpu: {{ .Values.resources.nova_conductor.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/nova-conductor.sh - /tmp/nova-conductor.sh
volumeMounts: volumeMounts:
- name: nova-bin - name: nova-bin
@ -72,6 +71,7 @@ spec:
- name: nova-bin - name: nova-bin
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555
- name: nova-etc - name: nova-etc
configMap: configMap:
name: nova-etc name: nova-etc

View File

@ -57,7 +57,6 @@ spec:
cpu: {{ .Values.resources.nova_consoleauth.limits.cpu | quote }} cpu: {{ .Values.resources.nova_consoleauth.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/nova-consoleauth.sh - /tmp/nova-consoleauth.sh
volumeMounts: volumeMounts:
- name: nova-bin - name: nova-bin
@ -73,6 +72,7 @@ spec:
- name: nova-bin - name: nova-bin
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555
- name: nova-etc - name: nova-etc
configMap: configMap:
name: nova-etc name: nova-etc

View File

@ -57,7 +57,6 @@ spec:
cpu: {{ .Values.resources.nova_scheduler.limits.cpu | quote }} cpu: {{ .Values.resources.nova_scheduler.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/nova-scheduler.sh - /tmp/nova-scheduler.sh
volumeMounts: volumeMounts:
- name: nova-bin - name: nova-bin
@ -73,6 +72,7 @@ spec:
- name: nova-bin - name: nova-bin
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555
- name: nova-etc - name: nova-etc
configMap: configMap:
name: nova-etc name: nova-etc

View File

@ -43,7 +43,6 @@ spec:
cpu: {{ .Values.resources.bootstrap.limits.cpu | quote }} cpu: {{ .Values.resources.bootstrap.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/bootstrap.sh - /tmp/bootstrap.sh
env: env:
{{- with $env := dict "ksUserSecret" $ksAdminSecret }} {{- with $env := dict "ksUserSecret" $ksAdminSecret }}
@ -66,4 +65,5 @@ spec:
- name: nova-bin - name: nova-bin
configMap: configMap:
name: nova-bin name: nova-bin
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 }}

View File

@ -52,7 +52,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY - name: OPENSTACK_CONFIG_DB_KEY
value: connection value: connection
command: command:
- python
- /tmp/db-init.py - /tmp/db-init.py
volumeMounts: volumeMounts:
- name: nova-bin - name: nova-bin
@ -90,7 +89,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY - name: OPENSTACK_CONFIG_DB_KEY
value: connection value: connection
command: command:
- python
- /tmp/db-init.py - /tmp/db-init.py
volumeMounts: volumeMounts:
- name: nova-bin - name: nova-bin
@ -112,3 +110,4 @@ spec:
- name: nova-bin - name: nova-bin
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555

View File

@ -40,7 +40,6 @@ spec:
cpu: {{ .Values.resources.nova_db_sync.limits.cpu | quote }} cpu: {{ .Values.resources.nova_db_sync.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/db-sync.sh - /tmp/db-sync.sh
volumeMounts: volumeMounts:
- name: nova-bin - name: nova-bin
@ -62,3 +61,4 @@ spec:
- name: nova-bin - name: nova-bin
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555

View File

@ -43,7 +43,6 @@ spec:
cpu: {{ $envAll.Values.resources.nova_ks_endpoints.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.nova_ks_endpoints.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-endpoints.sh - /tmp/ks-endpoints.sh
volumeMounts: volumeMounts:
- name: ks-endpoints-sh - name: ks-endpoints-sh
@ -68,3 +67,4 @@ spec:
- name: ks-endpoints-sh - name: ks-endpoints-sh
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ $envAll.Values.resources.nova_ks_service.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.nova_ks_service.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-service.sh - /tmp/ks-service.sh
volumeMounts: volumeMounts:
- name: ks-service-sh - name: ks-service-sh
@ -62,3 +61,4 @@ spec:
- name: ks-service-sh - name: ks-service-sh
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ .Values.resources.nova_ks_user.limits.cpu | quote }} cpu: {{ .Values.resources.nova_ks_user.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-user.sh - /tmp/ks-user.sh
volumeMounts: volumeMounts:
- name: ks-user-sh - name: ks-user-sh
@ -64,3 +63,4 @@ spec:
- name: ks-user-sh - name: ks-user-sh
configMap: configMap:
name: nova-bin name: nova-bin
defaultMode: 0555

View File

@ -57,14 +57,12 @@ spec:
cpu: {{ .Values.resources.senlin_api.limits.cpu | quote }} cpu: {{ .Values.resources.senlin_api.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/senlin-api.sh - /tmp/senlin-api.sh
- start - start
lifecycle: lifecycle:
preStop: preStop:
exec: exec:
command: command:
- bash
- /tmp/senlin-api.sh - /tmp/senlin-api.sh
- stop - stop
ports: ports:
@ -102,6 +100,7 @@ spec:
- name: senlin-bin - name: senlin-bin
configMap: configMap:
name: senlin-bin name: senlin-bin
defaultMode: 0555
- name: senlin-etc - name: senlin-etc
configMap: configMap:
name: senlin-etc name: senlin-etc

View File

@ -52,7 +52,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY - name: OPENSTACK_CONFIG_DB_KEY
value: connection value: connection
command: command:
- python
- /tmp/db-init.py - /tmp/db-init.py
volumeMounts: volumeMounts:
- name: senlin-bin - name: senlin-bin
@ -74,3 +73,4 @@ spec:
- name: senlin-bin - name: senlin-bin
configMap: configMap:
name: senlin-bin name: senlin-bin
defaultMode: 0555

View File

@ -40,7 +40,6 @@ spec:
cpu: {{ .Values.resources.senlin_db_sync.limits.cpu | quote }} cpu: {{ .Values.resources.senlin_db_sync.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/db-sync.sh - /tmp/db-sync.sh
volumeMounts: volumeMounts:
- name: senlin-bin - name: senlin-bin
@ -62,3 +61,4 @@ spec:
- name: senlin-bin - name: senlin-bin
configMap: configMap:
name: senlin-bin name: senlin-bin
defaultMode: 0555

View File

@ -43,7 +43,6 @@ spec:
cpu: {{ $envAll.Values.resources.senlin_ks_endpoints.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.senlin_ks_endpoints.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-endpoints.sh - /tmp/ks-endpoints.sh
volumeMounts: volumeMounts:
- name: ks-endpoints-sh - name: ks-endpoints-sh
@ -68,3 +67,4 @@ spec:
- name: ks-endpoints-sh - name: ks-endpoints-sh
configMap: configMap:
name: senlin-bin name: senlin-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ $envAll.Values.resources.senlin_ks_service.limits.cpu | quote }} cpu: {{ $envAll.Values.resources.senlin_ks_service.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-service.sh - /tmp/ks-service.sh
volumeMounts: volumeMounts:
- name: ks-service-sh - name: ks-service-sh
@ -62,3 +61,4 @@ spec:
- name: ks-service-sh - name: ks-service-sh
configMap: configMap:
name: senlin-bin name: senlin-bin
defaultMode: 0555

View File

@ -42,7 +42,6 @@ spec:
cpu: {{ .Values.resources.senlin_ks_user.limits.cpu | quote }} cpu: {{ .Values.resources.senlin_ks_user.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/ks-user.sh - /tmp/ks-user.sh
volumeMounts: volumeMounts:
- name: ks-user-sh - name: ks-user-sh
@ -64,3 +63,4 @@ spec:
- name: ks-user-sh - name: ks-user-sh
configMap: configMap:
name: senlin-bin name: senlin-bin
defaultMode: 0555

View File

@ -46,7 +46,6 @@ spec:
cpu: {{ .Values.resources.senlin_engine.limits.cpu | quote }} cpu: {{ .Values.resources.senlin_engine.limits.cpu | quote }}
{{- end }} {{- end }}
command: command:
- bash
- /tmp/senlin-engine.sh - /tmp/senlin-engine.sh
volumeMounts: volumeMounts:
- name: senlin-bin - name: senlin-bin
@ -74,6 +73,7 @@ spec:
- name: senlin-bin - name: senlin-bin
configMap: configMap:
name: senlin-bin name: senlin-bin
defaultMode: 0555
- name: senlin-etc - name: senlin-etc
configMap: configMap:
name: senlin-etc name: senlin-etc