Skip to content

Changing config doesn't lead to recreation by emqx operator #1134

@lukas-mertens

Description

@lukas-mertens

Describe the bug
I did a change to my emqx config like this:

Image

for my emqx resource.

I also changed mounts in my resource:

Image

Now, after performing a sync using argocd, the emqx correctly changed the mount. The configmap which is managed by the emqx-operator was not recreated however. This lead to the new pod crashing because it didn't use the correct acl.conf path in the configmap.

To Reproduce
Steps to reproduce the behavior:

Change e.g. mounts + config. Observe that newly created pod still uses old config

Expected behavior
A clear and concise description of what you expected to happen.

New pod should use new config

Anything else we need to know?:

Environment details::

  • Kubernetes version: v1.31.5
  • emqx-operator version: 2.2.28
  • Install method: helm

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions