hello all,
i’ve a problem by adding a new kubernetes cluster with rancher ui
while i’m adding the cluster the rancher page propose me:
kubectl apply -f https://rancher2.pirelli.com:444/v3/import/t2mb5phpqrfms5md4l28x5lrnm769dnsb52kk7jtpkjgsbqqfbg4lc.yaml
if happen the following error :
If you get an error about ‘certificate signed by unknown authority’ because your Rancher installation is running with an untrusted/self-signed SSL certificate, run the command below instead to bypass the certificate check:
curl --insecure -sfL https://rancher2.pirelli.com:444/v3/import/t2mb5phpqrfms5md4l28x5lrnm769dnsb52kk7jtpkjgsbqqfbg4lc.yaml | kubectl apply -f -
from my point of view the command is incomplete; if i use the following
curl --insecure -sfL https://rancher2.pirelli.com:444/v3/import/t2mb5phpqrfms5md4l28x5lrnm769dnsb52kk7jtpkjgsbqqfbg4lc.yaml | kubectl apply -f https://rancher2.pirelli.com:444/v3/import/t2mb5phpqrfms5md4l28x5lrnm769dnsb52kk7jtpkjgsbqqfbg4lc.yaml
I’ve the same error “certificate signed by unknown authority”
Could you please help me in what i’m doing wrong ?
Looking forward to hearing
Alessandro