gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

minio fails to template on go 1.14+

Open MGlolenstine opened this issue 6 years ago • 3 comments

There is a problem where the gitpod uses minio package, which has redundant parentheses which cause the template to fail upon trying to install.

`helm upgrade --install ...` command output
# helm upgrade --install $(for i in $(cat configuration.txt); do echo -e "-f $i"; done) gitpod .
Release "gitpod" does not exist. Installing it now.
Error: template: gitpod-selfhosted/charts/gitpod/charts/minio/templates/deployment.yaml:192:20: executing "gitpod-selfhosted/charts/gitpod/charts/minio/templates/deployment.yaml" at <(not .Values.gcsgateway.enabled) (not .Values.azuregateway.enabled) (not .Values.s3gateway.enabled) (not .Values.b2gateway.enabled)>: can't give argument to non-function not .Values.gcsgateway.enabled
`helm version` output with the go version
# helm version
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.14.4"}

It might be worth noting, that I'm running everything on AARCH64 architecture on a Raspberry Pi 3B+, even though the architecture shouldn't be the cause.

EDIT:

The problem is with the minio, as the problem has been reported with Helm as well.

MGlolenstine avatar Jun 18 '20 09:06 MGlolenstine

So apparently this issue has been solved with Helm on March 13th, but I'm unsure why GitPod self-hosted still uses the old version. It could be that I'm doing something wrong or that patch hasn't been released yet.

I just wanted some input on that.

MGlolenstine avatar Jun 19 '20 06:06 MGlolenstine

Minio is a dependency of Gitpod and we encourage you to install minio separately. On the other hand, Gitpod supports only x86_64 architecture.

fullmetalrooster avatar Oct 12 '20 13:10 fullmetalrooster

Duplicate: #1740

corneliusludmann avatar Nov 21 '20 15:11 corneliusludmann