Add timeoutSeconds to secretArgs

This commit is contained in:
Ivan Shvedunov
2018-08-14 22:50:33 +03:00
parent f9577ab540
commit f9a0e671b7
5 changed files with 77 additions and 8 deletions

View File

@@ -83,6 +83,9 @@ secretGenerator:
tls.key: "cat secret/tls.key"
type: "kubernetes.io/tls"
- name: downloaded_secret
# timeoutSeconds specifies the number of seconds to
# wait for the commands below. It defaults to 5 seconds.
timeoutSeconds: 30
commands:
username: "curl -s https://path/to/secrets/username.yaml"
password: "curl -s https://path/to/secrets/password.yaml"