Skip to content

Commit

Permalink
fix: don't require etcd under deployment (#10528)
Browse files Browse the repository at this point in the history
  • Loading branch information
pottekkat authored Nov 22, 2023
1 parent a2da5f1 commit 6707ea7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions apisix/cli/schema.lua
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,7 @@ local config_schema = {
oneOf = {
{
properties = {
role = { const = "traditional" },
etcd = etcd_schema,
role = { enum = { "traditional" } },
admin = admin_schema,
role_traditional = {
type = "object",
Expand All @@ -461,8 +460,7 @@ local config_schema = {
},
{
properties = {
role = { const = "control_plane" },
etcd = etcd_schema,
role = { enum = { "control_plane" } },
admin = admin_schema,
role_control_plane = {
type = "object",
Expand All @@ -478,8 +476,7 @@ local config_schema = {
},
{
properties = {
role = { const = "data_plane" },
etcd = etcd_schema,
role = { enum = { "data_plane" } },
role_data_plane = {
type = "object",
properties = {
Expand Down

0 comments on commit 6707ea7

Please sign in to comment.