7991ef6fe5
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/sissbruecker/linkding](https://redirect.github.com/sissbruecker/linkding) | patch | `8240a94` -> `e4fbafe` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>sissbruecker/linkding (docker.io/sissbruecker/linkding)</summary> ### [`v1.44.1`](https://redirect.github.com/sissbruecker/linkding/compare/v1.44.0...v1.44.1) [Compare Source](https://redirect.github.com/sissbruecker/linkding/compare/v1.44.0...v1.44.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjgyLjEwIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
image:
|
|
repository: docker.io/sissbruecker/linkding
|
|
tag: 1.44.1@sha256:e4fbafee44388d8555e34ffdc507224302989265009fc82f5f2762b789f0385a
|
|
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;
|
|
|
|
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"
|