26 lines
590 B
YAML
26 lines
590 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ .Release.Name }}
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
spec:
|
|
|
|
tls:
|
|
- hosts:
|
|
- {{ .Values.url }}
|
|
secretName: {{ .Values.url | printf "%s-tls" }}
|
|
rules:
|
|
- host: {{ .Values.url }}
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: {{ .Release.Name }}
|
|
port:
|
|
name: http
|
|
path: /
|
|
pathType: Prefix |