-
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
store openstack external cloud controller ca.cert in a k8s secret instead of the host filesystem #7603
store openstack external cloud controller ca.cert in a k8s secret instead of the host filesystem #7603
Conversation
Hi @cristicalin. 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. |
/cc @bl0m1 |
@floryut: GitHub didn't allow me to request PR reviews from the following users: bl0m1. Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
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. |
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.
/cc @oomichi
- external_openstack_cacert is defined | ||
- external_openstack_cacert | length > 0 | ||
tags: external-openstack | ||
|
||
- name: External OpenStack Cloud Controller | Write External OpenStack cloud-config | ||
template: | ||
src: "external-openstack-cloud-config.j2" |
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.
Can't we remove this template file external-openstack-cloud-config.j2 with this pull request?
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 think this actually needs a bit of rethought now that you pointed it out. The external-openstack-cloud-config
is rendered onto the first tube controller then it is slurp'ed up and put into the secret, so the answer to your question is no, we cannot remove that file, but I should have not deleted this task in the first place. I pushed a fix for this.
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.
@oomichi I modified the logic to avoid writing the external-openstack-cloud-config
to any node and write it directly in the Kubernetes secret.
b80d5e3
to
7e7c301
Compare
…tead of the host filesystem
7e7c301
to
0933868
Compare
I might be wrong but the molecule test failure seems somewhat unrelated. |
@cristicalin: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
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 |
/retest |
Thanks for updating. /lgtm |
Good for you @alijahnas ? |
@floryut yeah it /lgtm, I would /approve :) |
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.
👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cristicalin, floryut 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 |
…tead of the host filesystem (kubernetes-sigs#7603)
…tead of the host filesystem (kubernetes-sigs#7603)
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR changes the way we store openstack CA certificate file and the external-openstack-cloud-config from distributing them on the host filesystem to storing them in the same secret we use to distribute the
cloud.conf
.Which issue(s) this PR fixes:
Fixes #7553
Special notes for your reviewer:
This is an alternative solution to the one proposed in #7568
Does this PR introduce a user-facing change?: