intellij-openshift-connector
intellij-openshift-connector copied to clipboard
Installing helm chart to cluster with self-signed cert fails ` tls: failed to verify certificate: x509: “kubernetes” certificate is not trusted`
Steps:
- ASSERT: have a cluster that is using a self-signed certificate
- EXEC: try to install a helm chart
Result: Installation fails with
Process exited with an error: 1 (Exit value: 1) WARNING: This chart is deprecated
Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "https://a03ac51f3a3e54287a3a342aae2694fa-29636b249daba727.elb.us-east-1.amazonaws.com:6443/version": tls: failed to verify certificate: x509: “kubernetes” certificate is not trusted
WORKAROUND: change kube config to insecure-skip-tls-verify: true
clusters:
- name: insecure-cluster
cluster:
server: https://api.example.com:6443 # Replace with your cluster endpoint
==> insecure-skip-tls-verify: true # Disables TLS certificate validation