Terraform-provider-kubernetes: Feature Request: CronJob resource.

Created on 12 Nov 2018  路  7Comments  路  Source: hashicorp/terraform-provider-kubernetes

Most helpful comment

It looks like Job has been out of beta for awhile. The oldest I checked was 1.10. Unfortunately, as of 1.13, CronJob is still beta :https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.13/#cronjob-v1beta1-batch

However, since the the api version is in the resource definition, it doesn't seem like using the beta api is really all that risky. @alexsomesan could we revisit the no v1beta1 policy?

All 7 comments

+1

+1 but i'm guessing since even in k8s 1.12 it's in v1beta1 this is a nogo for now ?

https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.12/#cronjob-v1beta1-batch

It looks like Job has been out of beta for awhile. The oldest I checked was 1.10. Unfortunately, as of 1.13, CronJob is still beta :https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.13/#cronjob-v1beta1-batch

However, since the the api version is in the resource definition, it doesn't seem like using the beta api is really all that risky. @alexsomesan could we revisit the no v1beta1 policy?

+1

@alexsomesan I'm sure you're super busy, and looks like you recently got back from vacation. Just curious on ETA, excited to use this (:

This is now merged / can probably be closed! :tada:
https://github.com/terraform-providers/terraform-provider-kubernetes/pull/411

Was this page helpful?
0 / 5 - 0 ratings