From c455a17abe177ee1da68d6dab5fcb7e9c616d6ac Mon Sep 17 00:00:00 2001 From: "Benjamin A. Petersen" Date: Tue, 7 Nov 2023 12:39:11 -0500 Subject: [PATCH] Adjust validation for run_as_user,run_as_group --- deploy/concierge/values.yaml | 4 ++++ deploy/supervisor/values.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/deploy/concierge/values.yaml b/deploy/concierge/values.yaml index 5964abb97..5252aa5da 100644 --- a/deploy/concierge/values.yaml +++ b/deploy/concierge/values.yaml @@ -139,11 +139,15 @@ deprecated_log_format: "" #@schema/title "Run as user" #@schema/desc "The user ID that will own the process." +#@schema/type any=True +#@schema/validation ("an int or string", lambda v: type(v) in ["int", "string"]) #! See the Dockerfile for the reasoning behind this default value. run_as_user: 65532 #@schema/title "Run as group" #@schema/desc "The group ID that will own the process." +#@schema/type any=True +#@schema/validation ("an int or string", lambda v: type(v) in ["int", "string"]) #! See the Dockerfile for the reasoning behind this default value. run_as_group: 65532 diff --git a/deploy/supervisor/values.yaml b/deploy/supervisor/values.yaml index 1d3734b69..ba84a675e 100644 --- a/deploy/supervisor/values.yaml +++ b/deploy/supervisor/values.yaml @@ -178,11 +178,15 @@ deprecated_log_format: "" #@schema/title "Run as user" #@schema/desc "The user ID that will own the process." +#@schema/type any=True +#@schema/validation ("an int or string", lambda v: type(v) in ["int", "string"]) #! See the Dockerfile for the reasoning behind this default value. run_as_user: 65532 #@schema/title "Run as group" #@schema/desc "The group ID that will own the process." +#@schema/type any=True +#@schema/validation ("an int or string", lambda v: type(v) in ["int", "string"]) #! See the Dockerfile for the reasoning behind this default value. run_as_group: 65532