Files
Olares/build/base-package/wizard/config/settings/templates/user-namespacerole-binding.yaml
Peng Peng 79372a32af feat: Merge the code currently scattered across the beclab and Above-os organizations into the https://github.com/beclab/Olares repository. (#1325)
* feat: refactor

* refactor apps folder

* feat: add vendor folder

* refactor: package scripts

---------

Co-authored-by: eball <liuy102@hotmail.com>
2025-05-21 21:43:35 +08:00

17 lines
433 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
iam.kubesphere.io/user-ref: '{{ .Values.user.name }}'
name: {{ .Values.user.name }}-{{ .Values.namespace.role }}
namespace: {{ .Values.namespace.name }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: {{ .Values.namespace.role }}
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: User
name: '{{ .Values.user.name }}'