8gears / n8n-helm-chart

A Kubernetes Helm chart for n8n a Workflow Automation Tool. Easily automate tasks across different services.
https://artifacthub.io/packages/helm/open-8gears/n8n
Apache License 2.0
187 stars 97 forks source link

n8n pod failing to configure - no encryption key #37

Closed Korinin38 closed 1 year ago

Korinin38 commented 1 year ago

According to values.yaml,

n8n:
  encryption_key: # n8n creates a random encryption key automatically on the first launch and saves it in the ~/.n8n folder. That key is used to encrypt the credentials before they get saved to the database.

I'm using helm on microk8s. With default values.yaml file, $ microk8s helm -f values.yaml install n8n open-8gears/n8n --debug results in pod with CreateContainerConfigError, specifically

  Type     Reason             Age              From               Message
  ----     ------             ----             ----               -------
  Warning  Failed             3s (x3 over 4s)  kubelet            Error: secret "n8n" not found

No .n8n folder is created. I managed to bypass the issue by typing encryption key into values.yaml manually.

Korinin38 commented 1 year ago

Looks like #34 solves the issue. @Vad1mo I would appreciate if you could look into the request and merge it if possible. I'm happy to provide any help needed.