TrueChartsClone/charts/stable/linkding/values.yaml

61 lines
1.5 KiB
YAML
Raw Normal View History

image:
repository: tccr.io/truecharts/linkding
tag: 1.15.0@sha256:2bea4a24965b97d509ccf7e3ec8b519afa390cb4c2d89eb78d506a2c1cc6116a
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
secretEnv:
DJANGO_SUPERUSER_USERNAME: "superuser"
DJANGO_SUPERUSER_EMAIL: "super@example.com"
DJANGO_SUPERUSER_PASSWORD: "somesecret"
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
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;
chore(questions): replace questions parts with templates (#3402) * chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-08 21:25:02 +00:00
portal:
enabled: true