-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EMQX Operator rejects valid EMQX zone configuration with '.mqtt' path segment #1090
Comments
Hi,@Saddamus I'm sorry, the results I got are inconsistent with yours. apiVersion: apps.emqx.io/v2beta1
kind: EMQX
metadata:
name: emqx
spec:
image: emqx:5
config:
data: |
zones.internal.mqtt.force_shutdown {
enable = false
} And EMQX operator is work, but EMQX pod can not work because the configure of
|
Please try to deploy emqx-cluster.yaml together with this chart. You will find that line zones.internal.mqtt.force_shutdown doesnt pass validation, while without mqtt segment will pass. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Issue Description:
The EMQX operator's CRD validation rejects zone configurations that include the '.mqtt' path segment (e.g., 'zones.internal.mqtt.force_shutdown'), despite this being a valid configuration path required by EMQX itself. This creates a conflict where operators cannot apply certain valid EMQX configurations through the Kubernetes operator.
Impact:
Current Behavior:
Expected Behavior:
Steps to Reproduce:
Configuration Examples:
Valid EMQX configuration (rejected by operator):
Operator-accepted configuration (not fully recognized by EMQX):
Error Logs:
Relevant Configuration:
Attempted Workarounds:
Additional Notes:
The text was updated successfully, but these errors were encountered: