...
 
Commits (2)
......@@ -79,6 +79,9 @@ spec:
- name: http
containerPort: {{ .Values.onlyoffice.containerPort }}
protocol: TCP
- name: spellchecker
containerPort: 8080
protocol: TCP
resources:
{{- toYaml .Values.onlyoffice.resources | nindent 12 }}
securityContext:
......
......@@ -30,11 +30,13 @@ spec:
- host: {{ . | quote }}
http:
paths:
{{- range $ingressPaths }}
- path: {{ . }}
- path: "/"
backend:
serviceName: {{ $fullName }}
servicePort: http
{{- end }}
- path: "/spellchecker"
backend:
serviceName: {{ $fullName }}
servicePort: spellchecker
{{- end }}
{{- end }}
......@@ -14,6 +14,10 @@ spec:
targetPort: http
protocol: TCP
name: http
- port: 8080
targetPort: spellchecker
protocol: TCP
name: spellchecker
selector:
app.kubernetes.io/name: {{ include "onlyoffice-documentserver.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
......@@ -31,8 +31,6 @@ onlyoffice:
jwtSecret: Set any random secret for JWT here
ingress:
enabled: true
paths:
- "/"
hosts:
- "office.your.domain"
......