ambitious-fireman-71676
02/20/2020, 9:29 PMsecret_key = Secret(
"my-secret-key",
data={"secret-key": config.require_secret("mySecretKey")}
)
i see that it doesnt base64 encode the value when i run pulumi up
and look at the resource manually via kubectl get secret -oyaml my-secret-key-<hash>
. is this intentional? or am i doing something wrong? my current workaround is to base64 encode the secret before running pulumi config set --secret mySecret <value>
gorgeous-egg-16927
02/20/2020, 10:08 PMstring_data
field instead of data
, and k8s will automatically base64 encode itambitious-fireman-71676
02/20/2020, 10:52 PM