diff --git a/apps/opencloud/opencloud-deployment.yaml b/apps/opencloud/opencloud-deployment.yaml index 2af4fa4..8e774c4 100644 --- a/apps/opencloud/opencloud-deployment.yaml +++ b/apps/opencloud/opencloud-deployment.yaml @@ -75,7 +75,7 @@ spec: command: - /bin/sh - -c - - "opencloud server" + - "yes | opencloud init --insecure=true --force-overwrite 2>&1 | head -50 || true; opencloud server" env: # Basic configuration - name: OC_URL @@ -374,9 +374,6 @@ spec: volumeMounts: - name: opencloud-data mountPath: /var/lib/opencloud - - name: opencloud-config - mountPath: /etc/opencloud - readOnly: true resources: requests: memory: "512Mi" @@ -403,9 +400,6 @@ spec: - name: opencloud-data persistentVolumeClaim: claimName: opencloud-data - - name: opencloud-config - configMap: - name: opencloud-config --- # Ingress apiVersion: networking.k8s.io/v1