-
Notifications
You must be signed in to change notification settings - Fork 22
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 configuration for keystone webhook #91
Add configuration for keystone webhook #91
Conversation
heytrav
commented
Sep 14, 2023
•
edited
Loading
edited
- Add template for basic kube-apiserver webhook based authN/authZ
- Add support for deploying sub chart based on https://github.com/heytrav/helm-charts/tree/main/charts/k8s-keystone-auth
7963f87
to
06008a0
Compare
06008a0
to
dfc6ad6
Compare
Approval is required for workflow run #6412667704 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
dfc6ad6
to
32c90d7
Compare
Approval is required for workflow run #6499934847 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
32c90d7
to
115b12a
Compare
Approval is required for workflow run #6513862027 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
115b12a
to
078a381
Compare
Approval is required for workflow run #6513904012 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
078a381
to
b875df8
Compare
Approval is required for workflow run #6564700955 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
b875df8
to
733e5d6
Compare
Approval is required for workflow run #6565780568 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
I've refactored this to remove a lot of the code that I'd added. The only additional code now is the Secret/HelmRelease definition for the k8s-keystone-auth subchart. Otherwise I've added documentation to explain what settings need to be overridden in |
Similar to the other patch, I'm happy to include a layer to make the required changes to the kubeadmConfigSpec in the short- to medium-term. If we are going to support the Keystone auth webhook I would prefer that it is just a flag that needs flipping. Let me know if you are happy to make the changes now or whether you would prefer to merge this for now. |
Approval is required for workflow run #6632355933 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
Refactored a bit
@mkjpryor I haven't tested this yet but keen to know if you think of the approach makes sense |
46e15f7
to
b8df5a6
Compare
Approval is required for workflow run #6632446870 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
b8df5a6
to
9ec8164
Compare
Approval is required for workflow run #6633079599 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
9ec8164
to
3173136
Compare
Approval is required for workflow run #6634720470 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
3173136
to
6ae0ad3
Compare
Approval is required for workflow run #6636743395 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
6ae0ad3
to
d1fb9a2
Compare
Approval is required for workflow run #6645571699 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
d8c4c4f
to
359a49d
Compare
Approval is required for workflow run #6729199866 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
359a49d
to
17213a6
Compare
Approval is required for workflow run #6729238112 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
17213a6
to
ac9e6ac
Compare
Approval is required for workflow run #6842375543 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
ac9e6ac
to
82bdb1f
Compare
Approval is required for workflow run #6881247771 for this PR. Please review the code that will be executed by this workflow run and give either a 👍 or 👎 on this comment to approve or deny execution. |
82bdb1f
to
074202a
Compare
074202a
to
8de4333
Compare
8de4333
to
c56928c
Compare
c56928c
to
a6a51ac
Compare
Hi @mkjpryor, would it be possible to get some feedback on this please? Is there anything that you would like me to change in the implementation? |
a6a51ac
to
38d01f5
Compare
* Set up webhook for k8s-keystone-auth and other plugins in the future
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.
My only comment would be that I can't help thinking there must be a way to populate the auth URL and project ID from the appcred that is used to create the cluster. But I'm not going to hold up merging for it.
awesome! thank you. |
A recent commit in capi-helm-charts[1] added support for keystone-auth. However, the feature is not working yet and now kubeadm fails to init the cluster. Disable keystone-auth by default for now, until the feature is fixed in the charts. [1] https://github.com/stackhpc/capi-helm-charts/pull/91 [2] https://github.com/stackhpc/capi-helm-charts/issues/301 Change-Id: Idb603f4e5b57e004453af2460c3d84225cacf6fa