sparse-intern-71089
01/06/2023, 12:25 PMdry-keyboard-94795
01/06/2023, 12:33 PMKUBECONFIG
should be set to the path of the config, ie KUBECONFIG=~/.kube/config
If your .kube/config
is setup already, then pulumi will use that
https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/#setupflat-engineer-30260
01/06/2023, 12:38 PMflat-engineer-30260
01/06/2023, 12:41 PMKUBECONFIG
support path and also content as the docs stated:dry-keyboard-94795
01/06/2023, 12:47 PM--help
, looks like you can set a value through stdin.
so this might work for you?
cat my/kubeconfig | config set --secret kubernetes:kubeconfig
flat-engineer-30260
01/06/2023, 12:54 PMflat-engineer-30260
01/06/2023, 1:01 PMConfiguration values can be accessed when a stack is being deployed and used to configure behavior.
If a value is not present on the command line, pulumi will prompt for the value. Multi-line values
may be set by piping a file to standard in.
My bad, I'm not go through the instruction carefully. 😂