Closed jeusdi closed 6 years ago
I'm trying to format my secrets to environment variables:
spec: containers: - image: quay.io/ukhomeofficedigital/vault-sidekick:latest name: sidekick args: - -cn=secret:openshift/postgresql:env=USERNAME
This is the output:
I0620 13:43:38.834735 1 main.go:45] starting the vault-sidekick, v0.3.8 (git+sha 72ffdbf) W0620 13:43:38.834813 1 vault.go:545] skipping TLS verification is not recommended I0620 13:43:38.835138 1 vault.go:289] rescheduling the resource: type: secret, path: openshift/postgresql, channel: 0xc420058180 I0620 13:43:38.844698 1 vault.go:437] retrieved resource: type: secret, path: openshift/postgresql, leaseId: , lease_time: 168h0m0s I0620 13:43:38.844927 1 formats.go:165] saving the file: /etc/secrets/postgresql.secret I0620 13:43:38.845096 1 watched_resource.go:67] setting a renewal notification on resource: type: secret, path: openshift/postgresql, time: 146h12m4s
However, once in terminal:
$ env | grep USERNAME $
The result is empty.
Any ideas?
I'm trying to format my secrets to environment variables:
This is the output:
However, once in terminal:
The result is empty.
Any ideas?