2024-06-01 18:19:15 +00:00
|
|
|
image:
|
|
|
|
repository: inovector/mixpost
|
|
|
|
pullPolicy: IfNotPresent
|
2024-08-16 18:30:35 +00:00
|
|
|
tag: v1.7.2@sha256:5abbc9e2bfb80b6cee07a8dd6584b4e10ca97d974f75e8bc26443554b54cf9d1
|
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
|