From 9c291bbf47b3b69c2948b6e3e0d6dceec417573d Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Fri, 27 Oct 2023 22:06:07 +0300 Subject: [PATCH] :hammer: Disable auth by default --- config/configStructs/tapConfig.go | 2 +- helm-chart/values.yaml | 2 +- manifests/complete.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index d51149fda..9ecab4c4c 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -81,7 +81,7 @@ type ResourcesConfig struct { } type AuthConfig struct { - Enabled bool `yaml:"enabled" json:"enabled" default:"true"` + Enabled bool `yaml:"enabled" json:"enabled" default:"false"` ApprovedEmails []string `yaml:"approvedEmails" json:"approvedEmails" default:"[]"` ApprovedDomains []string `yaml:"approvedDomains" json:"approvedDomains" default:"[]"` ApprovedTenants []string `yaml:"approvedTenants" json:"approvedTenants" default:"[]"` diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 13fecf6c2..6ee1044ea 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -51,7 +51,7 @@ tap: values: - linux auth: - enabled: true + enabled: false approvedEmails: [] approvedDomains: [] approvedTenants: [] diff --git a/manifests/complete.yaml b/manifests/complete.yaml index 31c2af704..c3cd61fd6 100644 --- a/manifests/complete.yaml +++ b/manifests/complete.yaml @@ -95,7 +95,7 @@ data: NAMESPACES: '' SCRIPTING_ENV: '{}' SCRIPTING_SCRIPTS: '{}' - AUTH_ENABLED: 'true' + AUTH_ENABLED: '' AUTH_APPROVED_EMAILS: '' AUTH_APPROVED_DOMAINS: '' AUTH_APPROVED_TENANTS: ''