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: ansible_kubectl_ssl_ca_cert variable #50217

Merged
merged 2 commits into from
Dec 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/ansible/plugins/connection/kubectl.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
- Path to a CA certificate used to authenticate with the API.
default: ''
vars:
- name: ansible_kubectl_cert_file
- name: ansible_kubectl_ssl_ca_cert
env:
- name: K8S_AUTH_SSL_CA_CERT
kubectl_verify_ssl:
Expand All @@ -153,7 +153,7 @@
vars:
- name: ansible_kubectl_verify_ssl
env:
- name: K8s_AUTH_VERIFY_SSL
- name: K8S_AUTH_VERIFY_SSL
"""

import distutils.spawn
Expand Down
4 changes: 2 additions & 2 deletions lib/ansible/plugins/connection/oc.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
- Path to a CA certificate used to authenticate with the API.
default: ''
vars:
- name: ansible_oc_cert_file
- name: ansible_oc_ssl_ca_cert
env:
- name: K8S_AUTH_SSL_CA_CERT
oc_verify_ssl:
Expand All @@ -137,7 +137,7 @@
vars:
- name: ansible_oc_verify_ssl
env:
- name: K8s_AUTH_VERIFY_SSL
- name: K8S_AUTH_VERIFY_SSL
"""

from ansible.plugins.connection.kubectl import Connection as KubectlConnection
Expand Down