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

add CertManager and AuditLogging CR cluster permission to ODLM #1023

Merged
merged 1 commit into from
Mar 14, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -562,14 +562,22 @@ spec:
install:
spec:
clusterPermissions:
- rules:
- apiGroups:
- operators.coreos.com
resources:
- catalogsources
verbs:
- get
serviceAccountName: operand-deployment-lifecycle-manager
- rules:
- apiGroups:
- operators.coreos.com
resources:
- catalogsources
verbs:
- get
- apiGroups:
- operator.ibm.com
resources:
- certmanagers
- auditloggings
verbs:
- get
- delete
serviceAccountName: operand-deployment-lifecycle-manager
deployments:
- label:
app.kubernetes.io/instance: operand-deployment-lifecycle-manager
Expand Down
8 changes: 8 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ rules:
- catalogsources
verbs:
- get
- apiGroups:
- operator.ibm.com
resources:
- certmanagers
- auditloggings
verbs:
- get
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
Expand Down