In default values there is no service mesh defined
and in result it broke rendering of 2 deployment
components that assumed the data is present.
Issue-ID: OOM-3376
Change-Id: I7d68b4e0668e060501a71c9997f64f08976de3b2
Signed-off-by: Marek Szwalkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
control-plane: controller-manager
{{- if (include "common.onServiceMesh" . | nindent 6 ) }}
annotations:
- {{- if eq ( .Values.global.serviceMesh.engine ) "linkerd" }}
+ {{- if and .Values.global.serviceMesh (eq .Values.global.serviceMesh.engine "linkerd") }}
linkerd.io/inject: disabled
{{- end }}
- {{- if eq ( .Values.global.serviceMesh.engine ) "istio" }}
+ {{- if and .Values.global.serviceMesh (eq .Values.global.serviceMesh.engine "istio") }}
traffic.sidecar.istio.io/excludeInboundPorts: "8080,8443"
traffic.sidecar.istio.io/includeInboundPorts: '*'
{{- end }}
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
{{- if (include "common.onServiceMesh" . ) }}
annotations:
- {{- if eq ( .Values.global.serviceMesh.engine ) "linkerd" }}
+ {{- if and .Values.global.serviceMesh (eq .Values.global.serviceMesh.engine "linkerd") }}
linkerd.io/inject: disabled
{{- end }}
- {{- if eq ( .Values.global.serviceMesh.engine ) "istio" }}
+ {{- if and .Values.global.serviceMesh (eq .Values.global.serviceMesh.engine "istio") }}
traffic.sidecar.istio.io/excludeInboundPorts: "8080,8443"
traffic.sidecar.istio.io/includeInboundPorts: '*'
{{- end }}