summaryrefslogtreecommitdiffstats
path: root/kubernetes/cds/charts/blueprints-processor/templates/service.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2019-03-20 08:17:58 -0400
committerAlexis de Talhouët <adetalhouet89@gmail.com>2019-03-20 14:41:26 +0000
commit63df1632614f9af1d2f026469adc65360b7b53d7 (patch)
treeee8319c8c162f88aec16bc18e0167f97dc9dd390 /kubernetes/cds/charts/blueprints-processor/templates/service.yaml
parent0bf9b31a1be15a1dadc1bc693fec6fccc30fef47 (diff)
Rework CDS chart
- use shared DB - remove unused properties Change-Id: I1b45f4046180167d47aa1a8db6f34a118ae64209 Issue-ID: OOM-1743 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
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