Files
url-shortener/chart/templates/public-ingress.yaml
Gabriel Radureau e8d5ffddf7
All checks were successful
Docker Build / pull-and-push-image (push) Successful in 18s
use .fr and fix ssl issuer
2026-01-04 13:14:17 +01:00

22 lines
729 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "url-shortener.fullname" . }}-public
labels:
{{- include "url-shortener.labels" . | nindent 4 }}
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web
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