diff options
author | Jack Lucas <jflos@sonoris.net> | 2022-06-22 14:58:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-06-22 14:58:04 +0000 |
commit | f5746c86bc67ca7689579d121c02527e21910dc0 (patch) | |
tree | c98212ca9b68d4da5f65d599a5e6d8d7f49fed58 /kubernetes/platform/components/oom-cert-service/templates/deployment.yaml | |
parent | fda288c6f08adb80b7a70f80c1836e6c9327c7c2 (diff) | |
parent | f3fbbe4afbe13e332dc2080fe3d2ca7aa997064b (diff) |
Merge "[PLATFORM] Platform ServiceMesh compatibility"
Diffstat (limited to 'kubernetes/platform/components/oom-cert-service/templates/deployment.yaml')
-rw-r--r-- | kubernetes/platform/components/oom-cert-service/templates/deployment.yaml | 10 |
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" |