Skip to content
Snippets Groups Projects
Unverified Commit f7853c4d authored by Paulo Gomes's avatar Paulo Gomes
Browse files

Enable pod security warnings for flux-system

parent 0a6d5d92
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: flux-system
labels:
pod-security.kubernetes.io/warn: restricted
pod-security.kubernetes.io/warn-version: latest
......@@ -165,6 +165,9 @@ apiVersion: v1
kind: Namespace
metadata:
name: {{.Namespace}}
labels:
pod-security.kubernetes.io/warn: restricted
pod-security.kubernetes.io/warn-version: latest
`
func execTemplate(obj interface{}, tmpl, filename string) error {
......
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