2021-11-16 17:19:04 +00:00
|
|
|
image:
|
2021-12-03 15:44:22 +00:00
|
|
|
repository: tccr.io/truecharts/shiori
|
2021-11-16 17:19:04 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2021-12-03 15:44:22 +00:00
|
|
|
tag: version-v1.5.0@sha256:6c6331888c9a5162def49b6212327242f7f5c96e2d5a1bb031f79321cc1c0549
|
2021-11-16 17:19:04 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
allowPrivilegeEscalation: true
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
# See more environment variables in the shiori documentation
|
|
|
|
# https://github.com/go-shiori/shiori/wiki/Configuration#database
|
|
|
|
env:
|
|
|
|
# TZ:
|
|
|
|
PUID: 568
|
|
|
|
SHIORI_PG_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
SHIORI_PG_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
SHIORI_PG_PASS:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
SHIORI_PG_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2021-11-30 13:04:19 +00:00
|
|
|
port: 10098
|
2021-11-16 17:19:04 +00:00
|
|
|
targetPort: 8080
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/data"
|
|
|
|
varrun:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
# Enabled postgres
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: shiori
|
|
|
|
postgresqlDatabase: shiori
|