Skip to content

Commit 219538d

Browse files
committed
Make Defaults More Clear
Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
1 parent c6908f4 commit 219538d

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

‎hooks/notification-hook/README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,9 @@ To fill your template with data we provide the following objects.
150150
| env[0].name | string | `"SOME_ENV_KEY"` | |
151151
| env[0].valueFrom.secretKeyRef.key | string | `"some-key"` | |
152152
| env[0].valueFrom.secretKeyRef.name | string | `"some-secret"` | |
153-
| env[1].name | string | `"key"` | |
154-
| env[1].value | string | `"value"` | |
153+
| env[1].name | string | `"SMTP_CONFIG"` | |
154+
| env[1].valueFRom.secretKeyRef.key | string | `"smtp-config-key"` | |
155+
| env[1].valueFRom.secretKeyRef.name | string | `"some-secret"` | |
155156
| hookJob.ttlSecondsAfterFinished | string | `nil` | seconds after which the kubernetes job for the hook will be deleted. Requires the Kubernetes TTLAfterFinished controller: https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/ |
156157
| image.pullPolicy | string | `"Always"` | |
157158
| image.repository | string | `"docker.io/securecodebox/notification-hook"` | Hook image repository |

‎hooks/notification-hook/values.yaml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,9 @@ env:
4848
secretKeyRef:
4949
name: some-secret
5050
key: some-key
51-
- name: key
52-
value: value
51+
- name: SMTP_CONFIG
52+
valueFRom:
53+
secretKeyRef:
54+
name: some-secret
55+
key: smtp-config-key
56+

0 commit comments

Comments
 (0)