make CI pass with V2 configuration
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
diff --git a/example/apisix_conf/config.yaml b/example/apisix_conf/config.yaml
index cf4095f..da0e949 100644
--- a/example/apisix_conf/config.yaml
+++ b/example/apisix_conf/config.yaml
@@ -24,25 +24,23 @@
ip: "0.0.0.0"
port: 9092
-deployment:
- admin:
- allow_admin: # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
- - 0.0.0.0/0 # We need to restrict ip access rules for security. 0.0.0.0/0 is for test.
+ allow_admin: # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
+ - 0.0.0.0/0 # We need to restrict ip access rules for security. 0.0.0.0/0 is for test.
- admin_key:
- - name: "admin"
- key: edd1c9f034335f136f87ad84b625c8f1
- role: admin # admin: manage all configuration data
+ admin_key:
+ - name: "admin"
+ key: edd1c9f034335f136f87ad84b625c8f1
+ role: admin # admin: manage all configuration data
- - name: "viewer"
- key: 4054f7cf07e344346cd3f287985e76a2
- role: viewer
+ - name: "viewer"
+ key: 4054f7cf07e344346cd3f287985e76a2
+ role: viewer
- etcd:
- host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
- - "http://etcd:2379" # multiple etcd address
- prefix: "/apisix" # apisix configurations prefix
- timeout: 30 # 30 seconds
+etcd:
+ host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
+ - "http://etcd:2379" # multiple etcd address
+ prefix: "/apisix" # apisix configurations prefix
+ timeout: 30 # 30 seconds
plugin_attr:
prometheus:
diff --git a/example/docker-compose.yml b/example/docker-compose.yml
index 3247a2a..f14a17f 100644
--- a/example/docker-compose.yml
+++ b/example/docker-compose.yml
@@ -29,7 +29,7 @@
apisix:
apisix:
- image: apache/apisix:latest
+ image: apache/apisix:2.15.1-debian
restart: always
volumes:
- ./apisix_log:/usr/local/apisix/logs