charts/charts/matrix-media-repo/values.yaml
2020-08-14 11:01:18 +02:00

181 lines
3.9 KiB
YAML

---
## Number of replicas for the media repo
##
replicaCount: 1
## Image configuration for the media repo
##
image:
repository: turt2live/matrix-media-repo
pullPolicy: IfNotPresent
# tag: ""
imagePullSecrets: []
# nameOverride: ""
# fullnameOverride: ""
## Global configuration.
## Ref: https://github.com/turt2live/matrix-media-repo/blob/master/config.sample.yaml
##
config:
datastores:
- type: file
enabled: true
forKinds: ["thumbnails", "remote_media", "local_media", "archives"]
opts:
path: /media
#
# - type: s3
# enabled: true
# forKinds: ["thumbnails", "remote_media", "local_media", "archives"]
# opts:
# tempPath: "/tmp/mediarepo_s3_upload"
# endpoint: sfo2.digitaloceanspaces.com
# accessKeyId: ""
# accessSecret: ""
# ssl: true
# bucketName: "your-media-bucket"
# region: "sfo2"
#
# admins:
# - "@user:example.org"
#
# featureSupport:
# MSC2448:
# enabled: true
## For setting extra parameters on the repo block, separated to avoid breaking
## the defaults when merging multiple configurations.
## Ref: https://github.com/turt2live/matrix-media-repo/blob/master/config.sample.yaml#L1-L22
##
extraRepo: {}
# useForwardedHost: false
## Per-domain configuration.
## Ref: https://github.com/turt2live/matrix-media-repo/blob/master/docs/config.md
##
homeservers: {}
# example.org:
# csApi: 'https://example.org'
# backoffAt: 10
# adminApiKind: 'matrix'
# identicons:
# enabled: false
## Media persistence, mounted in the pod as /media.
## Can be disabled if no datastore uses it.
##
persistence:
enabled: true
# existingClaim: matrix-media-repo
# storageClass: "-"
accessMode: ReadWriteOnce
size: 16Gi
## This configuration is for setting up the internally provided Postgres server,
## if you instead want to use an existing server, then you may want to set
## enabled to false and configure the externalPostgresql block.
##
postgresql:
enabled: true
postgresqlUsername: matrix_media_repo
postgresqlDatabase: matrix_media_repo
persistence:
size: 16G
## An externally configured Postgres server.
##
externalPostgresql:
# host: postgres
port: 5432
username: matrix_media_repo
# password:
database: matrix_media_repo
# sslMode: require
## Configures an application-specific service account.
##
serviceAccount:
create: false
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
## Additional annotations to add to the pod.
##
podAnnotations: {}
## Security context configuration to add to the pod.
##
podSecurityContext: {}
# fsGroup: 2000
## Security context configuration to add to the container inside the pod.
##
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
## Service configuration.
##
service:
type: ClusterIP
port: 80
## Ingress configuration.
##
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: []
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
## Resource configuration for the application.
##
resources: {}
# limits:
# cpu: 250m
# memory: 512Mi
# requests:
# cpu: 250m
# memory: 512Mi
## Configure auto-scaling for the application.
## NB; Make sure to read all relevant documentation before playing with this.
##
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 4
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
## Node selectors to use when deploying the application.
##
nodeSelector: {}
## Tolerations to apply to the application.
##
tolerations: []
## Affinities to set on the application.
##
affinity: {}