Remove deprecated (and removed in 1.19) flag and function --basic-auth-file (#6655)

This commit is contained in:
Florian Ruynat
2020-09-11 09:30:14 +02:00
committed by GitHub
parent 1765c9125a
commit a556f8f2bf
12 changed files with 4 additions and 70 deletions

View File

@@ -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

View File

@@ -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