nicknezis commented on pull request #3702:
URL: https://github.com/apache/incubator-heron/pull/3702#issuecomment-877396638
To test you can create a secret like this:
```
kubectl create secret generic dev-user-pass \
--from-literal=username=devuser \
--from-literal=password='S!B\*d$zDsb='
```
Can then use it with the following config-properties:
`--config-property heron.kubernetes.pod.secret.db-user-pass=/heron/db-pass`
This will mount a secret to a path. `db-user-pass` secret to
`/heron/db-pass` volume
Can also make an ENV variable:
`--config-property
heron.kubernetes.pod.secretKeyRef.DBPASS=db-user-pass:password`
This will create a `DBPASS` ENV variable which has the `password` key from
the `db-user-user` secret.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]