2024-02-24 08:37:57 +00:00
|
|
|
image:
|
2024-03-06 12:03:23 +00:00
|
|
|
repository: shlinkio/shlink
|
2024-02-24 08:37:57 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2024-04-16 17:01:19 +00:00
|
|
|
tag: 4.1.0@sha256:8d10f298eef0b3e4c649572c671c873f2bbb800c733717fe52b66dc5cfe0526d
|
2024-02-24 08:37:57 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2024-03-06 12:03:23 +00:00
|
|
|
port: 10153
|
2024-02-24 08:37:57 +00:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
2024-03-06 12:03:23 +00:00
|
|
|
user: shlink
|
|
|
|
database: shlink
|
2024-02-24 08:37:57 +00:00
|
|
|
redis:
|
|
|
|
enabled: true
|
2024-04-10 16:44:42 +00:00
|
|
|
includeCommon: true
|
2024-03-06 12:03:23 +00:00
|
|
|
redisUsername: "default"
|
2024-02-24 08:37:57 +00:00
|
|
|
portal:
|
|
|
|
open:
|
2024-03-06 12:03:23 +00:00
|
|
|
enabled: false
|
2024-02-24 08:37:57 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
2024-03-06 12:03:23 +00:00
|
|
|
readOnlyRootFilesystem: false
|
2024-02-24 08:37:57 +00:00
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
2024-03-06 12:03:23 +00:00
|
|
|
path: "/rest/health"
|
2024-02-24 08:37:57 +00:00
|
|
|
readiness:
|
2024-03-06 12:03:23 +00:00
|
|
|
path: "/rest/health"
|
2024-02-24 08:37:57 +00:00
|
|
|
startup:
|
2024-03-06 12:03:23 +00:00
|
|
|
path: "/rest/health"
|
2024-02-24 08:37:57 +00:00
|
|
|
env:
|
2024-03-06 12:03:23 +00:00
|
|
|
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"
|
2024-02-24 08:37:57 +00:00
|
|
|
DB_USER: "{{ .Values.cnpg.main.user }}"
|
2024-03-06 12:03:23 +00:00
|
|
|
DB_NAME: "{{ .Values.cnpg.main.database }}"
|
|
|
|
DB_PASSWORD:
|
2024-02-24 08:37:57 +00:00
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
2024-03-06 12:03:23 +00:00
|
|
|
DB_HOST:
|
2024-02-24 08:37:57 +00:00
|
|
|
secretKeyRef:
|
2024-03-06 12:03:23 +00:00
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
REDIS_SERVERS:
|
2024-02-24 08:37:57 +00:00
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
2024-03-06 12:03:23 +00:00
|
|
|
key: url
|