{{- if eq .Values.EUROOFFICE_ENABLED "yes" }} apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.version: 1.38.0 (a8f5d1cbd) labels: io.kompose.service: nextcloud-aio-eurooffice name: nextcloud-aio-eurooffice namespace: "{{ .Values.NAMESPACE }}" spec: replicas: 1 selector: matchLabels: io.kompose.service: nextcloud-aio-eurooffice strategy: type: Recreate template: metadata: annotations: kompose.version: 1.38.0 (a8f5d1cbd) labels: io.kompose.service: nextcloud-aio-eurooffice spec: initContainers: - name: init-volumes image: ghcr.io/nextcloud-releases/aio-alpine:20260609_115915 command: - chmod - "777" - /nextcloud-aio-eurooffice volumeMounts: - name: nextcloud-aio-eurooffice mountPath: /nextcloud-aio-eurooffice containers: - env: - name: AIO_LOG_LEVEL value: "{{ .Values.AIO_LOG_LEVEL }}" - name: JWT_ENABLED value: "true" - name: JWT_HEADER value: AuthorizationJwt - name: JWT_SECRET value: "{{ .Values.EUROOFFICE_SECRET }}" - name: LOG_LEVEL value: "{{ .Values.AIO_LOG_LEVEL }}" - name: TZ value: "{{ .Values.TIMEZONE }}" image: ghcr.io/nextcloud-releases/aio-eurooffice:20260609_115915 readinessProbe: exec: command: - /healthcheck.sh failureThreshold: 9 initialDelaySeconds: 60 periodSeconds: 30 timeoutSeconds: 30 livenessProbe: exec: command: - /healthcheck.sh failureThreshold: 9 initialDelaySeconds: 60 periodSeconds: 30 timeoutSeconds: 30 name: nextcloud-aio-eurooffice ports: - containerPort: 80 protocol: TCP volumeMounts: - mountPath: /var/lib/euro-office name: nextcloud-aio-eurooffice volumes: - name: nextcloud-aio-eurooffice persistentVolumeClaim: claimName: nextcloud-aio-eurooffice {{- end }}