Description
Apache APISIX v3 adds a decoupled deployment mode. ref: https://apisix.apache.org/docs/apisix/deployment-modes/#decoupled
The current schema is not perfect.
When the role is control_plane, it should contain the configuration of the admin field, which is consistent with traditional.
|
control_plane = { |
|
properties = { |
|
etcd = etcd_schema, |
|
role_control_plane = { |
|
properties = { |
|
config_provider = { |
|
enum = {"etcd"} |
|
}, |
|
conf_server = { |
|
properties = { |
|
listen = { |
|
type = "string", |
|
default = "0.0.0.0:9280", |
|
}, |
|
cert = { type = "string" }, |
|
cert_key = { type = "string" }, |
|
client_ca_cert = { type = "string" }, |
|
}, |
|
required = {"cert", "cert_key"} |
|
}, |
|
}, |
|
required = {"config_provider", "conf_server"} |
|
}, |
|
certs = { |
|
properties = { |
|
cert = { type = "string" }, |
|
cert_key = { type = "string" }, |
|
trusted_ca_cert = { type = "string" }, |
|
}, |
|
dependencies = { |
|
cert = { |
|
required = {"cert_key"}, |
|
}, |
|
}, |
|
default = {}, |
|
}, |
|
}, |
|
required = {"etcd", "role_control_plane"} |
xref: apache/apisix-helm-chart#459
Description
Apache APISIX v3 adds a decoupled deployment mode. ref: https://apisix.apache.org/docs/apisix/deployment-modes/#decoupled
The current schema is not perfect.
When the role is
control_plane, it should contain the configuration of theadminfield, which is consistent with traditional.apisix/apisix/cli/schema.lua
Lines 375 to 412 in 5984321
xref: apache/apisix-helm-chart#459