From 1082afdb3b0c0967c8aa412be849048104a98800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20B=C3=A4hler?= Date: Fri, 22 Jan 2021 14:27:25 +0100 Subject: [PATCH] [manifests]: Cronjob Quoting (#24) CronJob Quotes --- charts/manifests/Chart.yaml | 4 ++-- charts/manifests/README.md | 2 +- charts/manifests/templates/manifests/_cronjob.tpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/manifests/Chart.yaml b/charts/manifests/Chart.yaml index 995e4586..8b400830 100644 --- a/charts/manifests/Chart.yaml +++ b/charts/manifests/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: manifests description: "Bedag's Manifest chart. Library full of basic kubernetes manifests." type: library -version: 0.4.5 +version: 0.4.6 icon: "https://www.bedag.ch/wGlobal/wGlobal/layout/images/logo.svg" keywords: - Bedag @@ -22,4 +22,4 @@ annotations: artifacthub.io/prerelease: "true" artifacthub.io/license: Apache-2.0 artifacthub.io/changes: | - - **[Fixes]**: Bundle Extras allowed for all resources within bundle + - Quote Cronjob Schedule diff --git a/charts/manifests/README.md b/charts/manifests/README.md index 3f488032..02010a79 100644 --- a/charts/manifests/README.md +++ b/charts/manifests/README.md @@ -1,6 +1,6 @@ # Manifests Library -![Version: 0.4.5](https://img.shields.io/badge/Version-0.4.5-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) +![Version: 0.4.6](https://img.shields.io/badge/Version-0.4.6-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) This library's purpose is to have more flexibility as chart author but at the same time have kubernetes manifests managed in a central library. This way you can avoid big surprises when Kubernetes has breaking changes in any of their APIs. Currently we support a base set of resources. Resources may be added as soon as we see or get a request that there's a need for it. This chart is still under development and testing, since it's rather complex. Feel free to use it. Our goal is to get it as reliable as possible. diff --git a/charts/manifests/templates/manifests/_cronjob.tpl b/charts/manifests/templates/manifests/_cronjob.tpl index 0338db34..f9e5a882 100644 --- a/charts/manifests/templates/manifests/_cronjob.tpl +++ b/charts/manifests/templates/manifests/_cronjob.tpl @@ -42,7 +42,7 @@ metadata: spec: concurrencyPolicy: {{ $cronjob.concurrencyPolicy }} failedJobsHistoryLimit: {{ $cronjob.failedJobsHistoryLimit }} - schedule: {{ $cronjob.schedule }} + schedule: {{ $cronjob.schedule | quote }} startingDeadlineSeconds: {{ $cronjob.startingDeadlineSeconds }} successfulJobsHistoryLimit: {{ $cronjob.successfulJobsHistoryLimit }} suspend: {{ $cronjob.suspend }}