diff --git a/ingress.yaml b/ingress.yaml deleted file mode 100644 index a3088e3..0000000 --- a/ingress.yaml +++ /dev/null @@ -1,46 +0,0 @@ -{{- if .Values.ingress.enabled -}} -{{- $fullName := include "tatort.fullname" . -}} -{{- $servicePort := .Values.service.port -}} -{{- $ingressPath := .Values.ingress.path -}} -{{- $ingressPathType := .Values.ingress.pathtype -}} -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: {{ $fullName }} - labels: - app: {{ template "tatort.name" . }} - chart: {{ template "tatort.chart" . }} - component: tatort - heritage: {{ .Release.Service }} - release: {{ .Release.Name }} -{{- with .Values.ingress.annotations }} - annotations: - {{- with $ingress.annotations }} - {{- . | toYaml | niindent 4 }} - {{- end }} -spec: -{{- if .Values.ingress.tls }} - tls: - {{- range .Values.ingress.tls }} - - hosts: - {{- range .hosts }} - - {{ . }} - {{- end }} - secretName: {{ .secretName }} - {{- end }} -{{- end }} - rules: - {{- range .Values.ingress.hosts }} - - host: {{ . }} - http: - paths: - - path: {{ $ingressPath }} - pathType: {{ $ingressPathType }} - backend: - service: - name: {{ $fullName }} - port: - number: 4173 - {{- end }} -{{- end }} -