diff --git a/charts/stable/traefik-forward-auth/Chart.yaml b/charts/stable/traefik-forward-auth/Chart.yaml index a57ddff6..6a40d6e4 100644 --- a/charts/stable/traefik-forward-auth/Chart.yaml +++ b/charts/stable/traefik-forward-auth/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: traefik-forward-auth description: A minimal forward authentication service that provides OAuth/SSO login and authentication for the traefik reverse proxy/load balancer type: application -version: 1.0.9 +version: 1.0.10 appVersion: 2.2.0 keywords: - traefik diff --git a/charts/stable/traefik-forward-auth/README.md b/charts/stable/traefik-forward-auth/README.md index 23e6bd9b..22398bc4 100644 --- a/charts/stable/traefik-forward-auth/README.md +++ b/charts/stable/traefik-forward-auth/README.md @@ -1,6 +1,6 @@ # traefik-forward-auth -![Version: 1.0.8](https://img.shields.io/badge/Version-1.0.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.2.0](https://img.shields.io/badge/AppVersion-2.2.0-informational?style=flat-square) +![Version: 1.0.10](https://img.shields.io/badge/Version-1.0.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.2.0](https://img.shields.io/badge/AppVersion-2.2.0-informational?style=flat-square) A minimal forward authentication service that provides OAuth/SSO login and authentication for the traefik reverse proxy/load balancer @@ -177,4 +177,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Join our [Discord](https://discord.gg/sTMX7Vh) community ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) +Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) \ No newline at end of file diff --git a/charts/stable/traefik-forward-auth/templates/ingress.yaml b/charts/stable/traefik-forward-auth/templates/ingress.yaml index 70d9a833..007d7bee 100644 --- a/charts/stable/traefik-forward-auth/templates/ingress.yaml +++ b/charts/stable/traefik-forward-auth/templates/ingress.yaml @@ -1,9 +1,10 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "traefik-forward-auth.fullname" . -}} {{- $svcPort := .Values.service.port -}} - {{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}} + {{- $apiVersion := .Capabilities.KubeVersion.GitVersion -}} + {{- if semverCompare "<1.14-0" $apiVersion -}} apiVersion: extensions/v1beta1 - {{- else if semverCompare "<1.19-0" .Capabilities.KubeVersion.GitVersion -}} + {{- else if semverCompare "<1.19-0" $apiVersion -}} apiVersion: networking.k8s.io/v1beta1 {{- else -}} apiVersion: networking.k8s.io/v1 @@ -40,7 +41,7 @@ spec: paths: {{- range .paths }} - path: {{ . }} - {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} + {{- if semverCompare ">=1.19-0" $apiVersion }} pathType: Prefix backend: service: