UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Adds Istio custom authorization policies template to work with Istio hardening configurations

Merged Ryan Daily requested to merge bb-integration-auth-pol-template into main
4 files
+ 45
3
Compare changes
  • Side-by-side
  • Inline
Files
4
{{- /* Render Istio Auth policies */ -}}
{{- if and $.Values.istio.enabled $.Values.istio.hardened.enabled -}}
{{- range $.Values.istio.hardened.customAuthorizationPolicies -}}
{{- if .enabled -}}
apiVersion: security.istio.io/v1
kind: AuthorizationPolicy
metadata:
name: {{ .name }}
namespace: {{ $.Release.Namespace }}
spec:
{{- toYaml .spec | nindent 2 }}
---
{{ end -}}
{{ end -}}
{{- end -}}
Loading