2021-12-27 12:40:31 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/shlink
|
|
|
|
pullPolicy: IfNotPresent
|
2022-04-26 09:56:48 +00:00
|
|
|
tag: v3.1.0@sha256:114eec975de46d8b3791c6a79ef257896319eb39857409269ee21b336fd30033
|
2021-12-27 12:40:31 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
targetPort: 10153
|
|
|
|
port: 10153
|
|
|
|
|
2022-01-10 17:11:21 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/rest/health"
|
|
|
|
readiness:
|
|
|
|
path: "/rest/health"
|
|
|
|
startup:
|
|
|
|
path: "/rest/health"
|
|
|
|
|
2021-12-27 12:40:31 +00:00
|
|
|
env:
|
|
|
|
DEFAULT_DOMAIN: ""
|
|
|
|
GEOLITE_LICENSE_KEY: ""
|
2022-01-10 17:12:08 +00:00
|
|
|
ANONYMIZE_REMOTE_ADDR: true
|
|
|
|
ENABLE_PERIODIC_VISIT_LOCATE: true
|
2021-12-27 12:40:31 +00:00
|
|
|
IS_HTTPS_ENABLED: true
|
2022-01-10 17:12:08 +00:00
|
|
|
PORT: 10153
|
2021-12-27 12:40:31 +00:00
|
|
|
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"
|