File tree Expand file tree Collapse file tree
applications/accounts/deploy/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 {{- $j := 0 }}
4848 {{- range $app := .Values.apps }}
4949 {{- if (hasKey $app.harness "accounts") }}
50- {{- $j := add1 $j }}
5150 {{- range $i, $user := $app.harness.accounts.users }}{{if or $i $j }},{{end }}
5251 {{ include "deploy_accounts_utils.user" (dict "root" $ "app" $app "user" $user) }}
5352 {{- end }}
5453 {{- end }}
54+ {{- $j := add1 $j }}
5555 {{- end }}
5656 ],
5757 "roles" : {
8787 {{- $k := 0 }}
8888 {{- range $app := .Values.apps }}
8989 {{- if (hasKey $app.harness "accounts") }}
90- {{ - $k = add1 $k }}
90+
9191 {{ $app.harness.name | quote }}: [
9292 {{- range $i, $role := $app.harness.accounts.roles }}
9393 {{if or $i $k }},{{end }}
9494 {{ include "deploy_accounts_utils.role" (dict "root" $ "app" $app "role" $role) }}
9595 {{- end }}
9696 ]
97+ {{- $k = add1 $k }}
9798 {{- end }}
9899 {{- end }}
99100 }
You can’t perform that action at this time.
0 commit comments