50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
image:
|
|
repository: seafileltd/seafile-mc
|
|
tag: 11.0.2@sha256:c4637b24b87f29dabb886e41f5a7563ae289091168578e85d20a7c4026a263c3
|
|
pullPolicy: IfNotPresent
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 13080
|
|
protocol: http
|
|
targetPort: 80
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
expandObjectName: false
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
key: plainhost
|
|
DB_ROOT_PASSWD:
|
|
secretKeyRef:
|
|
expandObjectName: false
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
key: mariadb-root-password
|
|
SEAFILE_SERVER_LETSENCRYPT: false
|
|
SEAFILE_SERVER_HOSTNAME: "{{ if .Values.ingress }}{{ if .Values.ingress.main.enabled }}{{ ( index .Values.ingress.main.hosts 0 ).host }}{{ else }}placeholder.com{{ end }}{{ else }}placeholder.com{{ end }}"
|
|
SEAFILE_ADMIN_EMAIL: me@example.com
|
|
SEAFILE_ADMIN_PASSWORD: a_very_secret_password
|
|
FORCE_HTTPS_IN_CONF: false
|
|
persistence:
|
|
storage:
|
|
enabled: true
|
|
mountPath: "/shared/seafile"
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: seafile
|
|
mariadbDatabase: seafile
|
|
portal:
|
|
open:
|
|
enabled: true
|