sparse-intern-71089
10/01/2021, 1:23 AMbillowy-army-68599
sa
, try this:
sa = k8s.core.v1.ServiceAccount("microservice",
metadata=k8s.meta.v1.ObjectMetaArgs(
namespace="monitoring",
name="microservice"
)
opts=pulumi.ResourceOptions(provider=k8s_provider)
)
rhythmic-rain-31941
10/01/2021, 1:36 AMerror: configured Kubernetes cluster is unreachable: unable to load schema information from the API server: Get "https://<hostname>/k8s/clusters/c-5s7qv/openapi/v2?timeout=32s": x509: certificate signed by unknown authority
but i can hit that endpoint from browser with out any issue,. missing anything?rhythmic-rain-31941
10/01/2021, 1:38 AMpulumi login --local
rhythmic-rain-31941
10/01/2021, 1:41 AMbillowy-army-68599
billowy-army-68599
rhythmic-rain-31941
10/01/2021, 2:01 AMbillowy-army-68599
billowy-army-68599
rhythmic-rain-31941
10/01/2021, 2:12 AMkubectl get pods
throws same error until i pass this flag --insecure-skip-tls-verify=true
billowy-army-68599
billowy-army-68599
rhythmic-rain-31941
10/01/2021, 2:17 AMrhythmic-rain-31941
10/01/2021, 2:18 AMbillowy-army-68599
billowy-army-68599
rhythmic-rain-31941
10/01/2021, 2:22 AMrhythmic-rain-31941
10/01/2021, 3:55 AM