Skip to content

Commit

Permalink
FIX: Slack channel override when using a secretRef for the webhook (#460
Browse files Browse the repository at this point in the history
)

Related to: #458

Signed-off-by: Jesus Carrillo <jesuscarrillo8@gmail.com>
  • Loading branch information
jescarri committed Jul 12, 2024
1 parent 397b7e2 commit 8d902f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/config/target_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,8 @@ func (f *TargetFactory) mapSecretValues(config any, ref, mountedSecret string) {
case *Slack:
if values.Webhook != "" {
c.Webhook = values.Webhook
}
if values.Channel != "" {
c.Channel = values.Channel
}

Expand Down

0 comments on commit 8d902f3

Please sign in to comment.