UNCLASSIFIED

ingress-webhook.yaml 425 Bytes
Newer Older
1 2 3 4
{{- if .Values.networkPolicies.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
Micah Nagel's avatar
Micah Nagel committed
5
  name: ingress-webhook
6 7 8 9
  namespace: {{ .Release.Namespace }}
spec:
  podSelector:
    matchLabels:
Micah Nagel's avatar
Micah Nagel committed
10
      app: istiod
11 12 13
  ingress:
    - from:
      - ipBlock:
Micah Nagel's avatar
modify  
Micah Nagel committed
14
          cidr: 0.0.0.0/0
Micah Nagel's avatar
Micah Nagel committed
15 16 17
      ports:
      - port: 15017
        protocol: TCP
Micah Nagel's avatar
add  
Micah Nagel committed
18 19
      - port: 8080
        protocol: TCP
20 21 22
  policyTypes:
    - Ingress
{{- end }}