mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* add collabora-code chart Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * collabora-code - add home variable to Chart.yaml Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * add owners file Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * correct README to min req kubernetes api Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * fix service port definition Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * fix ingress servicePort definition Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * [collabora] reenable port naming Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * [collabora] linting Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com>
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
{{- if .Values.ingress.enabled -}}
|
|
{{- $fullName := include "collabora-code.fullname" . -}}
|
|
{{- $ingressPaths := .Values.ingress.paths -}}
|
|
apiVersion: extensions/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ $fullName }}
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "collabora-code.name" . }}
|
|
helm.sh/chart: {{ include "collabora-code.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
{{- with .Values.ingress.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
{{- if .Values.ingress.tls }}
|
|
tls:
|
|
{{- range .Values.ingress.tls }}
|
|
- hosts:
|
|
{{- range .hosts }}
|
|
- {{ . | quote }}
|
|
{{- end }}
|
|
secretName: {{ .secretName }}
|
|
{{- end }}
|
|
{{- end }}
|
|
rules:
|
|
{{- range .Values.ingress.hosts }}
|
|
- host: {{ . | quote }}
|
|
http:
|
|
paths:
|
|
{{- range $ingressPaths }}
|
|
- path: {{ . }}
|
|
backend:
|
|
serviceName: {{ $fullName }}
|
|
servicePort: http
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|