demo-chart/templates/ingress.yaml

20 lines
548 B
YAML
Raw Normal View History

2023-03-29 01:29:07 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
2023-04-19 02:35:56 +00:00
name: {{ include "ailab-demo.fullname" . }}
2023-03-29 01:29:07 +00:00
namespace: {{ .Values.ingressNamespace | default .Release.Namespace }}
annotations:
kubernetes.io/ingress.class: nginx
spec:
rules:
2023-04-19 02:35:56 +00:00
- host: {{ include "ailab-demo.host" . }}
2023-03-29 01:29:07 +00:00
http:
paths:
2023-04-19 02:23:15 +00:00
- path: /
2023-03-29 01:29:07 +00:00
pathType: Prefix
backend:
service:
name: {{ .Values.keda.httpAddOnProxy }}
port:
number: {{ .Values.keda.httpAddOnPort }}