Add namespace for config map and secret generators

This commit is contained in:
luktom
2018-12-05 11:18:57 +01:00
parent 8a8331bf57
commit 6ad5d9f55b
8 changed files with 72 additions and 0 deletions

View File

@@ -94,6 +94,13 @@ secretGenerator:
tls.crt: "cat secret/tls.cert"
tls.key: "cat secret/tls.key"
type: "kubernetes.io/tls"
- name: app-tls-namespaced
# you can define a namespace to generate secret in, defaults to: "default"
namspace: apps
commands:
tls.crt: "cat secret/tls.cert"
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.