Ingress apiVersion
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*.swp
|
||||||
|
*.tar.gz
|
||||||
@@ -1,2 +1,4 @@
|
|||||||
# mailman3-helm-chart
|
# mailman3-helm-chart
|
||||||
Helm chart for Mailman3 deployment
|
Helm chart for Mailman3 deployment
|
||||||
|
|
||||||
|
Fork of [fw8/mailman3-helm-chart](https://github.com/fw8/mailman3-helm-chart).
|
||||||
|
|||||||
@@ -1,11 +1,7 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
{{- if .Values.ingress.enabled -}}
|
||||||
{{- $fullName := include "mailman3.fullname" . -}}
|
{{- $fullName := include "mailman3.fullname" . -}}
|
||||||
{{- $svcPort := .Values.service.port -}}
|
{{- $svcPort := .Values.service.port -}}
|
||||||
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
apiVersion: networking.k8s.io/v1
|
||||||
apiVersion: networking.k8s.io/v1beta1
|
|
||||||
{{- else -}}
|
|
||||||
apiVersion: extensions/v1beta1
|
|
||||||
{{- end }}
|
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ $fullName }}
|
name: {{ $fullName }}
|
||||||
|
|||||||
Reference in New Issue
Block a user