UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Resolve "Incorrect label selector for monitoring authz policy"

Files
4
@@ -7,11 +7,14 @@ metadata:
spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ $.Release.Name }}
app: {{ $.Release.Name }}
action: ALLOW
rules:
- from:
- source:
namespaces: {{ .Values.istio.hardened.monitoring.namespaces | toYaml | nindent 10 }}
principals: {{ .Values.istio.hardened.monitoring.principals | toYaml | nindent 10 }}
- to:
- operation:
ports: ["{{ .Values.metrics.port }}"]
{{- end }}
Loading