aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/platform/components/oom-cert-service
diff options
context:
space:
mode:
authorJack Lucas <jflos@sonoris.net>2022-06-22 14:58:04 +0000
committerGerrit Code Review <gerrit@onap.org>2022-06-22 14:58:04 +0000
commitf5746c86bc67ca7689579d121c02527e21910dc0 (patch)
treec98212ca9b68d4da5f65d599a5e6d8d7f49fed58 /kubernetes/platform/components/oom-cert-service
parentfda288c6f08adb80b7a70f80c1836e6c9327c7c2 (diff)
parentf3fbbe4afbe13e332dc2080fe3d2ca7aa997064b (diff)
Merge "[PLATFORM] Platform ServiceMesh compatibility"
Diffstat (limited to 'kubernetes/platform/components/oom-cert-service')
-rw-r--r--kubernetes/platform/components/oom-cert-service/templates/deployment.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml b/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml
index 8215ed949e..5f80a7dc75 100644
--- a/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml
+++ b/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml
@@ -22,6 +22,16 @@ spec:
selector: {{- include "common.selectors" . | nindent 4 }}
template:
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
+ {{- if (include "common.onServiceMesh" . ) }}
+ annotations:
+ {{- if eq ( .Values.global.serviceMesh.engine ) "linkerd" }}
+ linkerd.io/inject: disabled
+ {{- end }}
+ {{- if eq ( .Values.global.serviceMesh.engine ) "istio" }}
+ traffic.sidecar.istio.io/excludeInboundPorts: "8080,8443"
+ traffic.sidecar.istio.io/includeInboundPorts: '*'
+ {{- end }}
+ {{- end }}
spec:
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"