k8sgpt-ai/k8sgpt-operator

[BUG]: Helm install is not working properly for the k8sgpt-operator chart

Opened this issue · 0 comments

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Affected Components

  • K8sGPT (CLI)
  • K8sGPT Operator

K8sGPT Version

No response

Kubernetes Version

v1.28.3

Host OS and its Version

MacOS

Helm Version

v3.2.4

Steps to reproduce

Follow the instructions to install using helm

helm repo add k8sgpt https://charts.k8sgpt.ai/
helm repo update
helm install release k8sgpt/k8sgpt-operator -n test-k8sgpt --create-namespace

Expected behaviour

It should be able to generate the manifests and deploy those on kubernetes

Actual behaviour

Its giving the following error -

install.go:159: [debug] Original chart version: ""
install.go:176: [debug] CHART PATH: /Library/Caches/helm/repository/k8sgpt-operator-0.0.27.tgz

Error: parse error at (k8sgpt-operator/templates/deployment.yaml:60): unclosed action
helm.go:84: [debug] parse error at (k8sgpt-operator/templates/deployment.yaml:60): unclosed action

Additional Information

Solution

I was able to resolve this issue by making few of the lines of deployment.yaml file to single-line