Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Built-in in triggers should be disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmt committed Dec 30, 2019
1 parent dfaf1bf commit 3d277fb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion assets/config.go
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
package assets

const (
var (
DefaultConfig = `
triggers:
- name: on-sync-status-unknown
condition: app.status.sync.status == 'Unknown'
template: app-sync-status
enabled: false
- name: on-sync-failed
condition: app.status.operationState.phase in ['Error', 'Failed']
template: app-sync-failed
enabled: false
- name: on-sync-running
condition: app.status.operationState.phase in ['Running']
template: app-sync-running
enabled: false
- name: on-sync-succeeded
condition: app.status.operationState.phase in ['Succeeded']
template: app-sync-succeeded
enabled: false
- name: on-health-degraded
condition: app.status.health.status == 'Degraded'
template: app-health-degraded
enabled: false
templates:
- name: app-sync-status
Expand Down

0 comments on commit 3d277fb

Please sign in to comment.