gardener / garden-setup

Describes Gardener components for installation of a Gardener landscape using sow
Other
78 stars 55 forks source link

TLS Error During Gardener Deployment: Unable to Verify Certificate #1277

Closed Handset closed 9 months ago

Handset commented 10 months ago

Hello everyone! **What happened:** I recently decided to familiarize myself with the gardener project. I created a cluster in GCP and followed the instructions located in the repository "https://github.com/gardener/garden-setup ". Everything is going well up to the point "sow deploy -A": *** sowing species kube-apiserver ...... ingress.networking.k8s.io/apiserver-ingress configured cluster https:// found deployed objects: 13 found currect objects: 13 using config from path finalize Plugin: finalize[deploy] (/mounted/home/user/sow-google/landscape/crop/plugins/finalize/plugin) using /mounted/home/user/sow-google/landscape/kubeconfig generating exports exec: calling [kubectl --kubeconfig /tmp/spiff-791405799 version -o yaml] error: Unable to connect to the server: tls: failed to verify certificate: x509: certificate is valid for kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, not api.ing.k8s.

My acre.yml ########################################################### landscape: name: my-gardener
domain: k8s. cluster:
kubeconfig: kubeconfig
networks:
nodes: 10.128.0.0/24 pods: 10.92.0.0/14 services: 10.96.0.0/20 iaas: