From 657fd8a10fd4a36fd82e408363f4ddc836ee820b Mon Sep 17 00:00:00 2001 From: Alexey Ermakov Date: Wed, 2 Jan 2019 11:49:43 +0100 Subject: [PATCH] Update kube-job-cleaner Signed-off-by: Alexey Ermakov --- cluster/manifests/kube-job-cleaner/cronjob.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cluster/manifests/kube-job-cleaner/cronjob.yaml b/cluster/manifests/kube-job-cleaner/cronjob.yaml index 27c9a9f72f..a43926f6e6 100644 --- a/cluster/manifests/kube-job-cleaner/cronjob.yaml +++ b/cluster/manifests/kube-job-cleaner/cronjob.yaml @@ -1,4 +1,3 @@ -{{ with $version := "0.7" }} apiVersion: batch/v1beta1 kind: CronJob metadata: @@ -6,7 +5,7 @@ metadata: namespace: kube-system labels: application: kube-job-cleaner - version: "{{$version}}" + version: "master-11" spec: schedule: "*/5 * * * *" concurrencyPolicy: Forbid @@ -18,14 +17,14 @@ spec: metadata: labels: application: kube-job-cleaner - version: "{{$version}}" + version: "master-11" spec: serviceAccountName: system restartPolicy: Never containers: - name: cleaner # delete all completed jobs - image: registry.opensource.zalan.do/teapot/kube-job-cleaner:{{$version}} + image: registry.opensource.zalan.do/teapot/kube-job-cleaner:master-11 resources: limits: cpu: 100m @@ -33,4 +32,3 @@ spec: requests: cpu: 100m memory: 100Mi -{{ end }}