Ingress apiVersion

This commit is contained in:
2026-03-31 18:56:01 -04:00
parent f441b9685e
commit 31908f6439
3 changed files with 5 additions and 5 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*.swp
*.tar.gz

View File

@@ -1,2 +1,4 @@
# mailman3-helm-chart
Helm chart for Mailman3 deployment
Fork of [fw8/mailman3-helm-chart](https://github.com/fw8/mailman3-helm-chart).

View File

@@ -1,11 +1,7 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "mailman3.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 }}