Trued up nodeselector values for nova and neutron

The Nova and Neutron charts use more granular node labels;
this trues up the their jobs' nodeselectors to use them.

Fix for https://github.com/att-comdev/openstack-helm/issues/119
This commit is contained in:
mattmceuen 2017-01-15 15:25:40 -06:00
parent 98815dc3f1
commit 16066adf11
6 changed files with 9 additions and 9 deletions

View File

@ -7,7 +7,7 @@ spec:
spec:
restartPolicy: OnFailure
nodeSelector:
{{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}
{{ .Values.labels.server.node_selector_key }}: {{ .Values.labels.server.node_selector_value }}
containers:
- name: neutron-db-sync
image: {{ .Values.images.db_sync }}
@ -42,4 +42,4 @@ spec:
name: neutron-etc
- name: ml2confini
configMap:
name: neutron-etc
name: neutron-etc

View File

@ -7,7 +7,7 @@ spec:
spec:
restartPolicy: OnFailure
nodeSelector:
{{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}
{{ .Values.labels.server.node_selector_key }}: {{ .Values.labels.server.node_selector_value }}
containers:
- name: neutron-init
image: {{ .Values.images.init }}
@ -36,4 +36,4 @@ spec:
volumes:
- name: initsh
configMap:
name: neutron-bin
name: neutron-bin

View File

@ -7,7 +7,7 @@ spec:
spec:
restartPolicy: OnFailure
nodeSelector:
{{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}
{{ .Values.labels.server.node_selector_key }}: {{ .Values.labels.server.node_selector_value }}
containers:
- name: neutron-post
image: {{ .Values.images.post }}
@ -38,4 +38,4 @@ spec:
volumes:
- name: postsh
configMap:
name: neutron-bin
name: neutron-bin

View File

@ -34,7 +34,7 @@ spec:
spec:
restartPolicy: OnFailure
nodeSelector:
{{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}
{{ .Values.labels.control_node_selector_key }}: {{ .Values.labels.control_node_selector_value }}
containers:
- name: nova-db-sync
image: {{ .Values.image.db_sync }}

View File

@ -34,7 +34,7 @@ spec:
spec:
restartPolicy: OnFailure
nodeSelector:
{{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}
{{ .Values.labels.control_node_selector_key }}: {{ .Values.labels.control_node_selector_value }}
containers:
- name: nova-init
image: {{ .Values.image.init }}

View File

@ -34,7 +34,7 @@ spec:
spec:
restartPolicy: OnFailure
nodeSelector:
{{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}
{{ .Values.labels.control_node_selector_key }}: {{ .Values.labels.control_node_selector_value }}
containers:
- name: nova-post
image: {{ .Values.image.post }}