70 lines
1.5 KiB
YAML
70 lines
1.5 KiB
YAML
|
image:
|
||
|
repository: tccr.io/truecharts/chevereto
|
||
|
pullPolicy: IfNotPresent
|
||
|
tag: v1.6.2@sha256:cdc290aec4bec537d50b7ec97587691f1115ba0d4ffbe78956c4a37b9f565c85
|
||
|
|
||
|
securityContext:
|
||
|
runAsNonRoot: false
|
||
|
readOnlyRootFilesystem: false
|
||
|
|
||
|
podSecurityContext:
|
||
|
runAsUser: 0
|
||
|
runAsGroup: 0
|
||
|
fsGroup: 33
|
||
|
|
||
|
env:
|
||
|
CHEVERETO_DB_DRIVER: mysql
|
||
|
CHEVERETO_DB_NAME: "{{ .Values.mariadb.mariadbUsername }}"
|
||
|
CHEVERETO_DB_USER: "{{ .Values.mariadb.mariadbDatabase }}"
|
||
|
CHEVERETO_DB_PORT: "3306"
|
||
|
CHEVERETO_TAG: "free"
|
||
|
CHEVERETO_DB_HOST:
|
||
|
secretKeyRef:
|
||
|
name: mariadbcreds
|
||
|
key: plainporthost
|
||
|
CHEVERETO_DB_PASS:
|
||
|
secretKeyRef:
|
||
|
name: mariadbcreds
|
||
|
key: mariadb-password
|
||
|
|
||
|
envFrom:
|
||
|
- configMapRef:
|
||
|
name: '{{ include "tc.common.names.fullname" . }}-chevereto'
|
||
|
|
||
|
chevereto:
|
||
|
https: false
|
||
|
disable_update_http: true
|
||
|
disable_update_cli: true
|
||
|
|
||
|
configmap:
|
||
|
chevereto:
|
||
|
enabled: true
|
||
|
data:
|
||
|
CHEVERETO_HTTPS: '{{ ternary "1" "0" .Values.chevereto.https }}'
|
||
|
CHEVERETO_DISABLE_UPDATE_HTTP: '{{ ternary "1" "0" .Values.chevereto.disable_update_http }}'
|
||
|
CHEVERETO_DISABLE_UPDATE_CLI: '{{ ternary "1" "0" .Values.chevereto.disable_update_cli }}'
|
||
|
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
targetPort: 80
|
||
|
port: 10197
|
||
|
|
||
|
persistence:
|
||
|
storage:
|
||
|
enabled: true
|
||
|
mountPath: "/var/www/html/images/"
|
||
|
content:
|
||
|
enabled: true
|
||
|
mountPath: "/var/www/html/content/"
|
||
|
|
||
|
mariadb:
|
||
|
enabled: true
|
||
|
mariadbUsername: chevereto
|
||
|
mariadbDatabase: chevereto
|
||
|
existingSecret: "mariadbcreds"
|
||
|
|
||
|
portal:
|
||
|
enabled: true
|