Files
ai-spel-static/deploy/helm/ai-spel-static/templates/ingress.yaml
T
Ein Anderssono 4ebe1bb9ec
Build and publish static assets / publish (push) Failing after 9s
Add static Piper asset service
2026-10-16 07:24:54 +02:00

25 lines
633 B
YAML

{{- if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}
annotations:
spec:
ingressClassName: {{ .Values.ingress.className | quote }}
tls:
- hosts:
- {{ .Values.ingress.host | quote }}
secretName: {{ .Values.ingress.tlsSecret | quote }}
rules:
- host: {{ .Values.ingress.host | quote }}
http:
paths:
- path: /static
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}
port:
number: {{ .Values.service.port }}
{{- end }}