From 83ee8bd95ca31093703901b1191d3facb43319f8 Mon Sep 17 00:00:00 2001 From: Thomas Nyambati Date: Tue, 14 Nov 2023 11:50:11 +0100 Subject: [PATCH] add failedJobsHistoryLimit kubecost Signed-off-by: Thomas Nyambati --- stable/kubecost-reports-exporter/Chart.yaml | 2 +- stable/kubecost-reports-exporter/README.md | 3 ++- .../templates/allocation-assets-reports.yaml | 1 + stable/kubecost-reports-exporter/values.yaml | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/stable/kubecost-reports-exporter/Chart.yaml b/stable/kubecost-reports-exporter/Chart.yaml index e1bdcccf..7f34d0ac 100644 --- a/stable/kubecost-reports-exporter/Chart.yaml +++ b/stable/kubecost-reports-exporter/Chart.yaml @@ -6,7 +6,7 @@ description: | if you are using old installation please use v1 chart home: https://www.kubecost.com type: application -version: 2.0.2 +version: 2.0.3 appVersion: "2.0.0" maintainers: - name: nyambati diff --git a/stable/kubecost-reports-exporter/README.md b/stable/kubecost-reports-exporter/README.md index ab3cdf8d..8bb9f6d9 100644 --- a/stable/kubecost-reports-exporter/README.md +++ b/stable/kubecost-reports-exporter/README.md @@ -1,6 +1,6 @@ # kubecost-reports-exporter -![Version: 2.0.2](https://img.shields.io/badge/Version-2.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square) +![Version: 2.0.3](https://img.shields.io/badge/Version-2.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square) Helm chart for exporting kubernetes cost reports to AWS s3 bucket. N/B We have updated chart to use V2 scripts using allocations and assets api. @@ -51,6 +51,7 @@ helm install my-release deliveryhero/kubecost-reports-exporter -f values.yaml | affinity | object | `{}` | | | concurrencyPolicy | string | `"Forbid"` | | | env | object | `{}` | Extra environment variables | +| failedJobsHistoryLimit | int | `1` | | | fullnameOverride | string | `""` | | | image.pullPolicy | string | `"IfNotPresent"` | | | image.repository | string | `"thomasnyambati/kubecost-reports-exporter"` | The container image to use | diff --git a/stable/kubecost-reports-exporter/templates/allocation-assets-reports.yaml b/stable/kubecost-reports-exporter/templates/allocation-assets-reports.yaml index c2fbb4ce..43e159be 100644 --- a/stable/kubecost-reports-exporter/templates/allocation-assets-reports.yaml +++ b/stable/kubecost-reports-exporter/templates/allocation-assets-reports.yaml @@ -13,6 +13,7 @@ metadata: spec: schedule: {{ $.Values.schedule | quote }} successfulJobsHistoryLimit: {{ $.Values.successfulJobsHistoryLimit }} + failedJobsHistoryLimit: {{ $.Values.failedJobsHistoryLimit }} concurrencyPolicy: {{ $.Values.concurrencyPolicy }} jobTemplate: spec: diff --git a/stable/kubecost-reports-exporter/values.yaml b/stable/kubecost-reports-exporter/values.yaml index ea2970d3..a0c01191 100644 --- a/stable/kubecost-reports-exporter/values.yaml +++ b/stable/kubecost-reports-exporter/values.yaml @@ -5,6 +5,7 @@ schedule: "0 * * * *" restartPolicy: OnFailure successfulJobsHistoryLimit: 1 +failedJobsHistoryLimit: 1 concurrencyPolicy: Forbid image: