Files
metalcheck/helm/templates/ingress.yaml
Aleksandr Tcitlionok acef6cb9a1
Some checks failed
CI Pipeline / Build and Push Docker Image (push) Failing after 2m48s
update(app): add helm chart and cleanup repo
2024-12-11 09:05:15 +00:00

27 lines
638 B
YAML

{{- if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-ingress
annotations:
{{ toYaml .Values.ingress.annotations | indent 4 }}
spec:
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host }}
http:
paths:
{{- range .paths }}
- path: {{ .path }}
pathType: {{ .pathType }}
backend:
service:
name: {{ $.Release.Name }}-service
port:
number: {{ $.Values.service.port }}
{{- end }}
{{- end }}
tls:
{{ toYaml .Values.ingress.tls | indent 4 }}
{{- end }}