Skip to content

Commit

Permalink
Prune deactivated secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
ccremer committed Oct 1, 2021
1 parent 621832a commit 96cf8af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion component/secrets.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ local secrets = [
},
stringData: params.secrets[secretName],
})
for secretName in std.objectFields(params.secrets)
for secretName in std.objectFields(std.prune(params.secrets))
] + legacySecrets;


Expand Down
1 change: 1 addition & 0 deletions tests/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ parameters:
users: {}

secrets:
ignoredSecret: null
oidc-client:
clientSecret: '?{vaultkv:${cluster:tenant}/${cluster:name}/keycloak-auth/clientSecret}'
# this is the secret name in case if `bindPassword.name` is used:
Expand Down

0 comments on commit 96cf8af

Please sign in to comment.