Skip to content

Commit

Permalink
Allow auth verbosity to be set in values.yaml (#304)
Browse files Browse the repository at this point in the history
Default to not showing `query`, `service` or `token` logs, too.
  • Loading branch information
AlexGodbehere authored Jul 3, 2024
2 parents 1cb46f7 + 2b86caf commit cff5821
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/templates/auth/auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ spec:
- name: PGDATABASE
value: auth
- name: VERBOSE
value: "1"
value: {{.Values.auth.verbosity | quote | required "values.auth.verbosity is required!"}}
{{ include "amrc-connectivity-stack.cache-max-age" (list . "auth") | indent 12 }}
# These are currently only used for the editor. They need to be resolvable by the
# user's browser, so in-cluster names will not work.
Expand Down
1 change: 1 addition & 0 deletions deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ auth:
# -- The repository of the Authorisation component
repository: acs-auth
pullPolicy: IfNotPresent
verbosity: "ALL,!service,!token,!query"

directory:
# -- Whether or not to enable the Directory component
Expand Down

0 comments on commit cff5821

Please sign in to comment.