sparse-intern-71089
09/15/2022, 3:33 PMbillowy-army-68599
brew install pulumi/tap/kube2pulumi # install kube2pulumi for your OS
kubectl create secret generic my-secret --from-file="./username.txt" --dry-run=client -o yaml | tee /tmp/secret.yaml
kube2pulumi python -f /tmp/secret.yaml
most-lighter-95902
09/15/2022, 3:41 PMmost-lighter-95902
09/15/2022, 4:17 PMmost-lighter-95902
09/15/2022, 4:25 PMbillowy-army-68599
-o, --outputFile string The name of the output file to write to
most-lighter-95902
09/15/2022, 4:27 PMbillowy-army-68599
--help
before running them