diff --git a/keystone/templates/service.yaml b/keystone/templates/service.yaml index 59f7c9945a..4c70ed5d5e 100644 --- a/keystone/templates/service.yaml +++ b/keystone/templates/service.yaml @@ -32,7 +32,6 @@ spec: app: keystone-api selector: app: keystone-api - {{ if .Values.network.api.node_port.enabled }} - {{ or .Values.network.admin.node_port.enabled}} + {{ if or (.Values.network.api.node_port.enabled) (.Values.network.admin.node_port.enabled) }} type: NodePort {{ end }}