add ai-teacher helm chart and rename notes to readme

This commit is contained in:
Adrien
2026-04-12 15:32:23 +00:00
parent e05f1c0de6
commit 76c58f7699
20 changed files with 394 additions and 125 deletions
+28
View File
@@ -0,0 +1,28 @@
{{- if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "ai-teacher.fullname" . }}
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
ingressClassName: {{ .Values.ingress.className | quote }}
{{- if .Values.ingress.tls }}
tls:
- hosts:
- {{ .Values.ingress.host | quote }}
secretName: {{ .Values.ingress.tlsSecretName | quote }}
{{- end }}
rules:
- host: {{ .Values.ingress.host | quote }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ include "ai-teacher.fullname" . }}-frontend
port:
number: 80
{{- end }}