fix: add global config

This commit is contained in:
Tore Stendal Lønøy 2023-12-08 09:34:42 +01:00
parent d9c575f73d
commit 2d7451b36a
No known key found for this signature in database

View file

@ -684,6 +684,11 @@ type Configuration struct {
// +optional
GlobalExternalAuth GlobalExternalAuth `json:"global-external-auth"`
// By default, the NGINX ingress controller applies global-auth configuration to all Ingress resources,
// if global-auth-url (ConfigMap) is set, and auth-url is not set (Ingess). Default is `true`. By setting this to
// `false`, global-auth is only applied to Ingress resources when global-auth-url (ConfigMap) is set and enable-global-auth is set (Ingress).
GlobalAuthDefaultEnable bool `json:"global-auth-default-enable"`
// Checksum contains a checksum of the configmap configuration
Checksum string `json:"-"`