Last active
March 21, 2022 12:31
-
-
Save JounQin/e4f70fbf0a8b4a9a8a15f649285f4eee to your computer and use it in GitHub Desktop.
Alauda Dev Console Configuration Schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Alauda Dev Console Configuration", | |
"$schema": "http://json-schema.org/draft-07/schema", | |
"type": "object", | |
"required": [ | |
"authentication", | |
"console" | |
], | |
"properties": { | |
"authentication": { | |
"type": "object", | |
"properties": { | |
"oidc_client_secret": { | |
"type": "string" | |
}, | |
"oidc_issuer_url": { | |
"type": "string" | |
}, | |
"oidc_client_id": { | |
"type": "string" | |
}, | |
"oidc_ca_file": { | |
"type": "string" | |
}, | |
"oidc_username_claim": { | |
"type": "string" | |
}, | |
"oidc_username_prefix": { | |
"type": "string" | |
}, | |
"oidc_groups_prefix": { | |
"type": "string" | |
}, | |
"oidc_groups_claim": { | |
"type": "string" | |
}, | |
"oidc_redirect_url": { | |
"type": "string" | |
}, | |
"oidc_timeout": { | |
"type": "string", | |
"pattern": "^\\d+m?s" | |
}, | |
"oidc_protocol_override": { | |
"type": "string", | |
"enum": [ | |
"http", | |
"https", | |
"ftp" | |
] | |
}, | |
"http_proxy": { | |
"type": "string" | |
}, | |
"https_proxy": { | |
"type": "string" | |
}, | |
"no_proxy": { | |
"type": "string" | |
}, | |
"product": { | |
"type": "string" | |
}, | |
"login": { | |
"type": "string" | |
}, | |
"password": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"http_proxy", | |
"https_proxy", | |
"no_proxy", | |
"login", | |
"password" | |
] | |
}, | |
"log": { | |
"type": "object", | |
"properties": { | |
"level": { | |
"type": "string", | |
"enum": [ | |
"debug", | |
"info", | |
"warn", | |
"error" | |
] | |
} | |
} | |
}, | |
"console": { | |
"type": "object", | |
"required": [ | |
"api_address" | |
], | |
"properties": { | |
"api_address": { | |
"type": "string" | |
}, | |
"envs": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"required": [ | |
"key", | |
"value" | |
], | |
"properties": { | |
"key": { | |
"type": "string" | |
}, | |
"value": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false | |
} | |
}, | |
"proxy_configmap_path": { | |
"type": "string" | |
} | |
} | |
}, | |
"common": { | |
"type": "object", | |
"properties": { | |
"disable_dynamic_url": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"audit": { | |
"type": "object", | |
"properties": { | |
"policy_file": { | |
"type": "string" | |
} | |
} | |
}, | |
"defaultUser": { | |
"type": "object", | |
"properties": { | |
"login": { | |
"type": "string" | |
}, | |
"password": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"envs": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"api_address": { | |
"type": "string" | |
}, | |
"login": { | |
"type": "string" | |
}, | |
"password": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"api_address" | |
], | |
"additionalProperties": false | |
} | |
}, | |
"activeEnv": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment