-
Notifications
You must be signed in to change notification settings - Fork 475
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
Profiles CRD toggle #696
Profiles CRD toggle #696
Conversation
Introduces a toggle for creating the Profiles CRD. This is to help users overcome #686 Makes a breaking change where "createCRDs" controls whether any CRDs are created. This is on by default. Existing users must take note when upgrading. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1f56bdf
to
08ffc57
Compare
This solution is similar to what was asked for here -> #579 (comment) by @spawn2kill |
Shouldn't these RBAC definitions be disabled too, if profiles are not enabled? faas-netes/chart/openfaas/templates/controller-rbac.yaml Lines 76 to 83 in 08ffc57
faas-netes/chart/openfaas/templates/controller-rbac.yaml Lines 184 to 204 in 08ffc57
faas-netes/chart/openfaas/templates/controller-rbac.yaml Lines 205 to 224 in 08ffc57
|
Potentially, however it is not causing an error at deployment time. Feel free to try it out. |
I did, but in my cluster I do not have the rights to grant the When I use the |
That makes me think of something else. If we put those parts behind the same if statement, then what is the story for your administrator? How will he/she install those parts on your behalf? |
Sorry, I am not quite sure what these CRDs are used for in OpenFaaS. Are they mandatory for the installation? I would've just skipped it for now (the chart seems to install just fine without) and instructed my administrator to either provide me with enough permissions at a later time or install the CRDs manually. |
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.
This adds a new value, which should be documented in the chart readme too https://github.com/openfaas/faas-netes/tree/master/chart/openfaas#configuration
I'll get that done @LucasRoesler - anything else, or otherwise happy for this to be merged? |
That is it |
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
OK, I've just done that. |
So we keep the roles in the chart? Or shall this be addressed in a different issue? |
Please can you raise a separate issue for discussion? |
Sure thing, I've created #697 . Thanks for all your work 👍 |
I think it's been mentioned before but we can do even more to help customers through our Premium Subscription - take a look at it with your manager? Or at our new GitHub Sponsors program End-user companies are also invited to "chop wood and carry water" - we have a huge amount of unpaid work ahead of us moving all builds off Travis and the Docker Hub, both of which are no-longer free for OSS. |
Sure, I'll ask 👍 |
Signed-off-by: Alex Ellis (OpenFaaS Ltd) [email protected]
Description
Profiles CRD toggle
Motivation and Context
Introduces a toggle for creating the Profiles CRD. This is
to help users overcome #686
The main use-case is for users who are installing within a
restrictive environment, where they cannot create CRDs, but
rely on an administrator to take on this role.
Makes a breaking change where "createCRDs" controls whether
any CRDs are created. This is on by default. Existing users
must take note when upgrading.
How Has This Been Tested?
Perhaps some users would like to test?
createCRDs: false gave no CRDs in the cluster
createCRDs: true gave: profiles.openfaas.com
createCRDs: true with operator.create: true gave functions.openfaas.com and profiles.openfaas.com
createCRDs has been made "true" in the values.yaml file