-
Notifications
You must be signed in to change notification settings - Fork 171
feat: add apl-operator #2151
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
feat: add apl-operator #2151
Conversation
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success140 tests passing in 13 suites. Report generated by 🧪jest coverage report action from 2839fb1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with a cluster both deploying and upgrading scenarios, LGTM 👍🏻
I am seeing lots of errors in combination with the Helm file upgrade, but also the pre-upgrade from the latest release. Apparently the serviceAccount does not have enough permissions. This one for example comes from Helmfile with labels stage=prep:
But the operator also needs to be allowed to do anything that the upgrade scripts need to do, e.g. managing labels and annotations, creating Jobs etc. Maybe it is too ambitious to be so granular about it. It can break again on any upgrade. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to my tests, the operator needs more permissions to function properly.
Co-authored-by: merll <[email protected]>
Co-authored-by: merll <[email protected]>
That was already something I was afraid of. It's a bit hard to guess what were gonna need in the future for RBAC. Maybe read access to everything is oke and then for updating, deleting and creating we can be more strict. |
There's another one:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Istiod Helmfile install still fails, due to missing permissions. Otherwise looks good to me.
I can also extend the ClusterRole as needed in the Istio feature branch, if this is holding up the PR for too long.
📌 Summary
🔍 Reviewer Notes
🧹 Checklist