This PR contains the following updates: | Package | Update | Change | |---|---|---| | sissbruecker/linkding | minor | `1.23.1` -> `1.24.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - "before 10pm on monday" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
image:
|
|
repository: sissbruecker/linkding
|
|
tag: 1.24.0@sha256:3efe1d01af43df5f2fba97a2e6a22e46aa69d8df726474073fad04b590e1a09f
|
|
pullPolicy: IfNotPresent
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10210
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/etc/linkding/data"
|
|
lifecycle:
|
|
postStart:
|
|
exec:
|
|
command:
|
|
- "/bin/bash"
|
|
- "-c"
|
|
- |
|
|
if [ -f /etc/linkding/data/.superuser_exists ]; then
|
|
echo "Superuser has been created before. Skipping...";
|
|
else
|
|
echo "Creating superuser...";
|
|
export status=99;
|
|
until [ $status -eq 0 ];
|
|
do
|
|
python manage.py createsuperuser --username=${DJANGO_SUPERUSER_USERNAME} --email=${DJANGO_SUPERUSER_EMAIL} --noinput;
|
|
status=$?;
|
|
sleep 3;
|
|
done;
|
|
echo "This file is to ensure that init script won't try to create a superuser again and fail because it already exsits" > /etc/linkding/data/.superuser_exists;
|
|
echo "Superuser Created!";
|
|
fi;
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
LD_SERVER_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
# User Defined
|
|
LD_REQUEST_TIMEOUT: 60
|
|
LD_DISABLE_BACKGROUND_TASKS: false
|
|
LD_DISABLE_URL_VALIDATION: false
|
|
LD_SUPERUSER_NAME: "superuser"
|
|
LD_SUPERUSER_PASSWORD: "somesecret"
|