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

19 lines
394 B
YAML
Raw 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 }}
annotations:
kubernetes.io/ingress.class: nginx
spec:
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: my-app
port:
number: 80