From b854c9415f3a8e4ab828ad376714ac0b3fb1fd56 Mon Sep 17 00:00:00 2001 From: FutureMatt <43476243+FutureMatt@users.noreply.github.com> Date: Mon, 6 Mar 2023 11:39:57 +0000 Subject: [PATCH 1/4] Update ingress to supported api versions. --- appuio/snappass/templates/ingress.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/appuio/snappass/templates/ingress.yaml b/appuio/snappass/templates/ingress.yaml index dbc6cd74..7ca57df1 100644 --- a/appuio/snappass/templates/ingress.yaml +++ b/appuio/snappass/templates/ingress.yaml @@ -1,11 +1,7 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "snappass.fullname" . -}} {{- $svcPort := .Values.service.port -}} -{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1beta1 -{{- else -}} -apiVersion: extensions/v1beta1 -{{- end }} +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ $fullName }} @@ -33,9 +29,12 @@ spec: paths: {{- range .paths }} - path: {{ . }} + pathType: ImplementationSpecific backend: - serviceName: {{ $fullName }} - servicePort: {{ $svcPort }} + service: + name: {{ $fullName }} + port: + number: {{ $svcPort }} {{- end }} {{- end }} {{- end }} From c2be82738140017c401c4b05a45b78c814d9fdb8 Mon Sep 17 00:00:00 2001 From: FutureMatt <43476243+FutureMatt@users.noreply.github.com> Date: Mon, 6 Mar 2023 11:45:36 +0000 Subject: [PATCH 2/4] Bump the Chart.yaml version. --- appuio/snappass/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appuio/snappass/Chart.yaml b/appuio/snappass/Chart.yaml index ac4df621..df847be9 100644 --- a/appuio/snappass/Chart.yaml +++ b/appuio/snappass/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: snappass description: A Helm chart for SnapPass -version: 0.2.15 +version: 0.2.16 appVersion: v1.4.2 sources: - https://github.com/pinterest/snappass From c5030cba54e24fabe9b241af9025c2f587a69855 Mon Sep 17 00:00:00 2001 From: FutureMatt <43476243+FutureMatt@users.noreply.github.com> Date: Fri, 17 Mar 2023 09:27:22 +0000 Subject: [PATCH 3/4] Updated chart version to 1.0.0 to account for the breaking change. --- appuio/snappass/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appuio/snappass/Chart.yaml b/appuio/snappass/Chart.yaml index df847be9..48f49f48 100644 --- a/appuio/snappass/Chart.yaml +++ b/appuio/snappass/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: snappass description: A Helm chart for SnapPass -version: 0.2.16 +version: 1.0.0 appVersion: v1.4.2 sources: - https://github.com/pinterest/snappass From 331bd668059d0d8dbe7a5e83a2f59bd831c3c0fe Mon Sep 17 00:00:00 2001 From: Manuel Hutter Date: Fri, 17 Mar 2023 14:06:56 +0100 Subject: [PATCH 4/4] Regenerate READMEs Signed-off-by: Manuel Hutter --- README.md | 2 +- appuio/snappass/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dcd727b7..731c4a00 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ helm repo add appuio https://charts.appuio.ch | [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/redis-1.3.5/total)](https://github.com/appuio/charts/releases/tag/redis-1.3.5) | [redis](appuio/redis/README.md) | | [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/secret-1.1.0/total)](https://github.com/appuio/charts/releases/tag/secret-1.1.0) | [secret](appuio/secret/README.md) | | [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/signalilo-0.12.0/total)](https://github.com/appuio/charts/releases/tag/signalilo-0.12.0) | [signalilo](appuio/signalilo/README.md) | -| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/snappass-0.2.15/total)](https://github.com/appuio/charts/releases/tag/snappass-0.2.15) | [snappass](appuio/snappass/README.md) | +| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/snappass-1.0.0/total)](https://github.com/appuio/charts/releases/tag/snappass-1.0.0) | [snappass](appuio/snappass/README.md) | | [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-0.15.1/total)](https://github.com/appuio/charts/releases/tag/stardog-0.15.1) | [stardog](appuio/stardog/README.md) | | [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-userrole-operator-0.1.1/total)](https://github.com/appuio/charts/releases/tag/stardog-userrole-operator-0.1.1) | [stardog-userrole-operator](appuio/stardog-userrole-operator/README.md) | | [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/trifid-1.2.3/total)](https://github.com/appuio/charts/releases/tag/trifid-1.2.3) | [trifid](appuio/trifid/README.md) | diff --git a/appuio/snappass/README.md b/appuio/snappass/README.md index 34bef34b..62ca7c22 100644 --- a/appuio/snappass/README.md +++ b/appuio/snappass/README.md @@ -1,6 +1,6 @@ # snappass -![Version: 0.2.15](https://img.shields.io/badge/Version-0.2.15-informational?style=flat-square) ![AppVersion: v1.4.2](https://img.shields.io/badge/AppVersion-v1.4.2-informational?style=flat-square) +![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: v1.4.2](https://img.shields.io/badge/AppVersion-v1.4.2-informational?style=flat-square) A Helm chart for SnapPass