oathkeeper-maester in sidecar mode gives me this e...
# ory-selfhosting
w
oathkeeper-maester in sidecar mode gives me this error
Copy code
2023-02-26T15:37:29.234Z	ERROR	controller-runtime.client.config	unable to get kubeconfig	{"error": "could not get current user: user: Current requires cgo or $USER, $HOME set in environment"}
then if I give it what it wants:
Copy code
env:
        - name: USER
          value: "1000"
        - name: HOME
          value: "/tmp"
it tells me:
Copy code
2023-02-26T15:47:28.056Z	ERROR	controller-runtime.client.config	unable to get kubeconfig	{"error": "invalid configuration: no configuration has been provided", "errorCauses": [{"error": "no configuration has been provided"}]}
oh wow. this was set. no wonder.
Copy code
automountServiceAccountToken: false
^ comes from the helm chart
e
Hi there, yes the helm charts by design leave this disabled due to security concerns around https://github.com/kubernetes/kubernetes/issues/57601