feat: Include pinniped local-user-authenticator
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-10-22 15:20:34 +02:00
parent ef8766b5ca
commit 5cdd6ef052
5 changed files with 59 additions and 3 deletions

View File

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