fix: align admin behavior and Kratos integrations
This commit is contained in:
@@ -31,6 +31,8 @@ message Data {
|
||||
string name = 7;
|
||||
string config = 8;
|
||||
string path = 9;
|
||||
string alias_name = 10;
|
||||
bool disable = 11;
|
||||
}
|
||||
message Redis {
|
||||
string network = 1;
|
||||
@@ -40,6 +42,7 @@ message Data {
|
||||
}
|
||||
Database database = 1;
|
||||
Redis redis = 2;
|
||||
repeated Database database_list = 3;
|
||||
}
|
||||
|
||||
// AdminBackend contains settings for the administration HTTP transport.
|
||||
@@ -53,6 +56,8 @@ message AdminBackend {
|
||||
// ConfigPath is populated by the entrypoint and is not required in YAML.
|
||||
string config_path = 7;
|
||||
Media media = 8;
|
||||
repeated Disk disk_list = 9;
|
||||
System system = 10;
|
||||
|
||||
message JWT {
|
||||
string signing_key = 1;
|
||||
@@ -88,6 +93,17 @@ message AdminBackend {
|
||||
int32 session_ttl = 1;
|
||||
}
|
||||
|
||||
message Disk {
|
||||
string mount_point = 1;
|
||||
}
|
||||
|
||||
message System {
|
||||
bool use_redis = 1;
|
||||
bool use_multipoint = 2;
|
||||
bool use_strict_auth = 3;
|
||||
bool disable_auto_migrate = 4;
|
||||
}
|
||||
|
||||
message Storage {
|
||||
string type = 1;
|
||||
Qiniu qiniu = 2;
|
||||
|
||||
Reference in New Issue
Block a user