64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/shlink
|
|
pullPolicy: IfNotPresent
|
|
tag: v3.0.3@sha256:0467d5b06c9d59a7543cb27d24f7dec31e44b8e01ce7a1f4e00368f674e63b73
|
|
|
|
securityContext:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
targetPort: 10153
|
|
port: 10153
|
|
|
|
probes:
|
|
liveness:
|
|
path: "/rest/health"
|
|
readiness:
|
|
path: "/rest/health"
|
|
startup:
|
|
path: "/rest/health"
|
|
|
|
env:
|
|
DEFAULT_DOMAIN: ""
|
|
GEOLITE_LICENSE_KEY: ""
|
|
ANONYMIZE_REMOTE_ADDR: true
|
|
ENABLE_PERIODIC_VISIT_LOCATE: true
|
|
IS_HTTPS_ENABLED: true
|
|
PORT: 10153
|
|
DB_DRIVER: "postgres"
|
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
envValueFrom:
|
|
DB_PASSWORD:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: postgresql-password
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: plainhost
|
|
REDIS_SERVERS:
|
|
secretKeyRef:
|
|
name: rediscreds
|
|
key: url
|
|
|
|
postgresql:
|
|
enabled: true
|
|
existingSecret: "dbcreds"
|
|
postgresqlUsername: shlink
|
|
postgresqlDatabase: shlink
|
|
|
|
redis:
|
|
enabled: true
|
|
existingSecret: "rediscreds"
|
|
redisUsername: "default"
|