2024-06-01 18:19:15 +00:00
|
|
|
image:
|
|
|
|
repository: inovector/mixpost
|
|
|
|
pullPolicy: IfNotPresent
|
2024-07-26 12:21:30 +00:00
|
|
|
tag: v1.7.1@sha256:9b0761473f8f5f79ea0077722070f4268bd5c8c2b9e8b147acc03ec29e3a5d20
|
2024-06-01 18:19:15 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
targetPort: 80
|
|
|
|
port: 80
|
|
|
|
persistence:
|
|
|
|
storage:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/var/www/html/storage/app"
|
|
|
|
logs:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/var/www/html/storage/logs"
|
|
|
|
varrun:
|
2024-06-02 00:16:18 +00:00
|
|
|
enabled: false
|
2024-06-01 18:19:15 +00:00
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
mariadbUsername: mixpost
|
|
|
|
mariadbDatabase: mixpost
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
redisUsername: default
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
type: tcp
|
|
|
|
startup:
|
|
|
|
type: tcp
|
|
|
|
readiness:
|
|
|
|
type: tcp
|
|
|
|
env:
|
|
|
|
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
|
|
key: plainhost
|
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
|
|
key: mariadb-password
|
|
|
|
REDIS_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
|
|
key: plainhost
|
|
|
|
REDIS_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
|
|
key: redis-password
|