Merge pull request #2316 from pjbgf/warn-pod-security

[security] Enable pod security warnings for flux-system
pull/2336/head
Stefan Prodan 3 years ago committed by GitHub
commit 365d2d102d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 {

Loading…
Cancel
Save