billowy-horse-79629
03/23/2022, 10:57 AMpulumi up
action on Github Actions:
+ kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release> eks-bootstrap creating error: can't create Helm Release with unreachable cluster: unable to load Kubernetes client configuration from kubeconfig file: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
Here is the code i’m creating my Helm Release (occurs after the eks k8s cluster creation)
export function createHelmBootstrapChart(stackName: string) {
const releaseArgs: k8s.helm.v3.ReleaseArgs = {
atomic: true,
name: "eks-bootstrap",
chart: "./charts/eks-bootstrap-chart",
dependencyUpdate: true,
namespace: "kube-system",
valueYamlFiles: [new FileAsset(`./charts/eks-bootstrap-chart/values-${stackName}.yaml`)]
}
new k8s.helm.v3.Release("eks-bootstrap", releaseArgs)
}
Do you guys know how to set the Kubeconfig ? because it looks like the kubeconfig is missing during runtime on the github action.