mirror of
https://github.com/Dannecron/netology-devops-gw-infra.git
synced 2025-12-25 23:32:35 +03:00
21 lines
520 B
YAML
21 lines
520 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ .Chart.Name }}-{{ .Values.environment }}-application-ingress
|
|
annotations:
|
|
kubernetes.io/ingress.class: nginx
|
|
ingress.kubernetes.io/rewrite-target: /
|
|
spec:
|
|
rules:
|
|
- host: app-gw.my.to
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: {{ .Chart.Name }}-{{ .Values.environment }}-application
|
|
port:
|
|
number: 80
|