Clean up debug in check apiserver test (#1638)
* Clean up debug in check apiserver test * Change password generation for kube_user Special characters are not allowed in known_users.csv filepull/1639/head
parent
079d317ade
commit
f29a42721f
|
@ -40,7 +40,7 @@ kube_log_level: 2
|
|||
|
||||
# Users to create for basic auth in Kubernetes API via HTTP
|
||||
# Optionally add groups for user
|
||||
kube_api_pwd: "{{ lookup('password', 'credentials/kube_user length=15') }}"
|
||||
kube_api_pwd: "{{ lookup('password', 'credentials/kube_user length=15 chars=ascii_letters,digits') }}"
|
||||
kube_users:
|
||||
kube:
|
||||
pass: "{{kube_api_pwd}}"
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
- hosts: kube-master
|
||||
|
||||
tasks:
|
||||
- debug:
|
||||
msg: "kube pass: {{ lookup('password', '../../credentials/kube_user length=15') }}"
|
||||
- name: Check the API servers are responding
|
||||
uri:
|
||||
url: "https://{{ access_ip | default(ansible_default_ipv4.address) }}:{{ kube_apiserver_port }}/api/v1"
|
||||
|
|
Loading…
Reference in New Issue