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

View File

@ -54,14 +54,12 @@ spec:
memory: {{ .Values.resources.api.requests.memory | quote }}
{{- end }}
command:
- bash
- /tmp/barbican.sh
- start
lifecycle:
preStop:
exec:
command:
- bash
- /tmp/barbican.sh
- stop
ports:
@ -106,4 +104,5 @@ spec:
- name: barbican-bin
configMap:
name: barbican-bin
defaultMode: 0555
{{ 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
value: sql_connection
command:
- python
- /tmp/db-init.py
volumeMounts:
- name: barbican-bin
@ -72,3 +71,4 @@ spec:
- name: barbican-bin
configMap:
name: barbican-bin
defaultMode: 0555

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -57,14 +57,12 @@ spec:
memory: {{ .Values.resources.api.requests.memory | quote }}
{{- end }}
command:
- bash
- /tmp/keystone-api.sh
- start
lifecycle:
preStop:
exec:
command:
- bash
- /tmp/keystone-api.sh
- stop
ports:
@ -116,4 +114,5 @@ spec:
- name: keystone-bin
configMap:
name: keystone-bin
defaultMode: 0555
{{ 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
value: connection
command:
- python
- /tmp/db-init.py
volumeMounts:
- name: etckeystone
@ -79,4 +78,5 @@ spec:
- name: keystone-bin
configMap:
name: keystone-bin
defaultMode: 0555
{{ 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 }}
{{- end }}
command:
- bash
- /tmp/db-sync.sh
volumeMounts:
- name: etckeystone
@ -67,4 +66,5 @@ spec:
- name: keystone-bin
configMap:
name: keystone-bin
defaultMode: 0555
{{ 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 }}
{{- end }}
command:
- bash
- /tmp/magnum-api.sh
- start
lifecycle:
preStop:
exec:
command:
- bash
- /tmp/magnum-api.sh
- stop
ports:
@ -102,6 +100,7 @@ spec:
- name: magnum-bin
configMap:
name: magnum-bin
defaultMode: 0555
- name: magnum-etc
configMap:
name: magnum-etc

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -43,7 +43,6 @@ spec:
cpu: {{ .Values.resources.bootstrap.limits.cpu | quote }}
{{- end }}
command:
- bash
- /tmp/bootstrap.sh
env:
{{- with $env := dict "ksUserSecret" $ksAdminSecret }}
@ -66,4 +65,5 @@ spec:
- name: nova-bin
configMap:
name: nova-bin
defaultMode: 0555
{{ 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
value: connection
command:
- python
- /tmp/db-init.py
volumeMounts:
- name: nova-bin
@ -90,7 +89,6 @@ spec:
- name: OPENSTACK_CONFIG_DB_KEY
value: connection
command:
- python
- /tmp/db-init.py
volumeMounts:
- name: nova-bin
@ -112,3 +110,4 @@ spec:
- name: nova-bin
configMap:
name: nova-bin
defaultMode: 0555

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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