diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2022-04-29 13:01:14 +0200 |
---|---|---|
committer | Fiachra Corcoran <fiachra.corcoran@est.tech> | 2022-05-09 09:01:04 +0000 |
commit | 4ee97a9f28fcb17b272e4e94931f9528afe797a7 (patch) | |
tree | f4c7903f84cad6c87e4e1a6105c739d187c29a83 /kubernetes/cds/components/cds-sdc-listener/templates/deployment.yaml | |
parent | 271560c6bc1e5ed027a7cc11683e6688c3bc56bf (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/deployment.yaml')
-rw-r--r-- | kubernetes/cds/components/cds-sdc-listener/templates/deployment.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kubernetes/cds/components/cds-sdc-listener/templates/deployment.yaml b/kubernetes/cds/components/cds-sdc-listener/templates/deployment.yaml index 4ac847005e..3a6d76165b 100644 --- a/kubernetes/cds/components/cds-sdc-listener/templates/deployment.yaml +++ b/kubernetes/cds/components/cds-sdc-listener/templates/deployment.yaml @@ -63,18 +63,19 @@ spec: value: {{ .Values.config.appConfigDir }} ports: - containerPort: {{ .Values.service.http.internalPort }} + name: {{ .Values.service.http.portName }} {{ if .Values.liveness.enabled }} livenessProbe: httpGet: path: /api/v1/sdclistener/healthcheck - port: {{ .Values.service.http.internalPort }} + port: {{ .Values.service.http.portName }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} {{end}} readinessProbe: httpGet: path: /api/v1/sdclistener/healthcheck - port: {{ .Values.service.http.internalPort }} + port: {{ .Values.service.http.portName }} initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} volumeMounts: |