Skip to content

Commit

Permalink
Merge pull request #153 from projectsyn/fix/olm-rbac-cert-manager
Browse files Browse the repository at this point in the history
Grant OLM operator permissions to manage cert-manager certificates
  • Loading branch information
simu authored Jan 15, 2025
2 parents f8b6463 + e9aec15 commit 65118c1
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
18 changes: 18 additions & 0 deletions component/olm.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,24 @@ local patchManifests = function(file, has_csv)
else
r
for r in super.rules
] + [
// Grant OLM operator permission to manage cert-manager certificate
// resources. This is required when setting `method: certmanager`
// for some Cilium TLS configuration (e.g. Hubble TLS).
{
apiGroups: [ 'cert-manager.io' ],
resources: [ 'certificates' ],
verbs: [
'create',
'delete',
'deletecollection',
'get',
'list',
'patch',
'update',
'watch',
],
},
],
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,16 @@ rules:
- servicemonitors
verbs:
- '*'
- apiGroups:
- cert-manager.io
resources:
- certificates
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch

0 comments on commit 65118c1

Please sign in to comment.