28 lines
786 B
YAML
28 lines
786 B
YAML
{{- $fullName := include "layer0_describo.fullname" . -}}
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ $fullName }}
|
|
labels:
|
|
{{ include "layer0_describo.labels" . | indent 4 }}
|
|
annotations:
|
|
{{- include "common.ingressAnnotations" . | nindent 4 }}
|
|
spec:
|
|
{{- if (include "common.tlsSecretName" .) }}
|
|
tls:
|
|
- hosts:
|
|
- {{ .Values.global.describo.domain }}
|
|
secretName: {{ include "common.tlsSecretName" . }}
|
|
{{- end }}
|
|
rules:
|
|
- host: {{ .Values.global.describo.domain }}
|
|
http:
|
|
paths:
|
|
- path: {{ .Values.ingress.path }}
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: {{ $fullName }}
|
|
port:
|
|
# number: 80
|
|
name: http |