alert-artist-66265
03/13/2020, 11:59 PMwhite-balloon-205
base64
encode it as normal for Kubernetes.
A few examples here: https://github.com/pulumi/examples/search?q=k8s.core.v1.Secret&unscoped_q=k8s.core.v1.Secretbillowy-army-68599
stringData
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/kubernetes/types/input/#Secret-stringDatapulumi.Secret
though so it doesn't get stored in plaintext 😉alert-artist-66265
03/14/2020, 1:04 AMgorgeous-egg-16927
03/14/2020, 2:19 AMit'll base64 encode the string on the API server. You probably want to wrap it inPulumi should automatically mark both the ‘data’ and ‘stringData’ fields as secret. This changed fairly recently.though so it doesn't get stored in plaintext 😉pulumi.Secret