|
|
@@ -82,34 +82,6 @@ spec:
|
|
|
- name: http
|
|
|
containerPort: 80
|
|
|
protocol: TCP
|
|
|
- {{- if .Values.livenessProbe.enabled }}
|
|
|
- livenessProbe:
|
|
|
- httpGet:
|
|
|
- path: /status.php
|
|
|
- port: http
|
|
|
- httpHeaders:
|
|
|
- - name: Host
|
|
|
- value: {{ .Values.nextcloud.host | quote }}
|
|
|
- initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
|
|
|
- periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
|
|
- timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
|
|
|
- successThreshold: {{ .Values.livenessProbe.successThreshold }}
|
|
|
- failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
|
|
|
- {{- end }}
|
|
|
- {{- if .Values.readinessProbe.enabled}}
|
|
|
- readinessProbe:
|
|
|
- httpGet:
|
|
|
- path: /status.php
|
|
|
- port: http
|
|
|
- httpHeaders:
|
|
|
- - name: Host
|
|
|
- value: {{ .Values.nextcloud.host | quote }}
|
|
|
- initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
|
|
|
- periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
|
|
|
- timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
|
|
|
- successThreshold: {{ .Values.readinessProbe.successThreshold }}
|
|
|
- failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
|
|
|
- {{- end }}
|
|
|
volumeMounts:
|
|
|
- name: nextcloud-data
|
|
|
mountPath: /var/www/
|