Cleanup: fix neutron db-job manifest and rally pod permissions.

This PS removes the duplicate command key in the Neutron DB-Job
manifest and corrects the rally pod permisions.

Change-Id: I97b9a9ab54609696ac763f3a319f6df78fe5d73c
This commit is contained in:
Pete Birley 2017-07-06 14:56:09 -05:00
parent 568ca0aa62
commit fecac47b5a
3 changed files with 2 additions and 10 deletions

View File

@ -39,7 +39,6 @@ spec:
- name: RALLY_ENV_NAME
value: {{.Release.Name}}
command:
- bash
- /tmp/rally-test.sh
volumeMounts:
- name: cinder-etc
@ -60,6 +59,7 @@ spec:
- name: cinder-bin
configMap:
name: cinder-bin
defaultMode: 0555
- name: rally-db
emptyDir: {}
{{- if $mounts_cinder_tests.volumes }}{{ toYaml $mounts_cinder_tests.volumes | indent 4 }}{{ end }}

View File

@ -39,7 +39,6 @@ spec:
- name: RALLY_ENV_NAME
value: {{.Release.Name}}
command:
- bash
- /tmp/rally-test.sh
volumeMounts:
- name: glance-etc
@ -60,6 +59,7 @@ spec:
- name: glance-bin
configMap:
name: glance-bin
defaultMode: 0555
- name: rally-db
emptyDir: {}
{{- if $mounts_glance_tests.volumes }}{{ toYaml $mounts_glance_tests.volumes | indent 4 }}{{ end }}

View File

@ -32,14 +32,6 @@ spec:
image: {{ .Values.images.db_sync }}
imagePullPolicy: {{ .Values.images.pull_policy }}
{{ tuple $envAll $envAll.Values.resources.jobs.db_sync | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
command:
- neutron-db-manage
- --config-file
- /etc/neutron/neutron.conf
- --config-file
- /etc/neutron/plugins/ml2/ml2_conf.ini
- upgrade
- head
{{- if .Values.resources.enabled }}
resources:
limits: