rancher-charts/charts/epinio/102.0.3+up1.8.1/templates/ui/ingress.yaml

31 lines
782 B
YAML
Raw Normal View History

2023-06-13 08:32:16 +00:00
{{- if and .Values.epinioUI.enabled .Values.epinioUI.ingress.enabled }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
name: epinio-ui
namespace: {{ .Release.Namespace }}
spec:
{{- if .Values.epinioUI.ingress.ingressClassName }}
ingressClassName: "{{ .Values.ingress.ingressClassName }}"
{{- end }}
rules:
- host: {{ .Values.global.domain }}
http:
paths:
- backend:
service:
name: epinio-ui
port:
number: 80
path: /
pathType: ImplementationSpecific
tls:
- hosts:
- {{ .Values.global.domain }}
secretName: epinio-ui-tls
{{- end }}