janiussyafiq opened a new pull request, #614:
URL: https://github.com/apache/apisix-docker/pull/614
Remove check_standalone_config.sh and all references to it, syncing with
apache/apisix#12949.
The old shell script used regex pattern matching to validate standalone mode
configuration (checking for role: data_plane, role_data_plane:, and
config_provider: yaml in config.yaml). This approach was fragile — it could
fail on valid YAML that used different formatting such as quoted values, flow
syntax, or varied whitespace.
Validation is now handled semantically in APISIX core (ops.lua), making the
shell-level check redundant.
Changes
- Delete utils/check_standalone_config.sh
- Remove source /check_standalone_config.sh from all entrypoint scripts
- Remove COPY ./check_standalone_config.sh from all Dockerfiles
- Remove explicit cp/rm of the script from Makefile redhat targets
--
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]