NetworkPolicy: `from` should be an array of objects
@@ -15,16 +15,16 @@ spec:
ingress:
- from:
{{- with .Values.networkPolicy }}
- namespaceSelector:
+ - namespaceSelector:
matchExpressions:
- {{- toYaml .namespaceExpressions | nindent 8 }}
+ {{- toYaml .namespaceExpressions | nindent 10 }}
matchLabels:
{{- range $key, $value := .namespaceLabels }}
{{ $key | quote }}: {{ $value | quote }}
{{- end }}
podSelector:
matchExpressions:
- {{- toYaml .podExpressions | nindent 8 }}
+ {{- toYaml .podExpressions | nindent 10 }}
matchLabels:
{{- range $key, $value := .podLabels }}
{{ $key | quote }}: {{ $value | quote }}
