ricoberger / vault-secrets-operator

Create Kubernetes secrets from Vault for a secure GitOps based workflow.
MIT License
633 stars 103 forks source link

Error with vault-secrets-operator #150

Closed jvaitla closed 2 years ago

jvaitla commented 2 years ago

Hi Having issues with vault-secrets-operator in some clusters, what need to done to fix this issue?

Here was one of the error

E0223 16:52:57.962534 1 leaderelection.go:330] error retrieving resource lock flux-system/vaultsecretsoperator.ricoberger.de: etcdserver: request timed out

ricoberger commented 2 years ago

Hi @jvaitla, I think this looks like a problem with your Kubernetes API server. If you see this very often you can disable the leader election of the operator via

args:
  - -leader-elect=false
ricoberger commented 2 years ago

Since there was no reply yet, I would close the issue for now. If you still have problems please let me know.