syntasso / kratix-docs

1 stars 8 forks source link

feat(slack pipeline): read secrets from `env` or `volumeMount` #56

Open kirederik opened 4 months ago

kirederik commented 4 months ago

the current slack image uses kubectl to read a secret with a known name to find out the channel hook to send the notification to;

a better approach would to support reading the secret from env or from a file within the local system; this would allow penny to use env or volumeMounts on her pipeline spec. This would also making reading a secret with a known name redundant, so we can remove it.

tasks