diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a9b43de..97ada3d 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -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 diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index 3e07e87..b2e66ac 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -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: