chore: Refactor dictionary structure
continuous-integration/drone/push Build is failing Details

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': (
metacluster_chartvalues |
combine({ 'clusterapi': components['clusterapi'] }) |
combine({ 'kubevip' : components['kubevip'] }) |
combine({ 'pinniped' : components['pinniped'] })),
combine({ 'clusterapi' : components['clusterapi'] }) |
combine({ 'kubevip' : components['kubevip'] }) |
combine({ 'localuserauthenticator': components['pinniped']['local-user-authenticator'] })),
'appliance': {
'version': (applianceversion)
}

View File

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