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

Patch OLM RBAC to allow deploying Hubble certgen cronjob #147

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

simu
Copy link
Member

@simu simu commented Oct 29, 2024

The Cilium Helm chart for cilium <= 1.15 uses a ClusterRole and ClusterRoleBinding for the Hubble certgen CronJob. This is changed to a Role and RoleBinding for the Cilium 1.16 Helm chart.

The OLM operator doesn't have permissions to create the ClusterRole and ClusterRoleBinding out of the box, so we patch the OLM operator ClusterRole to contain the rules that need to be created for the certgen CronJob.

Checklist

  • The PR has a meaningful title. It will be used to auto-generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.

The Cilium Helm chart for cilium <= 1.15 uses a ClusterRole and
ClusterRoleBinding for the Hubble certgen CronJob. This is changed to a
Role and RoleBinding for the Cilium 1.16 Helm chart.

The OLM operator doesn't have permissions to create the ClusterRole and
ClusterRoleBinding out of the box, so we patch the OLM operator
ClusterRole to contain the rules that need to be created for the certgen
CronJob.
@simu simu added bug Something isn't working bump:patch labels Oct 29, 2024
Copy link

github-actions bot commented Oct 29, 2024

🚀 This PR has been released as v1.9.15

Triggering workflows Release

🛠️ Auto tagging enabled with label bump:patch

@simu simu requested a review from a team October 29, 2024 09:29
@simu simu merged commit 427b536 into master Oct 29, 2024
20 checks passed
@simu simu deleted the fix/olm/certgen-cronjob-rbac branch October 29, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bump:patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants