Secrets in k8s container env variable: I’m guessin...
# general
i
Secrets in k8s container env variable: I’m guessing a config secret would end up plain text in a manifest (?) - so I should continue to create a k8s secret and use a
secretKeyRef
?
@creamy-potato-29402 any thoughts here? Should I just use pulumi secret config properties directly as env variables on a container or transfer them to a k8 secret then use a ref?
c
@important-leather-28796 yes you should, this is super super common
oh sorry — you should use kube secrets.
i
ok, thanks. that is the way I setup before but wasn’t sure if I had to retain that
c
you don’t have to, it’s just the way to do it if you don’t need to change the variable per stack