From aeec22e20f93950053974a37a5f236245b7d0558 Mon Sep 17 00:00:00 2001 From: ishuar Date: Wed, 2 Oct 2024 13:39:01 +0200 Subject: [PATCH 1/5] fix `apiVersion` on the basis of kubernetes version capabilities Signed-off-by: ishuar --- charts/httpbingo/templates/hpa.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/httpbingo/templates/hpa.yaml b/charts/httpbingo/templates/hpa.yaml index e36e7eb..259b87c 100644 --- a/charts/httpbingo/templates/hpa.yaml +++ b/charts/httpbingo/templates/hpa.yaml @@ -1,5 +1,5 @@ {{- if .Values.autoscaling.enabled }} -apiVersion: autoscaling/v2beta1 +apiVersion: {{ ternary "autoscaling/v2" "autoscaling/v2beta2" (.Capabilities.APIVersions.Has "autoscaling/v2") }} kind: HorizontalPodAutoscaler metadata: name: {{ include "httpbingo.fullname" . }} From aeebe2d4fb5cce564b487b871adc3fca091f2e55 Mon Sep 17 00:00:00 2001 From: ishuar Date: Wed, 2 Oct 2024 13:39:46 +0200 Subject: [PATCH 2/5] ci: Increased patch version for chart Signed-off-by: ishuar --- charts/httpbingo/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/httpbingo/Chart.yaml b/charts/httpbingo/Chart.yaml index b6bdc34..3b55358 100644 --- a/charts/httpbingo/Chart.yaml +++ b/charts/httpbingo/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: httpbingo description: A reasonably complete and well-tested golang port of httpbin, with zero dependencies outside the go stdlib. type: application -version: 0.1.1 +version: 0.1.2 appVersion: "v2.2.2" home: https://github.com/estahn/charts/tree/main/charts/httpbingo keywords: From ed51222834168228c40bf56f2e97c7881b2e2ee6 Mon Sep 17 00:00:00 2001 From: ishuar Date: Wed, 2 Oct 2024 13:39:59 +0200 Subject: [PATCH 3/5] docs: updated readme with helm-docs Signed-off-by: ishuar --- charts/httpbingo/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/httpbingo/README.md b/charts/httpbingo/README.md index a61fcdf..6f86876 100644 --- a/charts/httpbingo/README.md +++ b/charts/httpbingo/README.md @@ -1,6 +1,6 @@ # httpbingo -![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.2.2](https://img.shields.io/badge/AppVersion-v2.2.2-informational?style=flat-square) +![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.2.2](https://img.shields.io/badge/AppVersion-v2.2.2-informational?style=flat-square) A reasonably complete and well-tested golang port of httpbin, with zero dependencies outside the go stdlib. @@ -48,4 +48,4 @@ A reasonably complete and well-tested golang port of httpbin, with zero dependen | tolerations | list | `[]` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) From 485e0d1c8fdd6138640e4bff46aec429ac4e320b Mon Sep 17 00:00:00 2001 From: ishuar Date: Wed, 2 Oct 2024 15:38:40 +0200 Subject: [PATCH 4/5] ci: upgrade the helm-docs version to pass pre-commit hooks Signed-off-by: ishuar --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fc22c7c..a262499 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/norwoodj/helm-docs - rev: v1.11.0 + rev: v1.14.2 hooks: - id: helm-docs - repo: https://github.com/pre-commit/pre-commit-hooks From 8f7372a743f6a06966bf1241a423118636121ccc Mon Sep 17 00:00:00 2001 From: ishuar Date: Wed, 2 Oct 2024 15:39:18 +0200 Subject: [PATCH 5/5] ci: upgrade the helm-docs version to pass pre-commit hooks Signed-off-by: ishuar --- charts/k8s-image-swapper/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/k8s-image-swapper/README.md b/charts/k8s-image-swapper/README.md index f953e89..4e4aa49 100644 --- a/charts/k8s-image-swapper/README.md +++ b/charts/k8s-image-swapper/README.md @@ -90,4 +90,4 @@ Mirror images into your own registry and swap image references automatically. | webhook.timeoutSeconds | int | `10` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)