aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/cds/charts/blueprints-processor/templates/service.yaml
diff options
context:
space:
mode:
authorJames MacNider <James.MacNider@amdocs.com>2019-03-25 20:46:47 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-25 20:46:47 +0000
commitd76196456604da6e6d97e63a4e67c13984bc19f8 (patch)
tree6916bda1b125cebef7c7f1a945e4d8ba3957cc5c /kubernetes/cds/charts/blueprints-processor/templates/service.yaml
parentc5a323b5ca632539c2fe2934addde8dd6d16996c (diff)
parent63df1632614f9af1d2f026469adc65360b7b53d7 (diff)
Merge "Rework CDS chart"
Diffstat (limited to 'kubernetes/cds/charts/blueprints-processor/templates/service.yaml')
-rwxr-xr-xkubernetes/cds/charts/blueprints-processor/templates/service.yaml6
1 files changed, 2 insertions, 4 deletions
diff --git a/kubernetes/cds/charts/blueprints-processor/templates/service.yaml b/kubernetes/cds/charts/blueprints-processor/templates/service.yaml
index 4c1c32c1ed..5c8bc8cc0d 100755
--- a/kubernetes/cds/charts/blueprints-processor/templates/service.yaml
+++ b/kubernetes/cds/charts/blueprints-processor/templates/service.yaml
@@ -31,15 +31,13 @@ spec:
{{- if eq .Values.service.type "NodePort"}}
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
{{- end}}
- name: {{ .Values.service.portName | default "http" }}
- {{- if .Values.config.grpcEnabled}}
+ name: {{ .Values.service.http.portName | default "http" }}
- port: {{ .Values.service.grpc.externalPort }}
targetPort: {{ .Values.service.grpc.internalPort }}
{{- if eq .Values.service.type "NodePort"}}
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
{{- end}}
- name: {{ .Values.service.portName | default "http" }}
- {{- end}}
+ name: {{ .Values.service.grpc.portName | default "grpc" }}
selector:
app: {{ include "common.name" . }}
release: {{ .Release.Name }} \ No newline at end of file