Skip to content

Commit

Permalink
Bump role & improve github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sgielen committed Mar 11, 2024
1 parent 59247bc commit 1623b14
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

- name: ensure that files are properly generated
run: |
make manifests generate
make
if [ "$(git status --porcelain=v1 2>/dev/null | wc -l)" != "0" ]; then
echo "error: Makefile caused changes"
git status
Expand Down
26 changes: 26 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,32 @@ rules:
- get
- patch
- update
- apiGroups:
- backsnap.skyb.it
resources:
- pvcrestores
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- backsnap.skyb.it
resources:
- pvcrestores/finalizers
verbs:
- update
- apiGroups:
- backsnap.skyb.it
resources:
- pvcrestores/status
verbs:
- get
- patch
- update
- apiGroups:
- batch
resources:
Expand Down

0 comments on commit 1623b14

Please sign in to comment.