feat: Include pinniped local-user-authenticator
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@ -10,6 +10,29 @@
|
||||
kubeconfig: "{{ kubeconfig.path }}"
|
||||
values: "{{ components['dex'].chart_values }}"
|
||||
|
||||
- block:
|
||||
|
||||
- name: Install pinniped local-user-authenticator
|
||||
kubernetes.core.k8s:
|
||||
src: /opt/metacluster/pinniped/local-user-authenticator.yaml
|
||||
state: present
|
||||
kubeconfig: "{{ kubeconfig.path }}"
|
||||
|
||||
- name: Create local-user-authenticator accounts
|
||||
kubernetes.core.k8s:
|
||||
template: secret.j2
|
||||
state: present
|
||||
kubeconfig: "{{ kubeconfig.path }}"
|
||||
vars:
|
||||
_template:
|
||||
name: "{{ item.username }}"
|
||||
namespace: local-user-authenticator
|
||||
type: ''
|
||||
data:
|
||||
- groups: group1,group2
|
||||
passwordHash: "{{ item.password }}"
|
||||
loop: "{{ components['local-user-authenticator'].users }}"
|
||||
|
||||
- block:
|
||||
|
||||
- name: Install pinniped chart
|
||||
|
Reference in New Issue
Block a user