Because of the bug I found yesterday with using Helm charts with Pulumi on Windows 10,
I thought I'll turn those charts into Kubernetes manifests with "helm template ..."
and use them directly. I make my K8S cluster with pulumi/azure like this (and this
part works great):
export const k8sCluster = new azure.containerservice.KubernetesCluster("MyCluster", {
...
});
export const k8sProvider = new k8s.Provider("MyCluster-Provider", {
kubeconfig: k8sCluster.kubeConfigRaw,
});
And then I try to apply the manifest yaml's like this:
const certManagerCG = new k8s.yaml.ConfigGroup("cert-manager",
{
files: "yaml/cert-manager/*.yaml"
},
{
provider: k8sProvider
}
);
And I get the error:
Diagnostics:
pulumipulumiStack: beyondzen-dev
info: error: [runtime] Explicit providers may not be used with component resources