This commit is contained in:
Lee 2024-09-22 05:15:16 +01:00
parent 2c4c7c0c1b
commit fac98b58ae
3 changed files with 14 additions and 10 deletions

View File

@ -27,16 +27,6 @@ spec:
shortNames:
- cc
---
apiVersion: v1
kind: Namespace
metadata:
name: kubesphere-system
annotations:
pod-security.kubernetes.io/enforce: privileged
pod-security.kubernetes.io/audit: privileged
pod-security.kubernetes.io/warn: privileged
---
apiVersion: v1
kind: ServiceAccount

View File

@ -3,5 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubesphere-system
resources:
- namespace.yaml
- config.yaml
- installer.yaml

View File

@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: kubesphere-system
labels:
pod-security.kubernetes.io/audit: privileged
pod-security.kubernetes.io/warn: privileged
pod-security.kubernetes.io/enforce: privileged
annotations:
pod-security.kubernetes.io/enforce: privileged
pod-security.kubernetes.io/audit: privileged
pod-security.kubernetes.io/warn: privileged