You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "starsz (via GitHub)" <gi...@apache.org> on 2023/11/03 06:57:19 UTC
[PR] improve: don't add admin block if the role is data plane [apisix-helm-chart]
starsz opened a new pull request, #659:
URL: https://github.com/apache/apisix-helm-chart/pull/659
Before this PR: apisix-helm-chart will generate the config as follow:
```
`
deployment:
role: data_plane
role_data_plane:
config_provider: etcd
admin:
allow_admin: # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
- 127.0.0.1/24
# - "::/64"
admin_listen:
ip: 0.0.0.0
port: 9180
# Default token when use API to call for Admin API.
# *NOTE*: Highly recommended to modify this value to protect APISIX's Admin API.
# Disabling this configuration item means that the Admin API does not
# require any authentication.
admin_key:
# admin: can everything for configuration data
- name: "admin"
key: edd1c9f034335f136f87ad84b625c8f1
role: admin
# viewer: only can view configuration data
- name: "viewer"
key: 4054f7cf07e344346cd3f287985e76a2
role: viewer
etcd:
host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
- "http://apisix-etcd.default.svc.cluster.local:2379"
prefix: "/apisix" # configuration prefix in etcd
timeout: 30 # 30 seconds``
```
After this PR:
```
deployment:
role: data_plane
role_data_plane:
config_provider: etcd
etcd:
host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
- "http://test4-etcd.default.svc.cluster.local:2379"
prefix: "/apisix" # configuration prefix in etcd
timeout: 30 # 30 second
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] improve: don't add admin block if the role is data plane [apisix-helm-chart]
Posted by "starsz (via GitHub)" <gi...@apache.org>.
starsz merged PR #659:
URL: https://github.com/apache/apisix-helm-chart/pull/659
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org