@i_volkov

Как решить проблему с Helm?

Добрый день.
После установки Helm (curl закачали архив tar.gz, распаковали его и скопировали в /usr/local/bin/helm, как описано в https://www.ibm.com/support/knowledgecenter/en/SSB...) возникла вот такая ошибка:
[root@centos ~]# 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

[root@centos ~]# 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
[root@centos ~]# export HELM_HOME=~/.helm
[root@centos ~]# set | grep HELM
HELM_HOME=/root/.helm
_=HELM_HOME
[root@centos ~]# helm init --client-only
Creating /root/.helm
Creating /root/.helm/repository
Creating /root/.helm/repository/cache
Creating /root/.helm/repository/local
Creating /root/.helm/plugins
Creating /root/.helm/starters
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

Доп.информация:

root@centos ~]# set | grep KUBE
KUBECONFIG=/install/os1/auth/kubeconfig
pem файлы есть вот здесь, где стоит OpenShift, но не похоже на то, что именно их надо копировать в /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
  • Вопрос задан
  • 131 просмотр
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы