Last active
January 17, 2019 18:21
-
-
Save iktakahiro/c891715cd4ea3906e0c3bd5fd2fd4a46 to your computer and use it in GitHub Desktop.
exampleSecretGenerator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
secretGenerator: | |
- commands: | |
pgHost: bash -euc 'echo -n "$PG_HOST"' | |
pgPassword: bash -euc 'echo -n "$PG_PASSWORD"' | |
pgUser: bash -euc 'echo -n "$PG_USER"' | |
name: api-secret | |
## output-example | |
## | |
## apiVersion: v1 | |
## data: | |
## pgHost: hogehoge= | |
## pgPassword: hogehoge= | |
## pgUser: hogehoge= | |
## kind: Secret | |
## metadata: | |
## name: api-secret-gmmct62cdf | |
## type: Opaque |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment