Files
AudioManager/charts/musicmanager/templates/ingress.yaml
T
TapTap 25331ec0e1
CI / test (push) Successful in 3m35s
CI / smoke (push) Successful in 3m11s
CI / chart (push) Successful in 14s
CI / image (push) Failing after 5s
feat: add Docker image, Helm chart and Gitea CI
- multi-stage Dockerfile with ffmpeg on Alpine JRE 21
- Helm chart for k3s: library ConfigMap, Vault users secret, data PVC,
  read-only hostPath media, ingress, probes and security context
- Gitea Actions runs tests, smoke test and chart lint, then builds and
  pushes the image on main and version tags
2026-11-13 12:56:30 +00:00

30 lines
813 B
YAML

{{- if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "musicmanager.fullname" . }}
labels:
{{- include "musicmanager.labels" . | nindent 4 }}
spec:
{{- with .Values.ingress.className }}
ingressClassName: {{ . }}
{{- end }}
{{- if .Values.ingress.tls.enabled }}
tls:
- hosts:
- {{ .Values.ingress.host | quote }}
secretName: {{ .Values.ingress.tls.secretName }}
{{- end }}
rules:
- host: {{ .Values.ingress.host | quote }}
http:
paths:
- path: {{ .Values.ingress.path }}
pathType: {{ .Values.ingress.pathType }}
backend:
service:
name: {{ include "musicmanager.fullname" . }}
port:
name: http
{{- end }}