mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-26 21:35:03 -02:30
Remove deprecated (and removed in 1.19) flag and function --basic-auth-file (#6655)
This commit is contained in:
@@ -3,10 +3,6 @@
|
||||
tags:
|
||||
- k8s-pre-upgrade
|
||||
|
||||
- import_tasks: users-file.yml
|
||||
when:
|
||||
- kube_basic_auth|default(true)
|
||||
|
||||
- name: Create webhook token auth config
|
||||
template:
|
||||
src: webhook-token-auth-config.yaml.j2
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
---
|
||||
- name: Make sure the users directory exits
|
||||
file:
|
||||
path: "{{ kube_users_dir }}"
|
||||
state: directory
|
||||
mode: o-rwx
|
||||
group: "{{ kube_cert_group }}"
|
||||
|
||||
- name: Populate users for basic auth in API
|
||||
template:
|
||||
src: known_users.csv.j2
|
||||
dest: "{{ kube_users_dir }}/known_users.csv"
|
||||
mode: 0640
|
||||
backup: yes
|
||||
Reference in New Issue
Block a user