diff --git a/utilities/cloudharness_utilities/deployment-configuration/helm/templates/auto-gatekeepers.yaml b/utilities/cloudharness_utilities/deployment-configuration/helm/templates/auto-gatekeepers.yaml index abf9718e..18b9f100 100644 --- a/utilities/cloudharness_utilities/deployment-configuration/helm/templates/auto-gatekeepers.yaml +++ b/utilities/cloudharness_utilities/deployment-configuration/helm/templates/auto-gatekeepers.yaml @@ -9,11 +9,12 @@ metadata: app: "{{ .app.harness.service.name }}-gk" data: proxy.yml: |- - verbose: true + verbose: {{ .root.Values.debug }} discovery-url: {{ ternary "https" "http" $tls}}://{{ .root.Values.apps.accounts.harness.subdomain }}.{{ .root.Values.domain }}/auth/realms/{{ .root.Values.namespace }} client-id: {{ .root.Values.apps.accounts.webclient.id | quote }} client-secret: {{ .root.Values.apps.accounts.webclient.secret }} secure-cookie: {{ $tls }} + forbidden-page: /templates/access-denied.html.tmpl listen: 0.0.0.0:8080 enable-refresh-tokens: true tls-cert: @@ -31,6 +32,43 @@ data: skip-openid-provider-tls-verify: true {{- end }} cacert.crt: {{ .files.Get "resources/certs/cacert.crt" | quote }} + access-denied.html.tmpl: |- + + +
+ +