Skip to content

Commit

Permalink
Cleanup capabilities compatibility helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb committed Oct 15, 2024
1 parent 1de068c commit 4e17962
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/yourls/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/yourls/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -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" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/yourls/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -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" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/yourls/templates/pvc.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down

0 comments on commit 4e17962

Please sign in to comment.