Bug: Fixes in nodeport indentation and missing brackets

This PS fixes indentation and some missing {{ }} brackets in barbican, glance, and nova

Change-Id: I3f0c9afed8693662a7bc9e8df3b8f384b76243bb
This commit is contained in:
lukepatrick 2017-08-14 09:24:55 -06:00
parent a95845062f
commit 2b683908c2
4 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ spec:
- name: b-api
port: {{ .Values.conf.barbican.barbican_api.barbican.config.bind_port }}
{{ if .Values.network.api.node_port.enabled }}
nodePort: .Values.network.api.node_port.port
nodePort: {{ .Values.network.api.node_port.port }}
{{ end }}
selector:
{{ tuple $envAll "barbican" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}

View File

@ -26,7 +26,7 @@ spec:
- name: g-api
port: {{ .Values.conf.glance.default.glance.api.bind_port }}
{{ if .Values.network.api.node_port.enabled }}
nodePort: .Values.network.api.node_port.port
nodePort: {{ .Values.network.api.node_port.port }}
{{ end }}
selector:
{{ tuple $envAll "glance" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}

View File

@ -23,10 +23,10 @@ metadata:
name: {{ tuple "image_registry" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
spec:
ports:
- name: g-reg
port: {{ .Values.conf.glance_registry.default.glance.registry.bind_port }}
- name: g-reg
port: {{ .Values.conf.glance_registry.default.glance.registry.bind_port }}
{{ if .Values.network.registry.node_port.enabled }}
nodePort: {{ .Values.network.registry.node_port.port }}
nodePort: {{ .Values.network.registry.node_port.port }}
{{ end }}
selector:
{{ tuple $envAll "glance" "registry" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}

View File

@ -26,7 +26,7 @@ spec:
- name: n-meta
port: {{ .Values.network.metadata.port }}
{{ if .Values.network.metadata.node_port.enabled }}
nodePort: {{ .Values.network.metadata.node_port.port }}
nodePort: {{ .Values.network.metadata.node_port.port }}
{{ end }}
selector:
{{ tuple $envAll "nova" "metadata" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}