Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Add group and fix iam-provider role naming
Browse files Browse the repository at this point in the history
  • Loading branch information
nkwangleiGIT committed May 13, 2023
1 parent fef9fd9 commit ab6cc9c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions u4a-component/templates/oidc-server/iam-provider-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: t7d.io.user-role
name: t7d.io.iam-provider
rules:
- apiGroups:
- iam.tenxcloud.com
resources:
- users
- groups
verbs:
- create
- delete
Expand Down Expand Up @@ -57,12 +58,12 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: t7d.io.user-provider
name: t7d.io.iam-provider
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: t7d.io.user-role
name: t7d.io.iam-provider
subjects:
- kind: ServiceAccount
name: oidc-server
Expand Down

0 comments on commit ab6cc9c

Please sign in to comment.