komljen / helm-charts

Helm charts - Apps for Kubernetes
154 stars 102 forks source link

Error: apiVersion "enterprises.upmc.com/v1" not available. #3

Closed ervikrant06 closed 6 years ago

ervikrant06 commented 6 years ago

Getting following error while trying to do helm install.

$ helm install --name efk --namespace logging akomljen-charts/efk
Error: could not find tiller

$ helm init
$HELM_HOME has been configured at /Users/viaggarw/.helm.

Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.

Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.
For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation
Happy Helming!

$ helm install --name efk --namespace logging akomljen-charts/efk
2018/09/01 10:51:21 warning: skipped value for env: Not a table.
2018/09/01 10:51:21 warning: skipped value for env: Not a table.
2018/09/01 10:51:21 warning: skipped value for env: Not a table.
2018/09/01 10:51:21 warning: skipped value for env: Not a table.
Error: apiVersion "enterprises.upmc.com/v1" in efk/charts/elasticsearch/templates/cluster.yaml is not available
komljen commented 6 years ago

You need to install ES operator first:

⚡ helm repo add akomljen-charts \
    https://raw.githubusercontent.com/komljen/helm-charts/master/charts/

⚡ helm install --name es-operator \
    --namespace logging \
    --set rbac.create=false \
    akomljen-charts/elasticsearch-operator