diff --git a/kubernetes/apps/default/lychee/app/sync/helmrelease.yaml b/kubernetes/apps/default/lychee/app/sync/helmrelease.yaml index a9a120f67..df515cd0a 100644 --- a/kubernetes/apps/default/lychee/app/sync/helmrelease.yaml +++ b/kubernetes/apps/default/lychee/app/sync/helmrelease.yaml @@ -51,7 +51,7 @@ spec: result=$(kubectl get pod --selector app.kubernetes.io/name=lychee --output custom-columns=:metadata.name --namespace default) LYCHEE_POD=$(echo $result | awk '{ print $NF }') if [[ $LYCHEE_POD == *"lychee"* ]]; then - kubectl exec --stdin --container main $LYCHEE_POD -- php artisan lychee:sync /mnt/storage/photo/Gallery/ --skip_duplicates=1 + kubectl exec --stdin --container app $LYCHEE_POD -- php artisan lychee:sync /mnt/storage/photo/Gallery/ --skip_duplicates=1 else echo "lychee deployment not found" exit 1