Files
examples-for-kids/k8s/ingress.yaml
Николай Вигдоров c7bbef9c5c
Some checks failed
Deploy to pages / build (push) Has been cancelled
add wildcard cert
2025-11-04 10:36:16 +03:00

23 lines
564 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: examples-for-kids-ingress
spec:
ingressClassName: traefik
tls:
- hosts:
# __HOSTNAME__ - метка для домена
- __HOSTNAME__
# __SECRET_NAME__ - метка для имени секрета с сертификатом
secretName: __SECRET_NAME__
rules:
- host: __HOSTNAME__
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: examples-for-kids-app-service
port:
number: 80