We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maybe related to hashicorp/terraform-provider-kubernetes-alpha#217 ?
always fails with ```bash │ Error: Failed to construct REST client │ │ with kubernetes_manifest.Cdk8sApply_Cdk8sApply-metalsiderodev--v1alpha1-ServerClass-proxmox-vm-default_0C20A47B (Cdk8sApply/Cdk8sApply-metal.sidero.dev--v1alpha1-ServerClass-proxmox-vm-default), │ on cdk.tf.json line 121, in resource.kubernetes_manifest.Cdk8sApply_Cdk8sApply-metalsiderodev--v1alpha1-ServerClass-proxmox-vm-default_0C20A47B (Cdk8sApply/Cdk8sApply-metal.sidero.dev--v1alpha1-ServerClass-proxmox-vm-default): │ 121: } │ │ cannot create REST client: no client config
my config looks like ```ts console.log(kubeconfig.filename) new CDK8sProvider(this, 'Cdk8sApply', { cdk8sApp: cdk8sApp, configPath: path.join(__dirname, '../kubeconfig/sidero-single-node'), configContext: 'admin@SideroTalosCluster', });
The text was updated successfully, but these errors were encountered:
Yeah seems to be this issue: hashicorp/terraform-provider-kubernetes#1775
Sorry, something went wrong.
But in my case, there is no reference or lookup - just plain link to config_file.
Any ideas?
My config looks like:
"provider": { "kubernetes": [ { "alias": "cdktf-cdk8s-Cdk8sApply", "config_path": "/Users/.../github/lab/kubeconfig/sidero-single-node", "insecure": true } ], "sops": [ { } ] },
if I export the config file via environment variable, it works :-/
Ok, got it - the created provider was never used, because you set an alias. With this small change it works on my machine!
Successfully merging a pull request may close this issue.
maybe related to hashicorp/terraform-provider-kubernetes-alpha#217 ?
always fails with ```bash
│ Error: Failed to construct REST client
│
│ with kubernetes_manifest.Cdk8sApply_Cdk8sApply-metalsiderodev--v1alpha1-ServerClass-proxmox-vm-default_0C20A47B (Cdk8sApply/Cdk8sApply-metal.sidero.dev--v1alpha1-ServerClass-proxmox-vm-default),
│ on cdk.tf.json line 121, in resource.kubernetes_manifest.Cdk8sApply_Cdk8sApply-metalsiderodev--v1alpha1-ServerClass-proxmox-vm-default_0C20A47B (Cdk8sApply/Cdk8sApply-metal.sidero.dev--v1alpha1-ServerClass-proxmox-vm-default):
│ 121: }
│
│ cannot create REST client: no client config
The text was updated successfully, but these errors were encountered: