mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-26 03:28:19 +00:00
config: Add developmentMode to schema
Add a `developmentMode` configuration variable to the schema. Do not expose this on the device target state until local key-based authentication is sorted. Relates-to: https://jel.ly.fish/e9525e9e-aa74-478c-b931-52951c679f78 Change-type: patch Signed-off-by: Alex Gonzalez <alexg@balena.io>
This commit is contained in:
parent
eeefc3abdd
commit
4ad7a3ae91
@ -170,6 +170,10 @@ export const schemaTypes = {
|
||||
type: PermissiveBoolean,
|
||||
default: true,
|
||||
},
|
||||
developmentMode: {
|
||||
type: PermissiveBoolean,
|
||||
default: false,
|
||||
},
|
||||
|
||||
// Function schema types
|
||||
// The type should be the value that the promise resolves
|
||||
|
@ -79,6 +79,11 @@ export const schema = {
|
||||
mutable: false,
|
||||
removeIfNull: false,
|
||||
},
|
||||
developmentMode: {
|
||||
source: 'config.json',
|
||||
mutable: true,
|
||||
removeIfNull: false,
|
||||
},
|
||||
|
||||
name: {
|
||||
source: 'db',
|
||||
|
Loading…
x
Reference in New Issue
Block a user