From c71eb66712e7e7ebc76ebdb0f823482608668d52 Mon Sep 17 00:00:00 2001 From: Andrew Jeffree Date: Wed, 27 Nov 2024 14:13:31 +1100 Subject: [PATCH] chore(docs): Update docs to reflect existence of patch.tolerations Observed today when deploying this that the helm docs nor the values files imply that this is a supported option but it is indeed there inside the patch job definitions. --- charts/k8s-image-swapper/Chart.yaml | 4 ++-- charts/k8s-image-swapper/README.md | 3 ++- charts/k8s-image-swapper/values.schema.json | 3 +++ charts/k8s-image-swapper/values.yaml | 1 + 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/charts/k8s-image-swapper/Chart.yaml b/charts/k8s-image-swapper/Chart.yaml index bc8b2b4..d98d6cd 100644 --- a/charts/k8s-image-swapper/Chart.yaml +++ b/charts/k8s-image-swapper/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: k8s-image-swapper description: Mirror images into your own registry and swap image references automatically. type: application -version: 1.11.0 +version: 1.11.1 appVersion: 1.5.10 home: https://github.com/estahn/charts/tree/main/charts/k8s-image-swapper keywords: @@ -15,7 +15,7 @@ maintainers: name: estahn annotations: artifacthub.io/changes: | - - "Allow cert-manager certs to be issued by a cluster issuer" + - "Update docs to reflect already available tolerations config for patch jobs" artifacthub.io/images: | - name: k8s-image-webhook image: ghcr.io/estahn/k8s-image-swapper:1.5.10 diff --git a/charts/k8s-image-swapper/README.md b/charts/k8s-image-swapper/README.md index f1b06a0..bacc0e7 100644 --- a/charts/k8s-image-swapper/README.md +++ b/charts/k8s-image-swapper/README.md @@ -1,6 +1,6 @@ # k8s-image-swapper -![Version: 1.11.0](https://img.shields.io/badge/Version-1.11.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.10](https://img.shields.io/badge/AppVersion-1.5.10-informational?style=flat-square) +![Version: 1.11.1](https://img.shields.io/badge/Version-1.11.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.10](https://img.shields.io/badge/AppVersion-1.5.10-informational?style=flat-square) Mirror images into your own registry and swap image references automatically. @@ -62,6 +62,7 @@ Mirror images into your own registry and swap image references automatically. | patch.podAnnotations | object | `{}` | | | patch.priorityClassName | string | `""` | | | patch.resources | object | `{}` | | +| patch.tolerations | list | `[]` | | | pdb.enabled | bool | `false` | | | pdb.minAvailable | string | `"1"` | | | podAnnotations | object | `{}` | | diff --git a/charts/k8s-image-swapper/values.schema.json b/charts/k8s-image-swapper/values.schema.json index ee8948c..664444a 100644 --- a/charts/k8s-image-swapper/values.schema.json +++ b/charts/k8s-image-swapper/values.schema.json @@ -229,6 +229,9 @@ }, "resources": { "type": "object" + }, + "tolerations": { + "type": "array" } } }, diff --git a/charts/k8s-image-swapper/values.yaml b/charts/k8s-image-swapper/values.yaml index 82f1f52..174b820 100644 --- a/charts/k8s-image-swapper/values.yaml +++ b/charts/k8s-image-swapper/values.yaml @@ -105,6 +105,7 @@ patch: podAnnotations: {} nodeSelector: {} resources: {} + tolerations: [] # You can use cert-manager to handle TLS cert creation and putting it into webhook cfg certmanager: