Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm charts 3.3.0 install err #679

Closed
liupeng0518 opened this issue Nov 30, 2023 · 13 comments
Closed

helm charts 3.3.0 install err #679

liupeng0518 opened this issue Nov 30, 2023 · 13 comments

Comments

@liupeng0518
Copy link

Expected behaviour

What do you want to achieve?

Actual behaviour

What is happening? Are all the pieces created? Can you access to the service?

merged this pr :#631, install has an err:

❯ helm upgrade --install redis-operator redis-operator/redis-operator --version 3.3.0                                                                                          ─╯
Error: failed to install CRD crds/databases.spotahome.com_redisfailovers.yaml: error parsing : error converting YAML to JSON: yaml: line 4: did not find expected node content
helm.go:84: [debug] error parsing : error converting YAML to JSON: yaml: line 4: did not find expected node content

Steps to reproduce the behaviour

Describe step by step what you've have done to get to this point

Environment

How are the pieces configured?

  • Redis Operator version
  • Kubernetes version
  • Kubernetes configuration used (eg: Is RBAC active?)

Logs

Please, add the debugging logs. In order to be able to gather them, add -debug flag when running the operator.

@TartanLeGrand
Copy link

It is normal for the crd folder not to be templetised.

@carnerito
Copy link

@liupeng0518 Did you managed to solve this? I'm having same issue and I'm not sure how to preceed with this.

@liupeng0518
Copy link
Author

@liupeng0518 Did you managed to solve this? I'm having same issue and I'm not sure how to preceed with this.

helm fetch redis-operator/redis-operator --version 3.3.0

and delete this commit https://github.com/spotahome/redis-operator/pull/631/files

then helm install

@carnerito
Copy link

Thanks @liupeng0518
I ended up installing operator by directly applying manifests with kubectl.

@TartanLeGrand
Copy link

Or maybe you can use the version before the 3.3.0 😄

@piyoki
Copy link

piyoki commented Dec 24, 2023

I got the same errors.

@tpmccallum
Copy link

Same, got the following error:

$ helm repo add redis-operator https://spotahome.github.io/redis-operator
"redis-operator" has been added to your repositories
$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "redis-operator" chart repository
Update Complete. ⎈Happy Helming!⎈
$ helm install redis-operator redis-operator/redis-operator
Error: INSTALLATION FAILED: failed to install CRD crds/databases.spotahome.com_redisfailovers.yaml: error parsing : error converting YAML to JSON: yaml: line 4: did not find expected node content

Copy link

github-actions bot commented Mar 8, 2024

This issue is stale because it has been open for 45 days with no activity.

@github-actions github-actions bot added the stale label Mar 8, 2024
@carnerito
Copy link

not stale

@github-actions github-actions bot removed the stale label Mar 19, 2024
@mhbahmani
Copy link

I have the same issue.
kubectl v1.25
k8s cluster v1.22

@mhbahmani
Copy link

mhbahmani commented Apr 5, 2024

There is an active MR for this problem at #655, but this project seems too abandoned for this MR to get merged :)

@romanlytovchenko
Copy link

Maybe this could be helpful for someone
helm ... --post-renderer-args='s/{{.*}}/\#/' --post-renderer="sed"

@liupeng0518
Copy link
Author

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants