chart-unifi_network_application: add

This commit is contained in:
2024-08-25 21:52:08 +02:00
parent c90f214f54
commit 126a50b506
11 changed files with 662 additions and 0 deletions

View File

@ -0,0 +1,45 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "template.fullname" . }}-ingress
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
rules:
- host: {{ .Values.ingress.hostname }}
http:
paths:
- path: "/"
pathType: Prefix
backend:
service:
name: {{ include "template.fullname" . }}-service-tcp
port:
number: 8443
{{ if .Values.ingress.redirect.enabled }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "template.fullname" . }}-ingress-redirect
{{- with .Values.ingress.redirect.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
rules:
- host: {{ .Values.ingress.hostname }}
http:
paths:
- path: "/"
pathType: Prefix
backend:
service:
name: {{ include "template.fullname" . }}-service-tcp
port:
number: 8443
{{ end }}