ai-bot impl

This commit is contained in:
2026-10-12 14:36:17 +02:00
parent 34444fdcd2
commit 2d6d2c0c36
13 changed files with 750 additions and 0 deletions
@@ -0,0 +1,33 @@
{{- if .Values.ingress.enabled }}
{{- if not .Values.ingress.host }}
{{- fail "ingress.host is required when ingress.enabled is true" }}
{{- end }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "ai-git-bot.fullname" . }}
labels:
{{- include "ai-git-bot.labels" . | nindent 4 }}
{{- include "ai-git-bot.selectorLabels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ingressClassName: {{ .Values.ingress.className }}
rules:
- host: {{ .Values.ingress.host }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ include "ai-git-bot.fullname" . }}
port:
name: http
tls:
- secretName: {{ .Values.ingress.tlsSecretName }}
hosts:
- {{ .Values.ingress.host }}
{{- end }}