2023-05-28 09:15:42 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: beromir/servas
|
2023-05-28 09:15:42 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-12-25 00:48:30 +00:00
|
|
|
tag: 0.0.7@sha256:0fedba911b428f5fbb34104f5fd0413341ffff38d9c4429a3f3e45da82a5751e
|
2023-05-28 09:15:42 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
2023-08-29 17:08:45 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
protocol: http
|
|
|
|
targetPort: 80
|
|
|
|
port: 11080
|
2023-05-28 09:15:42 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/"
|
|
|
|
type: http
|
|
|
|
readiness:
|
|
|
|
path: "/"
|
|
|
|
type: http
|
|
|
|
startup:
|
|
|
|
path: "/"
|
|
|
|
type: http
|
|
|
|
env:
|
|
|
|
APP_NAME: Servas
|
|
|
|
APP_KEY:
|
|
|
|
secretKeyRef:
|
2023-08-29 17:08:45 +00:00
|
|
|
name: servas-secrets
|
2023-05-28 09:15:42 +00:00
|
|
|
key: APP_KEY
|
|
|
|
APP_ENV: production
|
2023-08-29 17:08:45 +00:00
|
|
|
APP_DEBUG: false
|
2023-05-28 09:15:42 +00:00
|
|
|
# APP_URL: "http://localhost:{{ .Values.service.main.ports.main.port }}"
|
|
|
|
SERVAS_ENABLE_REGISTRATION: true
|
|
|
|
DB_CONNECTION: mysql
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
|
|
key: plainhost
|
|
|
|
DB_PORT: 3306
|
|
|
|
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
|
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
|
|
key: mariadb-password
|
|
|
|
persistence:
|
|
|
|
nginx:
|
|
|
|
enabled: true
|
2023-08-29 17:08:45 +00:00
|
|
|
mountPath: "/var/run/nginx"
|
|
|
|
type: emptyDir
|
2023-05-28 09:15:42 +00:00
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
mariadbUsername: servas
|
|
|
|
mariadbDatabase: servas
|
2023-08-29 17:08:45 +00:00
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|