Skip to content

Commit 7cf9e0c

Browse files
committed
Merge remote-tracking branch 'origin/main' into ci-update-opentelemetry-operator-to-0.87.0
2 parents 8d11b67 + 2062488 commit 7cf9e0c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

charts/apl-gitea-operator/templates/rbac.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ rules:
4444
- apiGroups: [""]
4545
resources: ["pods/exec"]
4646
verbs: ["create", "get", "post"]
47+
# Allows the operator to get, list and watch pods in the gitea namespace. This is necessary to wait for the gitea pod to be ready before executing commands.
48+
- apiGroups: [""]
49+
resources: ["pods"]
50+
verbs: ["get", "list", "watch"]
4751
---
4852
# RoleBinding for the above Role in gitea namespace
4953
apiVersion: rbac.authorization.k8s.io/v1

0 commit comments

Comments
 (0)