chore: Refactor dictionary structure
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2023-10-24 16:29:06 +02:00
parent a8cb53429d
commit d1bce54a2d
2 changed files with 8 additions and 6 deletions

View File

@ -15,9 +15,9 @@
{{ {{
{ 'components': ( { 'components': (
metacluster_chartvalues | metacluster_chartvalues |
combine({ 'clusterapi': components['clusterapi'] }) | combine({ 'clusterapi' : components['clusterapi'] }) |
combine({ 'kubevip' : components['kubevip'] }) | combine({ 'kubevip' : components['kubevip'] }) |
combine({ 'pinniped' : components['pinniped'] })), combine({ 'localuserauthenticator': components['pinniped']['local-user-authenticator'] })),
'appliance': { 'appliance': {
'version': (applianceversion) 'version': (applianceversion)
} }

View File

@ -29,9 +29,11 @@
namespace: local-user-authenticator namespace: local-user-authenticator
type: '' type: ''
data: data:
- groups: group1,group2 - key: groups:
passwordHash: "{{ item.password }}" value: "{{ 'group1,group2' | b64encode }}"
loop: "{{ components.pinniped['local-user-authenticator'].users }}" - key: passwordHash
value: "{{ item.password | b64encode }}"
loop: "{{ components['localuserauthenticator'].users }}"
- block: - block: