Helm chart
Hi, can anyone help me with self hosted deployment
I am getting this error:
helm install my-novu . --set store.encryptionKey=$(openssl rand -base64 32)
Error: INSTALLATION FAILED: YAML parse error on novu/templates/api/deployment.yaml: error converting YAML to JSON: yaml: line 92: mapping values are not allowed in this context
5 Replies
Hi @gauravmishraz, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* AWS
* Kubernetes
* Deploy with Docker
* Commercial Self Host
-----------------------------
Answer
It seems like there is a syntax issue in your Helm chart, specifically in the
novu/templates/api/deployment.yaml
file. This type of error usually occurs when there is an indentation problem or a misplaced character in your YAML file.
Here are a few steps you can take to resolve this issue:
1. Check Indentation: Ensure that the indentation is correct. YAML is indentation-sensitive, so make sure each level of indentation is consistent.
2. Inspect Line 92: Look closely at line 92 in the novu/templates/api/deployment.yaml
file to see if there are any obvious syntax errors.
You can also refer to the existing discussions about Helm chart deployments and known issues in these references:
- GitHub Issue on Helm Chart Errors (1)
- Discord Forum Post on Helm Chart Errors (2)
If you encounter further issues, you might need to validate the entire YAML file using a YAML validator.Hey @gauravmishraz can you share some more information as to how are you trying to deploy?
Hi @Tomer Barnea , I am using provided helm chart https://github.com/novuhq/novu/blob/next/docker/kubernetes/helm/README.md and using default values to deploy it on GKE, I might have done some mistake as I am new to this
@gauravmishraz
Current helm chart was added by someone from community and we don't support kubernetes deployemnt officially