HoussemDellai / kubernetes-ingress-tls-ssl-https

Demoing configuration for Ingress and HTTPS/TLS/SSL in Kubernetes.
50 stars 115 forks source link

certificate issue when installing ingress using helm #4

Open drmianasbat opened 5 months ago

drmianasbat commented 5 months ago

Here is the error

` ~/nginx/kubernetes-ingress-tls-ssl-https   master ● helm install app-ingress ingress-nginx/ingress-nginx \
--namespace ingress \ --create-namespace \ --set controller.replicaCount=2 \ --set controller.nodeSelector."beta.kubernetes.io/os"=linux \ --set defaultBackend.nodeSelector."beta.kubernetes.io/os"=linux

Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "https://mianaks-mian-aks-rg-8c11bf-nqtskpll.hcp.uksouth.azmk8s.io:443/version": tls: failed to verify certificate: x509: certificate signed by unknown authority`

drmianasbat commented 5 months ago

The error did not appear when I run it from cloudshell. Open portal, then cloud shell, connect to your cluster, and run the repo command and then the install