File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ a file called secrets.env with content:
1818```
1919SLACK_NOTIFY_URL=<from slack>
2020RANCHER_TOKEN=<bearer token for rancher user>
21- RANCHER_URL=https ://rancher.prms-tools.prod.gcp.veikkaus.fi/
21+ RANCHER_URL=http ://rancher.cattle-system/v1/fleet.cattle.io.clusters/fleet-default
2222CHECK_INTERVAL=60
2323NOTIF_THRESHOLD=2
2424```
Original file line number Diff line number Diff line change 1212
1313
1414SLACK_NOTIFY_URL = os .getenv ('SLACK_NOTIFY_URL' )
15- RANCHER_URL = os .getenv ('RANCHER_URL' )
15+ RANCHER_URL = os .getenv ('RANCHER_URL' , default = "http://rancher.cattle-system/v1/fleet.cattle.io.clusters/fleet-default" )
1616RANCHER_TOKEN = os .getenv ('RANCHER_TOKEN' )
17+ CHECK_INTERVAL = os .getenv ('CHECK_INTERVAL' , default = 60 )
18+ NOTIF_THRESHOLD = os .getenv ('NOTIF_THRESHOLD' , default = 2 )
1719
1820headersList = {
1921 "Accept" : "application/json" ,
You can’t perform that action at this time.
0 commit comments