Create umbraco
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 3s
All checks were successful
Upload Helm Chart / Explore-Gitea-Actions (push) Successful in 3s
This commit is contained in:
43
Chart/templates/ingress.yaml
Normal file
43
Chart/templates/ingress.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: {{ .Values.site.certificateIssuer | default "zssl-production" }}
|
||||
labels: {{- include "..labels" . | nindent 4 }}
|
||||
name: {{ include "..fullname" . }}
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: {{ .Values.site.primaryDomain }}
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: {{ include "..fullname" . }}
|
||||
port:
|
||||
number: 8123
|
||||
path: /
|
||||
pathType: Prefix
|
||||
{{- if .Values.site.additionalDomains }}
|
||||
{{- range $domain := .Values.site.additionalDomains }}
|
||||
- host: {{ $domain }}
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: {{ include "..fullname" $ }}
|
||||
port:
|
||||
number: 8123
|
||||
path: /
|
||||
pathType: Prefix
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ .Values.site.primaryDomain }}
|
||||
{{- if .Values.site.additionalDomains }}
|
||||
{{- range $domain := .Values.site.additionalDomains }}
|
||||
- {{ $domain }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
secretName: tls-{{ include "..fullname" . }}
|
||||
Reference in New Issue
Block a user