Answer the question
In order to leave comments, you need to log in
How to solve the problem with Helm?
Good afternoon.
After installing Helm (curl downloaded the tar.gz archive, unpacked it and copied it to /usr/local/bin/helm as described in https://www.ibm.com/support/knowledgecenter/en/SSB... ) here is the error:
[[email protected] ~]# helm version --tls
Client: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}
could not read x509 key pair (cert : "/root/.helm/cert.pem", key: "/root/.helm/key.pem"): can't load key pair from cert /root/.helm/cert.pem and key /root/ .helm/key.pem: open /root/.helm/cert.pem: no such file or directory
[[email protected] ~]# helm version --tls
Client: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}
could not read x509 key pair (cert: "/root/.helm/cert.pem", key: " /root/.helm/key.pem"): can't load key pair from cert /root/.helm/cert.pem and key /root/.helm/key.pem: open /root/.helm/cert. pem: no such file or directory
[[email protected] ~]# export HELM_HOME=~/.helm
[[email protected] ~]# set | grep HELM
HELM_HOME=/root/.helm
_=HELM_HOME
[[email protected] ~]# helm init --client-only
Creating /root/.helm
Creating /root/.helm/repository
Creating /root/.helm/repository/cache
Creating /root/.helm/repository/local
Creating /root/.
Creating /root/.helm/cache/archive
Creating /root/.helm/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Adding local repo with URL: 127.0.0.1 :8879/charts
$HELM_HOME has been configured at /root/.helm.
Not installing Tiller due to 'client-only' flag having been set
Additional Info:
[email protected] ~]# set | grep KUBE
KUBECONFIG=/install/os1/auth/kubeconfig
pem files are here where OpenShift is, but it doesn't look like they need to be copied to /root/.helm:
/install/os1/external-storage/snapshot /deploy/ca-certificates/etc/pki/ca-trust/extracted/pem/email-ca-bundle.pem
/install/os1/external-storage/snapshot/deploy/ca-certificates/etc/pki/ca-trust/extracted/pem/objsign-ca-bundle.pem
/install/os1/external-storage/snapshot/deploy/ca -certificates/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question