Skip to content

Commit

Permalink
feat: upgrade to networking.k8s.io/v1 apiVersion to support 1.22
Browse files Browse the repository at this point in the history
No compatibility layer is needed because 1.19 supports this already and
all older versions are EOL.
  • Loading branch information
morremeyer authored and LeoColomb committed Sep 29, 2021
1 parent 8fe460e commit 25fda6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions charts/yourls/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
version: 2.2.4
version: 3.0.0
name: yourls
description: Your Own URL Shortener
appVersion: "1.8.2"
Expand Down Expand Up @@ -38,5 +38,5 @@ annotations:
fingerprint: 6FCD850E18E4A4FF76DD1184A3A42A61961E423F
url: https://yourls.org/.well-known/openpgpkey/hu/6e4gbtp15q1znf3unweeducn7urty4mr
artifacthub.io/changes: |
- kind: fixed
description: Service port value usage
- kind: changed
description: Kubernetes 1.22 compatibility. This breaks support for <= 1.18
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: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "yourls.fullname" . }}
Expand Down

0 comments on commit 25fda6f

Please sign in to comment.