diff options
| author | R-man3000 <rasmus.luha@gmail.com> | 2026-05-31 13:53:25 +0300 |
|---|---|---|
| committer | R-man3000 <rasmus.luha@gmail.com> | 2026-05-31 13:53:25 +0300 |
| commit | 46beed24543994a465e5449acc1bb987e5368441 (patch) | |
| tree | 9f7a3be1065f5e39069e6f8fa8f942027340ce47 /apps/heimdall/templates/ingress.yaml | |
| parent | 974d4457148e9a9ff3a0231eece663d04faaf16d (diff) | |
move Heimdall deployment to helm chart
Diffstat (limited to 'apps/heimdall/templates/ingress.yaml')
| -rw-r--r-- | apps/heimdall/templates/ingress.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/heimdall/templates/ingress.yaml b/apps/heimdall/templates/ingress.yaml new file mode 100644 index 0000000..cd07205 --- /dev/null +++ b/apps/heimdall/templates/ingress.yaml @@ -0,0 +1,22 @@ +{{- if .Values.ingress.enabled }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ include "heimdall.name" . }}-ingress + namespace: {{ .Release.Namespace }} + labels: + {{- include "heimdall.labels" . | nindent 4 }} +spec: + ingressClassName: {{ .Values.ingress.className }} + rules: + - host: {{ .Values.ingress.host }} + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: {{ include "heimdall.name" . }}-service + port: + number: {{ .Values.service.port }} +{{- end }} |
