diff --git a/kustomization.yaml b/kustomization.yaml index 11208e3..0ed609f 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -5,9 +5,6 @@ namespace: html-kube-tester commonLabels: app.kubernetes.io/instance: html-kube-tester app.kubernetes.io/part-of: html-kube-tester - pod-security.kubernetes.io/enforce: restricted - pod-security.kubernetes.io/audit: restricted - pod-security.kubernetes.io/warn: restricted configMapGenerator: - name: html-kube-tester-config diff --git a/namespace.yaml b/namespace.yaml index f568d27..9700133 100644 --- a/namespace.yaml +++ b/namespace.yaml @@ -1,4 +1,8 @@ apiVersion: v1 kind: Namespace metadata: - name: html-kube-tester \ No newline at end of file + name: html-kube-tester + labels: + pod-security.kubernetes.io/enforce: restricted + pod-security.kubernetes.io/audit: restricted + pod-security.kubernetes.io/warn: restricted \ No newline at end of file