diff --git a/.gitignore b/.gitignore index 2614fe70..0fc43836 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ faas .settings/* demos /code +kind \ No newline at end of file diff --git a/internal/dao/registry.go b/internal/dao/registry.go index 6092c785..7add4c11 100644 --- a/internal/dao/registry.go +++ b/internal/dao/registry.go @@ -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{},