aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/cds/components/cds-sdc-listener/templates/service.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-04-29 13:01:14 +0200
committerFiachra Corcoran <fiachra.corcoran@est.tech>2022-05-09 09:01:04 +0000
commit4ee97a9f28fcb17b272e4e94931f9528afe797a7 (patch)
treef4c7903f84cad6c87e4e1a6105c739d187c29a83 /kubernetes/cds/components/cds-sdc-listener/templates/service.yaml
parent271560c6bc1e5ed027a7cc11683e6688c3bc56bf (diff)
[CDS] Service mesh compatibility
Patch on CDS charts dedicated to remove https and cert-related calls from all files. This ensure compatibility with patched AAI (IID: OOM-2670) and lays ground for service mesh use. Replaces https://gerrit.onap.org/r/c/oom/+/126099 Correction for CDS-Strimzi support in application properties Issue-ID: OOM-2824 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I522fe60ca748b7e5f731045dac8ca11b13ae2811
Diffstat (limited to 'kubernetes/cds/components/cds-sdc-listener/templates/service.yaml')
-rw-r--r--kubernetes/cds/components/cds-sdc-listener/templates/service.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/cds/components/cds-sdc-listener/templates/service.yaml b/kubernetes/cds/components/cds-sdc-listener/templates/service.yaml
index af837f2b3a..42bd2b33e9 100644
--- a/kubernetes/cds/components/cds-sdc-listener/templates/service.yaml
+++ b/kubernetes/cds/components/cds-sdc-listener/templates/service.yaml
@@ -31,7 +31,7 @@ spec:
{{- if eq .Values.service.type "NodePort"}}
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
{{- end}}
- name: {{ .Values.service.http.portName | default "http" }}
+ name: {{ .Values.service.http.portName | default "http" }}{{ (eq "true" (include "common.needTLS" .)) | ternary "s" "" }}
selector:
app: {{ include "common.name" . }}
release: {{ include "common.release" . }}