-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 optional setting for ca data in auth webhook #8777
Add optional setting for ca data in auth webhook #8777
Conversation
Hi @dlouks. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@@ -118,6 +118,7 @@ kube_webhook_token_auth_url_skip_tls_verify: false | |||
kube_webhook_authorization: false | |||
## Variables for webhook token authz https://kubernetes.io/docs/reference/access-authn-authz/webhook/ | |||
# kube_webhook_authorization_url: https://... | |||
# kube_webhook_token_auth_ca_data: |
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.
It would be good to add this to the sample inventory file and add some description + sample formatted data.
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.
I can add this. Would you recommend adding it to sample/group_vars/all/all.yml?
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.
That seems like a good place, yes
71ebb30
to
27fff95
Compare
/ok-to-test |
Thanks for doing this @dlouks ! /lgtm |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dlouks, oomichi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Add optional setting for ca data in auth webhook * add webhook token auth variables to sample inventory
* Add optional setting for ca data in auth webhook * add webhook token auth variables to sample inventory
What type of PR is this?
/kind feature
What this PR does / why we need it: This adds an optional variable to include certificate-authority-data to the webhook-token-auth-config
Which issue(s) this PR fixes:
Fixes #8775
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Allow to specify CA data for webhooks