Skip to content
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

Fix CA cert passing to k8s client #93

Merged
merged 1 commit into from
Sep 23, 2020
Merged

Conversation

ykskb
Copy link
Contributor

@ykskb ykskb commented Jul 20, 2020

Signed-off-by: ykskb yoheikusakabe@gmail.com

It seems CA cert can't be passed to k8s client from secret/env as the current codes writes on cert_file property of kube client configuration which gets overwritten by KUBERNETES_CERT_FILE value. This PR is to fix this.

Signed-off-by: ykskb <yoheikusakabe@gmail.com>
Copy link
Contributor

@Lawouach Lawouach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Good catch.

@Lawouach Lawouach merged commit 06f683a into chaostoolkit:master Sep 23, 2020
hendrikKahl pushed a commit to hendrikKahl/chaostoolkit-kubernetes that referenced this pull request Sep 29, 2020
Signed-off-by: ykskb <yoheikusakabe@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants