straight-cartoon-24485
06/20/2021, 5:57 PMexport const getTokenWith = pulumi.interpolate `kubectl get secret/${dashboardServiceAccount.secrets[0].name} -n kube-system -o go-template='{{.data.token | base64decode}}'`
which "works" by returning:
getTokenWith: "kubectl get secret/admin-user-ys16knlv-token-xpqss -n kube-system -o go-template='{{.data.token | base64decode}}'"
which I then copy paste to get what I really need to log into the kubernetes dashboard with a token...sparse-park-68967
06/21/2021, 4:56 PM--show-secrets
to show the secret when you do a pulumi stack output
.