Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot
2022-04-03 19:56:21 +00:00
parent 6930c6ce30
commit bb4e8f7b08
14 changed files with 104 additions and 32 deletions

View File

@@ -1,30 +0,0 @@
image:
repository: tccr.io/truecharts/linkding
tag: v1.8.8@sha256:c5a15b48ef46e409d6d0fe0552280611bcbb148e5311f4ed0e9e12d2360e6578
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
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"

View File

@@ -1,6 +1,19 @@
# Changelog<br>
<a name="linkding-0.0.6"></a>
### [linkding-0.0.6](https://github.com/truecharts/apps/compare/linkding-0.0.5...linkding-0.0.6) (2022-04-03)
#### Chore
* bump ([#2420](https://github.com/truecharts/apps/issues/2420))
#### Fix
* create initial user ([#2417](https://github.com/truecharts/apps/issues/2417))
<a name="linkding-0.0.5"></a>
### [linkding-0.0.5](https://github.com/truecharts/apps/compare/linkding-0.0.4...linkding-0.0.5) (2022-04-03)

View File

@@ -3,4 +3,4 @@ dependencies:
repository: https://library-charts.truecharts.org
version: 9.2.7
digest: sha256:927fec2499d55b3de8a7522d936aaf4f21f668370deb33239fb06f12051ff5b1
generated: "2022-04-03T15:46:12.759671995Z"
generated: "2022-04-03T19:51:38.950754447Z"

View File

@@ -19,7 +19,7 @@ name: linkding
sources:
- https://github.com/sissbruecker/linkding
- https://hub.docker.com/r/sissbruecker/linkding
version: 0.0.5
version: 0.0.6
annotations:
truecharts.org/catagories: |
- bookmarks

View File

@@ -18,10 +18,16 @@ You will, however, be able to use all values referenced in the common chart here
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"tccr.io/truecharts/linkding"` | |
| image.tag | string | `"v1.8.8@sha256:c5a15b48ef46e409d6d0fe0552280611bcbb148e5311f4ed0e9e12d2360e6578"` | |
| lifecycle.postStart.exec.command[0] | string | `"/bin/bash"` | |
| lifecycle.postStart.exec.command[1] | string | `"-c"` | |
| lifecycle.postStart.exec.command[2] | string | `"if [ -f /etc/linkding/data/.superuser_exists ]; then\n echo \"Superuser has been created before. Skipping...\";\nelse\n echo \"Creating superuser...\";\n export status=99;\n until [ $status -eq 0 ];\n do\n python manage.py createsuperuser --username=${DJANGO_SUPERUSER_USERNAME} --email=${DJANGO_SUPERUSER_EMAIL} --noinput;\n status=$?;\n sleep 3;\n done;\n 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;\n echo \"Superuser Created!\";\nfi;\n"` | |
| persistence.data.enabled | bool | `true` | |
| persistence.data.mountPath | string | `"/etc/linkding/data"` | |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `0` | |
| secret.DJANGO_SUPERUSER_EMAIL | string | `"super@example.com"` | |
| secret.DJANGO_SUPERUSER_PASSWORD | string | `"somesecret"` | |
| secret.DJANGO_SUPERUSER_USERNAME | string | `"superuser"` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `false` | |
| service.main.ports.main.port | int | `10210` | |

View File

@@ -0,0 +1,57 @@
image:
repository: tccr.io/truecharts/linkding
tag: v1.8.8@sha256:c5a15b48ef46e409d6d0fe0552280611bcbb148e5311f4ed0e9e12d2360e6578
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;

View File

@@ -176,6 +176,32 @@ questions:
label: "Value"
schema:
type: string
- variable: secret
group: "Container Configuration"
label: "Image Secrets"
schema:
additional_attrs: true
type: dict
attrs:
- variable: DJANGO_SUPERUSER_USERNAME
label: "Superuser Username (Initial install only)"
schema:
type: string
default: ""
required: true
- variable: DJANGO_SUPERUSER_EMAIL
label: "Superuser Email (Initial install only)"
schema:
type: string
default: ""
required: true
- variable: DJANGO_SUPERUSER_PASSWORD
label: "Superuser Password (Initial install only)"
schema:
type: string
default: ""
private: true
required: true
- variable: env
group: "Container Configuration"
label: "Image Environment"