Skip to content

Commit

Permalink
Flytte dev-alerts til egen kanal for å fjerne unødvendig støy (#2679)
Browse files Browse the repository at this point in the history
  • Loading branch information
vebnor authored Oct 16, 2024
1 parent 53a5dc5 commit 2e5260e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy-alerts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
CLUSTER: ${{ matrix.cluster }}
RESOURCE: nais/alerts/alert-manager.yml
VAR: cluster=${{ matrix.cluster }}
slack_channel=${{ matrix.cluster == 'prod-fss' && '#k9-los-alerts' || '#k9-los-alerts-dev' }}
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.DEPLOY_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion nais/alerts/alert-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
- apiURL:
key: apiUrl
name: slack-webhook
channel: '#k9-los-alerts'
channel: '{{ slack_channel }}'
username: 'Alert k9-los-api {{ cluster }}'
iconEmoji: ':error:'
sendResolved: true
Expand Down

0 comments on commit 2e5260e

Please sign in to comment.