shreemaan-abhishek commented on code in PR #558:
URL: https://github.com/apache/apisix-docker/pull/558#discussion_r1716464739
##########
redhat/docker-entrypoint.sh:
##########
@@ -31,10 +31,29 @@ deployment:
config_provider: yaml
_EOC_
else
- # updating config.yaml for standalone mode
- echo "$(sed 's/role: traditional/role: data_plane/g'
${PREFIX}/conf/config.yaml)" > ${PREFIX}/conf/config.yaml
- echo "$(sed 's/role_traditional:/role_data_plane:/g'
${PREFIX}/conf/config.yaml)" > ${PREFIX}/conf/config.yaml
- echo "$(sed 's/config_provider: etcd/config_provider: yaml/g'
${PREFIX}/conf/config.yaml)" > ${PREFIX}/conf/config.yaml
+ # Check if the deployment role is set to data_plane and config
provider is set to yaml for standalone mode
Review Comment:
yes
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]