Files
nginx/ingress.yaml
2026-01-05 02:14:32 +05:00

25 lines
538 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nginx-test
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
tls:
- hosts:
- nginx-test.apps.kopikopi.com.ru
secretName: nginx-test-tls
rules:
- host: nginx-test.apps.kopikopi.com.ru
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginx-test
port:
number: 80