diff --git a/onlyoffice-documentserver/templates/deployment.yaml b/onlyoffice-documentserver/templates/deployment.yaml index 2ebb2d40679a536003c814677da2c1f8cd2041cf..deb9b8f62ada7e2718323e1bc71a6911a2f6c214 100644 --- a/onlyoffice-documentserver/templates/deployment.yaml +++ b/onlyoffice-documentserver/templates/deployment.yaml @@ -39,7 +39,7 @@ spec: failureThreshold: {{ .Values.livenessProbe.failureThreshold }} {{- end }} {{- if .Values.readinessProbe.enabled }} - livenessProbe: + readinessProbe: failureThreshold: 3 httpGet: path: /welcome @@ -73,19 +73,6 @@ spec: value: "{{ .Values.postgresql.service.port }}" - name: POSTGRESQL_SERVER_DB_NAME value: "{{ .Values.postgresql.postgresqlDatabase }}" - {{- if .Values.readinessProbe.enabled }} - readinessProbe: - failureThreshold: 3 - httpGet: - path: / - port: http - scheme: HTTP - initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} - periodSeconds: {{ .Values.readinessProbe.periodSeconds }} - timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} - successThreshold: {{ .Values.readinessProbe.successThreshold }} - failureThreshold: {{ .Values.readinessProbe.failureThreshold }} - {{- end }} ports: - name: http containerPort: {{ .Values.onlyoffice.containerPort }}