Adjust validation for run_as_user,run_as_group

This commit is contained in:
Benjamin A. Petersen
2023-11-07 12:39:11 -05:00
committed by Ryan Richard
parent 9a632134ae
commit c455a17abe
2 changed files with 8 additions and 0 deletions

View File

@@ -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

View File

@@ -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