Traefik2.4: uses a non-existent resolver: inwx

Hello @daniel.tomcej ,
sorry for my late reply.
I have found the following output in my logs:

time="2021-07-26T09:56:43Z" level=error msg="The ACME resolver \"inwx\" is skipped from the resolvers list because: unable to get ACME account: permissions 660 for /data/acme.json are too open, please use 600"

I fixed it with an init container which changes the permission before traefik starts:

deployment:
  initContainers:
    - name: volume-permissions
      image: busybox:1.31.1
      command: ["sh", "-c", "chmod -Rv 600 /data/*"]
      volumeMounts:
        - name: data
          mountPath: /data

The first startup of traefik works fine but a helm upgrade broke it. With the init container all is working fine but is there a better way to fix this issue?

1 Like