Files
url-shortener/chart/templates/public-ingress.yaml
Gabriel Radureau 0479c6a9a7
All checks were successful
Docker Build / pull-and-push-image (push) Successful in 50s
use .fr and fix ssl issuer
2026-01-04 12:55:44 +01:00

24 lines
818 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "url-shortener.fullname" . }}-public
labels:
{{- include "url-shortener.labels" . | nindent 4 }}
annotations:
{{- with omit .Values.ingress.annotations "traefik.ingress.kubernetes.io/router.middlewares" -}}
{{ toYaml . | nindent 4 }}
{{- end }}
traefik.ingress.kubernetes.io/router.pathmatcher: PathRegexp
traefik.ingress.kubernetes.io/router.middlewares: kube-system-crowdsec@kubernetescrd
spec:
rules:
- host: {{ (.Values.ingress.hosts | first).host | replace ".lab" ".fr" }}
http:
paths:
- path: /[^/]+
pathType: ImplementationSpecific
backend:
service:
name: url-shortener
port:
number: 4567