devops-test-app/chart/templates/ingress.yaml

18 lines
378 B
YAML
Raw Permalink Normal View History

2022-08-03 15:41:54 +05:00
apiVersion: networking.k8s.io/v1
2020-07-07 14:12:13 +05:00
kind: Ingress
metadata:
name: {{ .Release.Name }}
spec:
ingressClassName: nginx
2020-07-07 14:12:13 +05:00
rules:
- host: {{ .Values.ingress.host }}
http:
paths:
- path: /
2022-08-03 15:41:54 +05:00
pathType: Prefix
2020-07-07 14:12:13 +05:00
backend:
2022-08-03 15:41:54 +05:00
service:
name: {{ .Release.Name }}
port:
2022-08-03 15:41:54 +05:00
number: 80