63 lines
1.6 KiB
YAML
63 lines
1.6 KiB
YAML
|
image:
|
||
|
repository: shlinkio/shlink
|
||
|
pullPolicy: IfNotPresent
|
||
|
tag: 4.1.0@sha256:8d10f298eef0b3e4c649572c671c873f2bbb800c733717fe52b66dc5cfe0526d
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 10153
|
||
|
cnpg:
|
||
|
main:
|
||
|
enabled: true
|
||
|
user: shlink
|
||
|
database: shlink
|
||
|
redis:
|
||
|
enabled: true
|
||
|
includeCommon: true
|
||
|
redisUsername: "default"
|
||
|
portal:
|
||
|
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
|