Skip to content

Commit 3fda2f0

Browse files
authored
feat(/_infra): Adding Istio resources labels (#92)
Signed-off-by: Frédéric Gaudet <frederic.gaudet@blablacar.com>
1 parent 89c8285 commit 3fda2f0

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

_infra/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
apiVersion: v1
22
name: istio-redirector
3-
version: 0.0.8
3+
version: 0.0.9

_infra/templates/destinationrule.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata:
55
name: {{ .Release.Name }}
66
labels:
77
{{- include "labels" . | nindent 4 }}
8+
{{- if .Values.istioLabels }}
9+
{{ toYaml .Values.istioLabels | indent 4 }}
10+
{{- end }}
811
spec:
912
host: {{ .Release.Name }}.{{ .Release.Namespace }}.svc.cluster.local
1013
{{- if .Values.destinationRule.trafficPolicy }}

_infra/templates/virtualservice.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata:
55
name: {{ .Release.Name }}
66
labels:
77
{{- include "labels" . | nindent 4 }}
8+
{{- if .Values.istioLabels }}
9+
{{ toYaml .Values.istioLabels | indent 4 }}
10+
{{- end }}
811
spec:
912
hosts:
1013
- {{ .Release.Name }}.{{ .Release.Namespace }}.svc.cluster.local

_infra/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ volumeMounts:
7171
readOnly: true
7272

7373
commonLabels: {}
74+
istioLabels: {}
7475

7576
deployment:
7677
labels: {}

0 commit comments

Comments
 (0)