diff --git a/keystone/templates/service.yaml b/keystone/templates/service.yaml index 110326e80d..59f7c9945a 100644 --- a/keystone/templates/service.yaml +++ b/keystone/templates/service.yaml @@ -30,7 +30,9 @@ spec: {{ end }} selector: app: keystone-api - {{ if .Values.network.api.node_port.enabled or - .Values.network.admin.node_port.enabled}} + selector: + app: keystone-api + {{ if .Values.network.api.node_port.enabled }} + {{ or .Values.network.admin.node_port.enabled}} type: NodePort {{ end }}