Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding RBAC for Betydb Helm components #4

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Renaming role name for betydb hooks
Sagar2366 committed Jul 26, 2022
commit d4aefb9ad85a609f94d22d2580cb78f116c60ffe
6 changes: 3 additions & 3 deletions templates/hooks/rolebinding.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ include "betydb.fullname" . }}
name: {{ include "betydb.fullname" . }}-hooks
labels:
{{- include "betydb.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: {{ include "betydb.fullname" . }}
name: {{ include "betydb.fullname" . }}-hooks
subjects:
- kind: ServiceAccount
name: {{ include "betydb.fullname" . }}
name: {{ include "betydb.fullname" . }}-hooks