quick-greece-34196
04/20/2020, 2:32 AMconst k8sProvider = new k8s.Provider(`${prefix}-k8s-provider`, {
kubeconfig: clusterStack.getOutput("kubeConfig"),
});
...
const providers = {
gcp: gcpProvider,
kubernetes: k8sProvider,
}
and then passing it to a component resource:
const externalDNS = new ExternalDNS(
`${prefix}-external-dns`,
{
labels,
domain,
zonePolicy: "sync",
nodeSelector: {
[`${domain}/nodeType`]: "main"
}
},
{ providers },
);
I am getting an error that seems to indicate the provider is wrong ? Any pointers I can use, I am out of ideas...
error: Missing required configuration variable 'customer-services:k8sMasterPassword'
please set a value using the command `pulumi config set customer-services:k8sMasterPassword <value>`
faint-motherboard-95438
04/20/2020, 12:38 PMcustomer-services
is your current pulumi project, you should do :
pulumi config set k8sMasterPassword <value>
the prefix in the key is not supposed to be there.
Giving the name of your key, you should also set it as a secret :
pulumi config set k8sMasterPassword <value> --secret
quick-greece-34196
04/20/2020, 12:43 PM