aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl5
-rw-r--r--kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/values.yaml4
2 files changed, 9 insertions, 0 deletions
diff --git a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
index 101dc075f9..eefee769bd 100644
--- a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
+++ b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
@@ -254,6 +254,7 @@ post-processing.
{{- $drNeedProvisioning := or .Values.drFeedConfig .Values.drSubConfig -}}
{{- $dcaeName := print (include "common.fullname" .) }}
{{- $dcaeLabel := (dict "dcaeMicroserviceName" $dcaeName) -}}
+{{- $podLabels := default .Values.podLabels .labels -}}
{{- $dot := . -}}
apiVersion: apps/v1
kind: Deployment
@@ -262,7 +263,11 @@ spec:
replicas: 1
selector: {{- include "common.selectors" . | nindent 4 }}
template:
+ {{- if $podLabels}}
+ metadata: {{- include "common.templateMetadata" (dict "dot" . "labels" $podLabels) | nindent 6 }}
+ {{- else }}
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
+ {{- end }}
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
diff --git a/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/values.yaml b/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/values.yaml
index a1a2467a71..e77d31859b 100644
--- a/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/values.yaml
+++ b/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/values.yaml
@@ -96,9 +96,13 @@ readiness:
# since there are problems receiving binary data via the sidecar
# the service port is excluded in the sidecar processing
podAnnotations:
+ traffic.sidecar.istio.io/excludeOutboundPorts: '6061'
traffic.sidecar.istio.io/excludeInboundPorts: '6061'
traffic.sidecar.istio.io/includeInboundPorts: '*'
+podLabels:
+ sidecar.istio.io/inject: "false"
+
# service configuration
service:
type: NodePort