diff --git a/charts/cluster-api-visualizer/Chart.yaml b/charts/cluster-api-visualizer/Chart.yaml index ccaa72e2..a96bee60 100644 --- a/charts/cluster-api-visualizer/Chart.yaml +++ b/charts/cluster-api-visualizer/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: cluster-api-visualizer description: Multicluster resource visualization tool for Cluster API. type: application -version: 0.0.3 +version: 0.0.4 appVersion: "v1.3.1" home: https://github.com/christianhuth/helm-charts icon: https://adalogics.com/img/content/capi-fuzzing-audit.png @@ -14,7 +14,7 @@ sources: annotations: artifacthub.io/changes: | - kind: changed - description: Chart icon + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Simply shorten your link using the Web UI. url: https://github.com/Jont828/cluster-api-visualizer/raw/main/demo/demo.gif diff --git a/charts/cluster-api-visualizer/templates/hpa.yaml b/charts/cluster-api-visualizer/templates/hpa.yaml index c798d69d..95c0ad63 100644 --- a/charts/cluster-api-visualizer/templates/hpa.yaml +++ b/charts/cluster-api-visualizer/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "cluster-api-visualizer.fullname" . }} diff --git a/charts/headwind-mdm/Chart.yaml b/charts/headwind-mdm/Chart.yaml index 49988aff..abf3908f 100644 --- a/charts/headwind-mdm/Chart.yaml +++ b/charts/headwind-mdm/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: headwind-mdm description: Headwind MDM - an open source mobile device management software for Android type: application -version: 2.2.1 +version: 2.2.2 appVersion: "0.1.4" home: https://github.com/christianhuth/helm-charts icon: https://h-mdm.com/wp-content/uploads/2019/07/neew-logo.png @@ -20,8 +20,8 @@ dependencies: condition: postgresql.enabled annotations: artifacthub.io/changes: | - - kind: added - description: signing key to Chart.yaml + - kind: changed + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Headwind MDM is a powerful Open Source platform to manage your Enterprise Android Devices. url: https://images.wondershare.com/drfone/article/2022/11/opensource-mdm-3.jpg diff --git a/charts/headwind-mdm/templates/hpa.yaml b/charts/headwind-mdm/templates/hpa.yaml index 8c0046ca..d3a177c9 100644 --- a/charts/headwind-mdm/templates/hpa.yaml +++ b/charts/headwind-mdm/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "headwind-mdm.fullname" . }} diff --git a/charts/kubedoom/Chart.yaml b/charts/kubedoom/Chart.yaml index eea9a526..c8041ad4 100644 --- a/charts/kubedoom/Chart.yaml +++ b/charts/kubedoom/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kubedoom description: A Helm chart for Kubedoom -version: 1.0.2 +version: 1.0.3 type: application appVersion: "0.6.0" home: https://github.com/christianhuth/helm-charts @@ -14,8 +14,8 @@ sources: - https://github.com/storax/kubedoom annotations: artifacthub.io/changes: | - - kind: added - description: signing key to Chart.yaml + - kind: changed + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Kill pods inside your Kubernetes cluster by shooting them in Doom! url: https://github.com/storax/kubedoom/raw/master/assets/doom.jpg diff --git a/charts/kubedoom/templates/hpa.yaml b/charts/kubedoom/templates/hpa.yaml index 593acbfc..7913a83d 100644 --- a/charts/kubedoom/templates/hpa.yaml +++ b/charts/kubedoom/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "kubedoom.fullname" . }} diff --git a/charts/kutt/Chart.yaml b/charts/kutt/Chart.yaml index 13e4c8dd..29b3d420 100644 --- a/charts/kutt/Chart.yaml +++ b/charts/kutt/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kutt description: Kutt is a free modern URL shortener. type: application -version: 4.2.2 +version: 4.2.3 appVersion: "v2.7.4" home: https://github.com/christianhuth/helm-charts icon: https://www.saashub.com/images/app/service_logos/15/d634f2359578/large.png @@ -23,7 +23,7 @@ dependencies: annotations: artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Simply shorten your link using the Web UI. url: https://d4.alternativeto.net/v9sHosD3RiPblfBOOHZi0gwU1M0pRL6Jn53oiobJi9k/rs:fit:1200:1200:0/g:ce:0:0/YWJzOi8vZGlzdC9zL2t1dHQtaXRfNzY3MjMzX2Z1bGwucG5n.jpg diff --git a/charts/kutt/templates/kutt/hpa.yaml b/charts/kutt/templates/kutt/hpa.yaml index 164316fb..e209c6df 100644 --- a/charts/kutt/templates/kutt/hpa.yaml +++ b/charts/kutt/templates/kutt/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "kutt.fullname" . }} diff --git a/charts/maildev/Chart.yaml b/charts/maildev/Chart.yaml index 21a2396f..1f343a88 100644 --- a/charts/maildev/Chart.yaml +++ b/charts/maildev/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: maildev description: MailDev is a simple way to test your emails during development with an easy to use web interface. type: application -version: 1.2.3 +version: 1.2.4 appVersion: "2.1.0" home: https://github.com/christianhuth/helm-charts icon: https://avatars1.githubusercontent.com/u/26743469 @@ -16,7 +16,7 @@ sources: annotations: artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: SMTP server & web interface for viewing and testing emails during development. url: https://maildev.github.io/maildev/assets/img/original/maildev-light.png diff --git a/charts/maildev/templates/maildev/hpa.yaml b/charts/maildev/templates/maildev/hpa.yaml index 402e81ef..8964679b 100644 --- a/charts/maildev/templates/maildev/hpa.yaml +++ b/charts/maildev/templates/maildev/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "maildev.fullname" . }} diff --git a/charts/netcupscp-exporter/Chart.yaml b/charts/netcupscp-exporter/Chart.yaml index c066db23..7751be55 100644 --- a/charts/netcupscp-exporter/Chart.yaml +++ b/charts/netcupscp-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: netcupscp-exporter description: Prometheus Exporter for Netcup Server Control Panel (SCP) type: application -version: 1.1.7 +version: 1.1.8 appVersion: "v0.3.6" home: https://github.com/christianhuth/helm-charts icon: https://pbs.twimg.com/profile_images/1148537659637358593/rlfCvTK5_400x400.png @@ -15,7 +15,7 @@ annotations: artifacthub.io/category: monitoring-logging artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Export information about your Servers from Netcup SCP as Prometheus metrics. url: https://www.netcup-wiki.de/images/SCP-Willkommen.png diff --git a/charts/netcupscp-exporter/templates/hpa.yaml b/charts/netcupscp-exporter/templates/hpa.yaml index 543d62bb..ac8eea3a 100644 --- a/charts/netcupscp-exporter/templates/hpa.yaml +++ b/charts/netcupscp-exporter/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "netcupscp-exporter.fullname" . }} diff --git a/charts/polr/Chart.yaml b/charts/polr/Chart.yaml index 5ed651de..03caa017 100644 --- a/charts/polr/Chart.yaml +++ b/charts/polr/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: polr description: Polr is a quick, modern, and open-source link shortener type: application -version: 1.12.2 +version: 1.12.3 appVersion: "2.3.0" home: https://github.com/christianhuth/helm-charts icon: http://docs.polrproject.org/en/latest/logo.png @@ -19,7 +19,7 @@ dependencies: annotations: artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Polr converts some long links into shorter ones. url: https://selfhostedweb.org/wp-content/uploads/2017/02/shortit-1024x346.png diff --git a/charts/polr/templates/hpa.yaml b/charts/polr/templates/hpa.yaml index eb1a2221..2970ff31 100644 --- a/charts/polr/templates/hpa.yaml +++ b/charts/polr/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "polr.fullname" . }} diff --git a/charts/prometheus-pve-exporter/Chart.yaml b/charts/prometheus-pve-exporter/Chart.yaml index 8cdcc670..8491990e 100644 --- a/charts/prometheus-pve-exporter/Chart.yaml +++ b/charts/prometheus-pve-exporter/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 name: prometheus-pve-exporter description: A Helm chart for bootstrapping a PVE Exporter. Uses ServiceMonitor to collect metrics. type: application -version: 1.2.4 +version: 1.2.5 appVersion: "2.3.1" home: https://github.com/christianhuth/helm-charts icon: https://camo.githubusercontent.com/2df2ac41e1b8a1484be236c75e395981b31bfd670eff46b5c182ea0be9475310/68747470733a2f2f7777772e70726f786d6f782e636f6d2f696d616765732f70726f786d6f782f50726f786d6f785f73796d626f6c5f7374616e646172645f6865782e706e67 @@ -16,7 +16,7 @@ annotations: artifacthub.io/category: monitoring-logging artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Add an user inside of Proxmox, that will be used for the Exporter. url: https://xinux.net/images/6/6e/Prometheus-proxmox-grafana-user.png diff --git a/charts/prometheus-pve-exporter/templates/hpa.yaml b/charts/prometheus-pve-exporter/templates/hpa.yaml index 48cca2df..40c74a31 100644 --- a/charts/prometheus-pve-exporter/templates/hpa.yaml +++ b/charts/prometheus-pve-exporter/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "prometheus-pve-exporter.fullname" . }} diff --git a/charts/promlens/Chart.yaml b/charts/promlens/Chart.yaml index ecbccfc9..35b32ec6 100644 --- a/charts/promlens/Chart.yaml +++ b/charts/promlens/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: promlens description: PromLens is a tool that makes learning and using PromQL easier and more productive type: application -version: 1.0.6 +version: 1.0.7 appVersion: "v0.3.0" home: https://github.com/christianhuth/helm-charts icon: https://raw.githubusercontent.com/salesforce/sloop/master/other/sloop_logo_color_small_notext.png @@ -16,7 +16,7 @@ annotations: artifacthub.io/category: monitoring-logging artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Build, understand, and fix your queries much more effectively with the ultimate query builder for PromQL. url: https://promlens.com/static/promlens-hero-screenshot-7d453e779cf47c6fcec1de8823049257.png diff --git a/charts/promlens/templates/hpa.yaml b/charts/promlens/templates/hpa.yaml index 974459c3..6860e9da 100644 --- a/charts/promlens/templates/hpa.yaml +++ b/charts/promlens/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "promlens.fullname" . }} diff --git a/charts/proxysql/Chart.yaml b/charts/proxysql/Chart.yaml index c81d543c..01c3ee3f 100644 --- a/charts/proxysql/Chart.yaml +++ b/charts/proxysql/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: proxysql description: A proxysql Helm chart for Kubernetes. Offers option to expose web interface through Ingress. Uses ServiceMonitor to collect metrics. type: application -version: 1.2.3 +version: 1.2.4 appVersion: "2.6.5" home: https://github.com/christianhuth/helm-charts icon: https://proxysql.com/wp-content/uploads/2019/11/ProxySQL-BIG-e1581368792603.png @@ -14,7 +14,7 @@ sources: annotations: artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/signKey: | fingerprint: EE24F8BB6D099E78FD704F83B5ECDBCDDD485D0E url: https://charts.christianhuth.de/public.key diff --git a/charts/proxysql/templates/hpa.yaml b/charts/proxysql/templates/hpa.yaml index 323ec9d6..16f62736 100644 --- a/charts/proxysql/templates/hpa.yaml +++ b/charts/proxysql/templates/hpa.yaml @@ -1,6 +1,10 @@ {{- if .Values.autoscaling.enabled }} {{- if not .Values.proxysql.cluster.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "proxysql.fullname" . }} diff --git a/charts/proxyweb/Chart.yaml b/charts/proxyweb/Chart.yaml index d7e2ade8..e95178b5 100644 --- a/charts/proxyweb/Chart.yaml +++ b/charts/proxyweb/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: proxyweb description: A Helm chart for Kubernetes type: application -version: 1.0.3 +version: 1.0.4 appVersion: "latest" home: https://github.com/christianhuth/helm-charts maintainers: [] @@ -12,7 +12,7 @@ deprecated: true annotations: artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/signKey: | fingerprint: EE24F8BB6D099E78FD704F83B5ECDBCDDD485D0E url: https://charts.christianhuth.de/public.key diff --git a/charts/proxyweb/templates/hpa.yaml b/charts/proxyweb/templates/hpa.yaml index 21969f99..83989de3 100644 --- a/charts/proxyweb/templates/hpa.yaml +++ b/charts/proxyweb/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "proxyweb.fullname" . }} diff --git a/charts/shlink-backend/Chart.yaml b/charts/shlink-backend/Chart.yaml index 545bb7d6..a35dbcfb 100644 --- a/charts/shlink-backend/Chart.yaml +++ b/charts/shlink-backend/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: shlink-backend description: A PHP-based self-hosted URL shortener that can be used to serve shortened URLs under your own domain. type: application -version: 4.5.2 +version: 4.5.3 appVersion: "3.7.4" home: https://github.com/christianhuth/helm-charts icon: https://shlink.io/images/shlink-logo-blue.svg @@ -36,7 +36,7 @@ dependencies: annotations: artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/signKey: | fingerprint: EE24F8BB6D099E78FD704F83B5ECDBCDDD485D0E url: https://charts.christianhuth.de/public.key diff --git a/charts/shlink-backend/templates/hpa.yaml b/charts/shlink-backend/templates/hpa.yaml index 1089ba2d..30d8b3c9 100644 --- a/charts/shlink-backend/templates/hpa.yaml +++ b/charts/shlink-backend/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "shlink-backend.fullname" . }} diff --git a/charts/shlink-web/Chart.yaml b/charts/shlink-web/Chart.yaml index c6781499..8ddf74d2 100644 --- a/charts/shlink-web/Chart.yaml +++ b/charts/shlink-web/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: shlink-web description: A ReactJS-based progressive web application for Shlink. type: application -version: 1.1.2 +version: 1.1.3 appVersion: "4.1.2" home: https://github.com/christianhuth/helm-charts icon: https://shlink.io/images/shlink-logo-blue.svg @@ -15,7 +15,7 @@ sources: annotations: artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Add a new link that should be shortened. url: https://alejandrocelaya.blog/assets/img/shlink-web-client-3/creation-form-after.png diff --git a/charts/shlink-web/templates/hpa.yaml b/charts/shlink-web/templates/hpa.yaml index de307c14..34fa1d00 100644 --- a/charts/shlink-web/templates/hpa.yaml +++ b/charts/shlink-web/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "shlink-web.fullname" . }} diff --git a/charts/skooner/Chart.yaml b/charts/skooner/Chart.yaml index 930f2089..a1922d64 100644 --- a/charts/skooner/Chart.yaml +++ b/charts/skooner/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: skooner description: Simple Kubernetes real-time dashboard and management. type: application -version: 0.0.9 +version: 0.0.10 appVersion: "stable" home: https://github.com/christianhuth/helm-charts icon: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRu8eQrFBosk7yHTiDEwjnVcMRyDD5uIaNXhlZ1m0yiC4H8RP1j0PlBPtgtv0bdH0JwlOE @@ -15,7 +15,7 @@ annotations: artifacthub.io/category: monitoring-logging artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Overview of the workloads running inside of Kubernetes. url: https://skooner.io/images/k8dash-screen.png diff --git a/charts/skooner/templates/hpa.yaml b/charts/skooner/templates/hpa.yaml index 52320850..9993604c 100644 --- a/charts/skooner/templates/hpa.yaml +++ b/charts/skooner/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "skooner.fullname" . }} diff --git a/charts/sloop/Chart.yaml b/charts/sloop/Chart.yaml index 3282b4d6..dd959afa 100644 --- a/charts/sloop/Chart.yaml +++ b/charts/sloop/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: sloop description: Kubernetes History Visualization type: application -version: 0.0.6 +version: 0.0.7 appVersion: "sha-2ce8bbe" home: https://github.com/christianhuth/helm-charts icon: https://raw.githubusercontent.com/salesforce/sloop/master/other/sloop_logo_color_small_notext.png @@ -15,7 +15,7 @@ annotations: artifacthub.io/category: monitoring-logging artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Visualize the different Events inside your Kubernetes cluster. url: https://civo-com-assets.ams3.digitaloceanspaces.com/content_images/989.blog.png diff --git a/charts/sloop/templates/hpa.yaml b/charts/sloop/templates/hpa.yaml index cf85e492..3826d1cf 100644 --- a/charts/sloop/templates/hpa.yaml +++ b/charts/sloop/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "sloop.fullname" . }} diff --git a/charts/typo3/Chart.yaml b/charts/typo3/Chart.yaml index c15b3520..da174168 100644 --- a/charts/typo3/Chart.yaml +++ b/charts/typo3/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: typo3 description: TYPO3 — the Professional, Flexible Content Management System type: application -version: 2.3.2 +version: 2.3.3 appVersion: "12.4" home: https://github.com/christianhuth/helm-charts icon: https://www.mdc.de/wp-content/uploads/2016/05/typo3_logo.png @@ -28,7 +28,7 @@ dependencies: annotations: artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: TYPO3 is a very powerful Web Content Management System. url: https://docs.typo3.org/m/typo3/tutorial-getting-started/10.4/en-us/_images/BackendAboutModules.png diff --git a/charts/typo3/templates/hpa.yaml b/charts/typo3/templates/hpa.yaml index 8ec3db9e..3bf30fef 100644 --- a/charts/typo3/templates/hpa.yaml +++ b/charts/typo3/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "typo3.fullname" . }} diff --git a/charts/umami/Chart.yaml b/charts/umami/Chart.yaml index acfa5425..99c36b6c 100644 --- a/charts/umami/Chart.yaml +++ b/charts/umami/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: umami description: Umami is a simple, fast, privacy-focused alternative to Google Analytics. type: application -version: 3.3.2 +version: 3.3.3 appVersion: "postgresql-v2.9.0" home: https://github.com/christianhuth/helm-charts icon: https://raw.githubusercontent.com/umami-software/umami/master/public/android-chrome-512x512.png @@ -25,7 +25,7 @@ annotations: artifacthub.io/category: monitoring-logging artifacthub.io/changes: | - kind: changed - description: URL of Helm Repository in README + description: added support for stable autoscaling api artifacthub.io/screenshots: | - title: Umami measures just the important metrics that you care about and everything is displayed on a single, easy to browse page. url: https://umami.is/images/feature-website-stats.png diff --git a/charts/umami/templates/hpa.yaml b/charts/umami/templates/hpa.yaml index 990cbb8e..42cf6384 100644 --- a/charts/umami/templates/hpa.yaml +++ b/charts/umami/templates/hpa.yaml @@ -1,5 +1,9 @@ {{- if .Values.autoscaling.enabled }} +{{- if semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: autoscaling/v2 +{{- else -}} apiVersion: autoscaling/v2beta1 +{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ include "umami.fullname" . }}