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

camel-K installation failed with Helm on GKE #1664

Closed
jeremie-H opened this issue Aug 13, 2020 · 2 comments · Fixed by #1933
Closed

camel-K installation failed with Helm on GKE #1664

jeremie-H opened this issue Aug 13, 2020 · 2 comments · Fixed by #1933
Milestone

Comments

@jeremie-H
Copy link

jeremie-H commented Aug 13, 2020

Hello,

I try to install camel-K with helm on a gke environment. I've followed this current guide : https://hub.helm.sh/charts/camel-k/camel-k

First step :

helm repo add camel-k https://apache.github.io/camel-k/charts

then i 've tried

helm install \
  --generate-name \
  --set platform.cluster=Kubernetes \
  camel-k/camel-k

but i've got the following error :

Error: template: camel-k/templates/NOTES.txt:4:7: executing "camel-k/templates/NOTES.txt" at <(not .Values.platform.cluster) or (.Values.platform.cluster ne "OpenShift")>: can't give argument to non-function not .Values.platform.cluster

kubernetes version :

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.5", GitCommit:"e6503f8d8f769ace2f338794c914a96fc335df0f", GitTreeState:"clean", BuildDate:"2020-06-26T03:47:41Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.11-gke.5", GitCommit:"baccd25d44f1a0d06ad3190eb508784efbb990a5", GitTreeState:"clean", BuildDate:"2020-06-25T22:55:26Z", GoVersion:"go1.13.9b4", Compiler:"gc", Platform:"linux/amd64"}

i would be grateful if you could find a solution or a workaround 😗

@marzelwidmer
Copy link

marzelwidmer commented Sep 19, 2020

Same issue on minikube :

minikube version: v1.13.0

kubernetes version :

Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.2", GitCommit:"f5743093fd1c663cb0cbc89748f730662345d44d", GitTreeState:"clean", BuildDate:"2020-09-16T21:51:49Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:23:04Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}

And on OKD 3.11

 helm install \
  --generate-name \
  --set platform.cluster=OpenShift \
  camel-k/camel-k
Error: template: camel-k/templates/NOTES.txt:4:7: executing "camel-k/templates/NOTES.txt" at <(not .Values.platform.cluster) or (.Values.platform.cluster ne "OpenShift")>: can't give argument to non-function not .Values.platform.cluste

My workaround was installed with KAMEL CLI

kamel install
Camel K installed in namespace dev

@nicolaferraro nicolaferraro added this to the 1.2.0 milestone Sep 21, 2020
@nicolaferraro nicolaferraro modified the milestones: 1.2.0, 1.3.0 Oct 13, 2020
@marko999
Copy link

marko999 commented Dec 15, 2020

similar problem... it works when using kamel cli

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

Successfully merging a pull request may close this issue.

4 participants