-
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
[v2.12] fix test if openstack_cacert is a base64 string #6371
[v2.12] fix test if openstack_cacert is a base64 string #6371
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. I understand the commands that are listed here. |
Hi @mariobris. 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. |
/ok-to-test |
/approve |
/hold Backports needs to be merged in From what I see, this is not currently in master: https://github.com/kubernetes-sigs/kubespray/blob/master/roles/kubernetes/node/tasks/main.yml#L193 |
@Miouge1 what needs to be done then ? I see there is branch for 2.12 version which is probably not being merged from/with master. I'd like to understand how to do it next time. |
Change your PR (or open a new one) targetting master :) |
/unhold PR on master is now merged |
@Miouge1 if you can unhold 👍 |
/hold cancel commands need to be put on a single line :) |
Oh my 🤦 thx 👍 |
Is that it's master, we should backport in 2.13 before 2.12. |
Indeed, PR-ing right now |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: LuckySB, mariobris, Miouge1 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 |
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR fix copy of opesntack_cacert into VM. Currently task
Test if openstack_cacert is a base64 string
always evaluate opesnstack_cacert as base64 even if it's path to a file. This is leading to wrong openstack-cacert.pem file on VM and thus failing kubelet to start.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Instead of decode
openstack_cacert
which returnstrue
because it will decode also path to file I found other way to check whether string is base64 or not https://www.thetopsites.net/article/53142215.shtmlIt've been testing and now it returns
True
andFalse
if the varialbe is base64 or not.Does this PR introduce a user-facing change?: