- Update namespace in all manifests (ingress, rbac, vault, argocd) - Add namespace field to kustomization.yaml - PVC will be recreated in new namespace with name 'code-server' - All resources will be migrated to code-server namespace
14 lines
278 B
YAML
14 lines
278 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: code-server-cluster-admin
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: cluster-admin
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: code-server
|
|
namespace: code-server
|
|
|