2021-12-27 07:40:31 -05:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/shlink
|
|
|
|
pullPolicy: IfNotPresent
|
2023-09-23 09:39:04 -04:00
|
|
|
tag: v3.6.4@sha256:7d60a3f5d8040ba576e3de5d39aae5ec7cdddc8b9c5b4424ded51ed187f8f822
|
2021-12-27 07:40:31 -05:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10153
|
2023-04-11 06:07:17 -04:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: shlink
|
|
|
|
database: shlink
|
2021-12-27 07:40:31 -05:00
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
redisUsername: "default"
|
2022-08-08 17:25:02 -04:00
|
|
|
|
|
|
|
portal:
|
2023-04-11 06:07:17 -04:00
|
|
|
open:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
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: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
DB_DRIVER: "postgres"
|
|
|
|
DB_USER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
DB_NAME: "{{ .Values.cnpg.main.database }}"
|
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
REDIS_SERVERS:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
|
|
key: url
|