Skip to content

Commit d7c17b6

Browse files
Ani1357svcAPLBot
andauthored
feat: fix team tekton-dashboard (#2597)
Co-authored-by: svcAPLBot <174728082+svcAPLBot@users.noreply.github.com>
1 parent af433ba commit d7c17b6

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

charts/team-ns/templates/istio-sidecar.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
name: default
1111
labels: {{- include "team-ns.chart-labels" $ | nindent 4 }}
1212
spec:
13-
outboundTrafficPolicy:
13+
outboundTrafficPolicy:
1414
mode: REGISTRY_ONLY
1515
---
1616
apiVersion: networking.istio.io/v1beta1
@@ -36,5 +36,18 @@ spec:
3636
workloadSelector:
3737
labels:
3838
app.kubernetes.io/instance: {{ $v.teamId }}-po-alertmanager
39+
---
40+
apiVersion: networking.istio.io/v1alpha3
41+
kind: Sidecar
42+
metadata:
43+
name: tekton-dashboard-sidecar
44+
labels: {{- include "team-ns.chart-labels" $ | nindent 4 }}
45+
spec:
46+
workloadSelector:
47+
labels:
48+
app: tekton-dashboard
49+
egress:
50+
- hosts:
51+
- "default/kubernetes.default.svc.cluster.local"
52+
{{- end }}
3953
{{- end }}
40-
{{- end }}

0 commit comments

Comments
 (0)