From 845443720daa6cb8554dc06654186d976cdfb469 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sat, 19 Oct 2024 16:59:59 -0500 Subject: [PATCH] revert and disable acl in conf --- kubernetes/apps/database/emqx/cluster/cluster.yaml | 8 ++++---- .../apps/database/emqx/cluster/resources/emqx.conf | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/kubernetes/apps/database/emqx/cluster/cluster.yaml b/kubernetes/apps/database/emqx/cluster/cluster.yaml index 5bf8d987..7ceefb52 100644 --- a/kubernetes/apps/database/emqx/cluster/cluster.yaml +++ b/kubernetes/apps/database/emqx/cluster/cluster.yaml @@ -22,10 +22,10 @@ spec: mountPath: /opt/init-user.json subPath: init-user.json readOnly: true - # - name: acl-conf - # mountPath: /opt/acl.conf - # subPath: acl.conf - # readOnly: true + - name: acl-conf + mountPath: /opt/acl.conf + subPath: acl.conf + readOnly: true extraVolumes: - name: init-user secret: diff --git a/kubernetes/apps/database/emqx/cluster/resources/emqx.conf b/kubernetes/apps/database/emqx/cluster/resources/emqx.conf index 8dc51b7a..74b5e365 100644 --- a/kubernetes/apps/database/emqx/cluster/resources/emqx.conf +++ b/kubernetes/apps/database/emqx/cluster/resources/emqx.conf @@ -11,11 +11,11 @@ authentication { authorization { sources = [ - { - type = file - enable = true - path = "/opt/acl.conf" - }, + // { + // type = file + // enable = true + // path = "/opt/acl.conf" + // }, { type = built_in_database enable = true