most-lighter-95902
09/15/2022, 3:33 PM--from-file
flag in kubectl for secret creation via Pulumi?billowy-army-68599
09/15/2022, 3:40 PMbrew 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 PMbillowy-army-68599
09/15/2022, 4:26 PM-o, --outputFile string The name of the output file to write to
most-lighter-95902
09/15/2022, 4:27 PMbillowy-army-68599
09/15/2022, 4:28 PM--help
before running them