From 2b86cafb2c5da9bb4f0d14201cd28129d99c72dc Mon Sep 17 00:00:00 2001 From: Alex Godbehere Date: Wed, 3 Jul 2024 08:55:41 +0100 Subject: [PATCH] Allow auth verbosity to be set in values.yaml --- deploy/templates/auth/auth.yaml | 2 +- deploy/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/templates/auth/auth.yaml b/deploy/templates/auth/auth.yaml index cf6cb3de..d278d2e2 100644 --- a/deploy/templates/auth/auth.yaml +++ b/deploy/templates/auth/auth.yaml @@ -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. diff --git a/deploy/values.yaml b/deploy/values.yaml index 6be919e7..583c056c 100644 --- a/deploy/values.yaml +++ b/deploy/values.yaml @@ -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