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

feat: add role resourceNames #199

Merged
merged 1 commit into from
Mar 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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
15 changes: 13 additions & 2 deletions manifests/controller/argocd-notifications-controller-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,21 @@ rules:
- patch
- apiGroups:
- ""
resourceNames:
- argocd-notifications-cm
resources:
- secrets
- configmaps
verbs:
- get
- list
- watch
- watch
- apiGroups:
- ""
resourceNames:
- argocd-notifications-secret
resources:
- secrets
verbs:
- get
- list
- watch
13 changes: 12 additions & 1 deletion manifests/install-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,24 @@ rules:
- patch
- apiGroups:
- ""
resourceNames:
- argocd-notifications-cm
resources:
- secrets
- configmaps
verbs:
- get
- list
- watch
- apiGroups:
- ""
resourceNames:
- argocd-notifications-secret
resources:
- secrets
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down
13 changes: 12 additions & 1 deletion manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,24 @@ rules:
- patch
- apiGroups:
- ""
resourceNames:
- argocd-notifications-cm
resources:
- secrets
- configmaps
verbs:
- get
- list
- watch
- apiGroups:
- ""
resourceNames:
- argocd-notifications-secret
resources:
- secrets
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down