10 lines
289 B
YAML
10 lines
289 B
YAML
|
apiVersion: v1
|
||
|
kind: Namespace
|
||
|
metadata:
|
||
|
name: my-restricted-namespace
|
||
|
labels:
|
||
|
pod-security.kubernetes.io/enforce: restricted
|
||
|
pod-security.kubernetes.io/enforce-version: latest
|
||
|
pod-security.kubernetes.io/warn: restricted
|
||
|
pod-security.kubernetes.io/warn-version: latest
|