UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 5b8774f5 authored by Jimmy Bourque's avatar Jimmy Bourque
Browse files

Updated istio ingress and egress network policies

parent 33000527
No related branches found
No related tags found
1 merge request!280Keycloak - Support Istio Operatorless Network Policies
Pipeline #3938875 failed
......@@ -12,7 +12,11 @@ spec:
- to:
- namespaceSelector:
matchLabels:
app.kubernetes.io/name: istio-controlplane
{{- if .Values.networkPolicies.istioNamespaceSelector }}
app.kubernetes.io/name: {{ .Values.networkPolicies.istioNamespaceSelector.egress }}
{{- else }}
app.kubernetes.io/name: "istio-controlplane"
{{- end }}
podSelector:
matchLabels:
app: istiod
......
......@@ -12,7 +12,11 @@ spec:
- from:
- namespaceSelector:
matchLabels:
app.kubernetes.io/name: istio-controlplane
{{- if .Values.networkPolicies.istioNamespaceSelector }}
app.kubernetes.io/name: {{ .Values.networkPolicies.istioNamespaceSelector.ingress }}
{{- else }}
app.kubernetes.io/name: "istio-controlplane"
{{- end }}
podSelector:
matchLabels:
{{- toYaml .Values.networkPolicies.ingressLabels | nindent 10}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment