K9s 1167/cronjob trigger with feelings (#1179)

* fix cron triggers

* fix cron triggers again...
mine
Fernand Galiana 2021-06-30 06:52:57 -06:00 committed by GitHub
parent a9ede22134
commit 0f95aecc3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@ faas
.settings/*
demos
/code
kind

View File

@ -43,8 +43,8 @@ func AccessorFor(f Factory, gvr client.GVR) (Accessor, error) {
client.NewGVR("v1/nodes"): &Node{},
client.NewGVR("apps/v1/deployments"): &Deployment{},
client.NewGVR("apps/v1/daemonsets"): &DaemonSet{},
client.NewGVR("apps/v1/daemonsets"): &DaemonSet{},
client.NewGVR("apps/v1/statefulsets"): &StatefulSet{},
client.NewGVR("batch/v1/cronjobs"): &CronJob{},
client.NewGVR("batch/v1beta1/cronjobs"): &CronJob{},
client.NewGVR("batch/v1/jobs"): &Job{},
client.NewGVR("openfaas"): &OpenFaas{},