wave-k8s / wave

Kubernetes configuration tracking controller
Apache License 2.0
646 stars 82 forks source link

Error when trying to set replicas in chart #115

Closed math3vz closed 4 months ago

math3vz commented 2 years ago

Hello,

I'm trying to install Wave using the Helm chart but I'm getting an error when replicas is set to any value, example:

$ helm template wave-k8s/wave --set replicas="3.0" --debug

Error: template: wave/templates/deployment.yaml:23:17: executing "wave/templates/deployment.yaml" at <gt .Values.replicas 1.0>: error calling gt: incompatible types for comparison
helm.go:88: [debug] template: wave/templates/deployment.yaml:23:17: executing "wave/templates/deployment.yaml" at <gt .Values.replicas 1.0>: error calling gt: incompatible types for comparison

Is there any specific reason why https://github.com/wave-k8s/wave/blob/master/charts/wave/templates/deployment.yaml#L23 is 1.0 not 1?

The weird thing is that I used it before and it worked, but now I'm getting this error.

Can anyone help me?

github-actions[bot] commented 2 years ago

This issue has been inactive for 60 days. If the issue is still relevant please comment to re-activate the issue. If no action is taken within 7 days, the issue will be marked closed.

matheus-moraes-caylent commented 2 years ago

still relevant