feat: add SleepInfo

This commit is contained in:
Nicholas Morey 2023-01-13 10:24:58 -05:00
parent 69b5eeeeb5
commit 8c320fd12f
1 changed files with 16 additions and 0 deletions

View File

@ -75,3 +75,19 @@ spec:
name: echo-service
resources: {}
status: {}
---
apiVersion: kube-green.com/v1alpha1
kind: SleepInfo
metadata:
name: sleep-test
spec:
weekdays: "*"
# sleepAt: "*:*/5"
# wakeUpAt: "*:*/7"
sleepAt: "10:26"
wakeUpAt: "10:30"
timeZone: "America/Toronto"
excludeRef:
- apiVersion: "apps/v1"
kind: Deployment
name: do-not-sleep