mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 05:14:13 +01:00
remove TODO comments for cronjob v1beta1 support
This commit is contained in:
@@ -28,7 +28,7 @@ fullnameOverride: ""
|
|||||||
# labels that'll be applied to all resources
|
# labels that'll be applied to all resources
|
||||||
commonLabels: {}
|
commonLabels: {}
|
||||||
|
|
||||||
cronJobApiVersion: "batch/v1" # Use "batch/v1beta1" for k8s version < 1.21.0. TODO(@7i) remove with 1.23 release
|
cronJobApiVersion: "batch/v1"
|
||||||
schedule: "*/2 * * * *"
|
schedule: "*/2 * * * *"
|
||||||
suspend: false
|
suspend: false
|
||||||
# startingDeadlineSeconds: 200
|
# startingDeadlineSeconds: 200
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
apiVersion: batch/v1 # for k8s version < 1.21.0, use batch/v1beta1
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
metadata:
|
metadata:
|
||||||
name: descheduler-cronjob
|
name: descheduler-cronjob
|
||||||
|
|||||||
Reference in New Issue
Block a user