56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
|
image:
|
||
|
repository: monica
|
||
|
tag: 4.0.0@sha256:f5d1b088249f3e2d2883b322877a63935b6a0ba1ad959ca240f3fc6a477159a1
|
||
|
pullPolicy: IfNotPresent
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 10119
|
||
|
targetPort: 80
|
||
|
persistence:
|
||
|
config:
|
||
|
enabled: true
|
||
|
mountPath: "/var/www/html/storage"
|
||
|
mariadb:
|
||
|
enabled: true
|
||
|
includeCommon: true
|
||
|
mariadbUsername: monica
|
||
|
mariadbDatabase: monica
|
||
|
portal:
|
||
|
open:
|
||
|
enabled: true
|
||
|
securityContext:
|
||
|
container:
|
||
|
readOnlyRootFilesystem: false
|
||
|
runAsNonRoot: false
|
||
|
runAsUser: 0
|
||
|
runAsGroup: 0
|
||
|
workload:
|
||
|
main:
|
||
|
podSpec:
|
||
|
containers:
|
||
|
main:
|
||
|
probes:
|
||
|
liveness:
|
||
|
type: tcp
|
||
|
readiness:
|
||
|
type: tcp
|
||
|
startup:
|
||
|
type: tcp
|
||
|
env:
|
||
|
APP_ENV: production
|
||
|
APP_URL: https://crm.k8s-at-home.com
|
||
|
DB_DATABASE: monica
|
||
|
DB_USERNAME: monica
|
||
|
DB_HOST:
|
||
|
secretKeyRef:
|
||
|
expandObjectName: false
|
||
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
||
|
key: plainhost
|
||
|
DB_PASSWORD: "{{ .Values.mariadb.password }}"
|
||
|
APP_KEY:
|
||
|
secretKeyRef:
|
||
|
name: appkey
|
||
|
key: appkey
|