feat(inter-hub): add Railiance app chart handoff
This commit is contained in:
parent
2b46f85c55
commit
1bd852d177
10 changed files with 270 additions and 1 deletions
28
charts/inter-hub/templates/ingress.yaml
Normal file
28
charts/inter-hub/templates/ingress.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{{- if .Values.ingress.enabled }}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ include "interhub.fullname" . }}
|
||||
labels: {{- include "interhub.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
{{- toYaml .Values.ingress.annotations | nindent 4 }}
|
||||
spec:
|
||||
ingressClassName: {{ .Values.ingress.className }}
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ .Values.ingress.host }}
|
||||
secretName: {{ include "interhub.fullname" . }}-tls
|
||||
{{- end }}
|
||||
rules:
|
||||
- host: {{ .Values.ingress.host }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "interhub.fullname" . }}
|
||||
port:
|
||||
number: {{ .Values.service.port }}
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue