diff --git a/conf/admin_api.env b/conf/admin_api.env index 6260a1d85..650b79c73 100644 --- a/conf/admin_api.env +++ b/conf/admin_api.env @@ -2,3 +2,4 @@ DB_USER=admin DB_PASSWD=passwd EVAL_TOPIC=patchman.evaluator.recalc +POD_CONFIG=turnpike_auth=false diff --git a/deploy/clowdapp.yaml b/deploy/clowdapp.yaml index d3f6f1831..24d918f43 100644 --- a/deploy/clowdapp.yaml +++ b/deploy/clowdapp.yaml @@ -648,7 +648,7 @@ parameters: - {name: RES_LIMIT_MEM_ADMIN, value: 256Mi} - {name: RES_REQUEST_CPU_ADMIN, value: 50m} - {name: RES_REQUEST_MEM_ADMIN, value: 128Mi} -- {name: ADMIN_CONFIG, value: 'turnpike_auth'} +- {name: ADMIN_CONFIG, value: ''} # Floorist parameters - {name: FLOORIST_SUSPEND, value: 'true', required: true} # Disable Floorist cronjob execution diff --git a/turnpike/admin_api.go b/turnpike/admin_api.go index 12630f25c..efb42ff5b 100644 --- a/turnpike/admin_api.go +++ b/turnpike/admin_api.go @@ -27,7 +27,7 @@ func RunAdminAPI() { core.ConfigureApp() // Toggle Turnpike authentication for internal API (manual sync, re-calc) - enableTurnpikeAuth := utils.PodConfig.GetBool("turnpike_auth", false) + enableTurnpikeAuth := utils.PodConfig.GetBool("turnpike_auth", true) utils.LogInfo("port", utils.CoreCfg.PublicPort, "Manager-admin starting") app := gin.New()