feat(apps): move some apps to stable (#2504)
* feat(apps): move apps to stable * move to stable * move to stable * remove jwt and let it auto generate * remove jwt * move to stable * move to stabel * move to stable * move to stable * move to stable and upate image refs * move to stable * fix appsmith * typo
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
image:
|
||||
repository: tccr.io/truecharts/linkding
|
||||
tag: v1.8.8@sha256:78ad873678e388710eaaed96f4de06b8339d5fef5524f4bc593964d14560134c
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
runAsNonRoot: false
|
||||
|
||||
podSecurityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
|
||||
secret:
|
||||
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;
|
||||
Reference in New Issue
Block a user