From 53966ecbe107e243cf1120802a8604a077a814dd Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Fri, 11 Aug 2017 09:17:57 -0500 Subject: [PATCH] Bug: Fixs nodeport indentation in keystone and barbican This PS fixes the nodeport indentation in keystone and barbican. Change-Id: I3903fcf3b1a3309b6b5e6324053682e7418cb0bc --- barbican/templates/service-api.yaml | 2 +- keystone/templates/service-api.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/barbican/templates/service-api.yaml b/barbican/templates/service-api.yaml index 43ecf80adb..821d730bb9 100644 --- a/barbican/templates/service-api.yaml +++ b/barbican/templates/service-api.yaml @@ -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 }} diff --git a/keystone/templates/service-api.yaml b/keystone/templates/service-api.yaml index 470158fda0..28238ca4fe 100644 --- a/keystone/templates/service-api.yaml +++ b/keystone/templates/service-api.yaml @@ -26,12 +26,12 @@ spec: - name: ks-pub port: {{ .Values.network.api.port }} {{ if .Values.network.api.node_port.enabled }} - nodePort: {{ .Values.network.api.node_port.port }} + nodePort: {{ .Values.network.api.node_port.port }} {{ end }} - name: ks-adm port: {{ .Values.network.admin.port }} {{ if .Values.network.admin.node_port.enabled }} - nodePort: {{ .Values.network.admin.node_port.port }} + nodePort: {{ .Values.network.admin.node_port.port }} {{ end }} selector: {{ tuple $envAll "keystone" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}