mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-01-16 17:51:46 +01:00
Make apiAllowedIPs optional
If our test and production instance just use *, one might as well make that the default value. This should ease configuration for minimal setups.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
package config
|
||||
|
||||
var configSchema = `
|
||||
{
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addr": {
|
||||
@@ -135,6 +135,5 @@ var configSchema = `
|
||||
},
|
||||
"required": ["subjectJobEvent", "subjectNodeState"]
|
||||
}
|
||||
},
|
||||
"required": ["apiAllowedIPs"]
|
||||
}`
|
||||
}
|
||||
}`
|
||||
|
||||
Reference in New Issue
Block a user