From 4e179624c9f41c533585cf408bc9573eb3241277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Colombaro?= Date: Tue, 15 Oct 2024 18:54:01 +0200 Subject: [PATCH] Cleanup capabilities compatibility helpers --- charts/yourls/Chart.yaml | 2 +- charts/yourls/templates/ingress.yaml | 2 +- charts/yourls/templates/pdb.yaml | 2 +- charts/yourls/templates/pvc.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/yourls/Chart.yaml b/charts/yourls/Chart.yaml index d2c63e7..bd6b29b 100644 --- a/charts/yourls/Chart.yaml +++ b/charts/yourls/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -version: 6.1.7 +version: 6.1.8 name: yourls description: Your Own URL Shortener # renovate: image=ghcr.io/yourls/yourls diff --git a/charts/yourls/templates/ingress.yaml b/charts/yourls/templates/ingress.yaml index 4c60881..5fbee95 100644 --- a/charts/yourls/templates/ingress.yaml +++ b/charts/yourls/templates/ingress.yaml @@ -1,5 +1,5 @@ {{- if .Values.ingress.enabled }} -apiVersion: {{ include "common.capabilities.ingress.apiVersion" . }} +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ include "common.names.fullname" . }} diff --git a/charts/yourls/templates/pdb.yaml b/charts/yourls/templates/pdb.yaml index 8972112..8ef3d22 100644 --- a/charts/yourls/templates/pdb.yaml +++ b/charts/yourls/templates/pdb.yaml @@ -1,5 +1,5 @@ {{- if .Values.pdb.create }} -apiVersion: {{ include "common.capabilities.policy.apiVersion" . }} +apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: {{ include "common.names.fullname" . }} diff --git a/charts/yourls/templates/pvc.yaml b/charts/yourls/templates/pvc.yaml index cd691c4..6dbac64 100644 --- a/charts/yourls/templates/pvc.yaml +++ b/charts/yourls/templates/pvc.yaml @@ -1,6 +1,6 @@ {{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }} -kind: PersistentVolumeClaim apiVersion: v1 +kind: PersistentVolumeClaim metadata: name: {{ include "common.names.fullname" . }} namespace: {{ .Release.Namespace | quote }}