helm/values.yaml

189 lines
4.5 KiB
YAML

---
## Docker image configuration, used for Mediawiki.
##
image:
repository: coreharbor.kubernetes.midnightthoughts.space/mediawiki/miki
## Tag to override with, will default to the application version.
##
tag: 'latest'
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# pullSecrets:
# - myRegistryKeySecretName
## Override part of the installed name, will still keep release name.
##
# nameOverride: ""
## Override the full name of the installed chart.
##
# fullnameOverride: ""
## This is required for correct setup of sitemaps
wiki_id: "example_wiki"
## LocalSettings.php
local_settings: |
<?php ... (FILL IN)
## This configuration is for the internal Redis.
##
redis:
enabled: true
auth:
enabled: true
# XXX Change me!
password: mediawiki
## Or use existing secret with "redis-password" key
## instead of static password
##
# existingSecret: redis-secret
architecture: replication
master:
persistence:
# Persistence is not needed by mediawiki
enabled: false
service:
port: 6379
statefulset:
updateStrategy: RollingUpdate
## This configuration is for the internal MariaDB.
##
mariadb:
enabled: true
architecture: replication
auth:
database: mediawiki
username: mediawiki
# XXX Change me!
password: mediawiki
primary:
persistence:
enabled: true
persistence:
enabled: true
# existingClaim: wiki-data
# storageClass: "-"
size: 10Gi
elasticsearch:
enabled: true
image:
registry: docker.io
repository: bitnami/elasticsearch
tag: 7.10.2
## @param plugins Comma, semi-colon or space separated list of plugins to install at initialization
## ref: https://github.com/bitnami/containers/tree/main/bitnami/elasticsearch#environment-variables
##
plugins: "org.wikimedia.search:extra:7.10.2-wmf4,org.wikimedia.search:extra:7.10.2-wmf4,org.wikimedia.search:extra:7.10.2-wmf4,org.wikimedia.search:extra:7.10.2-wmf4,org.wikimedia.search:extra:7.10.2-wmf4,org.wikimedia.search:extra:7.10.2-wmf4,org.wikimedia.search:extra:7.10.2-wmf4,org.wikimedia.search.highlighter:experimental-highlighter-elasticsearch-plugin:7.10.2"
## Since we will have this only for search and per instance we dont need this to be scaled up much. We can easily scale up later as well
master:
replicaCount: 1
data:
replicaCount: 1
coordinating:
replicaCount: 1
ingest:
replicaCount: 1
## We only need it for internal use
ingress:
enabled: false
## Additional volumes to mount into the Wiki
##
extraVolumes: []
extraVolumeMounts: []
# - name: example-volume
# mountPath: /opt/example-plugin
## Resources to apply to the wiki pod.
##
resources: {}
# limits:
# cpu: 1000m
# memory: 2500Mi
# requests:
# cpu: 1000m
# memory: 2500Mi
## Node selectors to set for the wiki pod.
##
nodeSelector: {}
## Tolerations to set for the wiki pod.
##
tolerations: []
## Affinity to set for the wiki pod.
##
affinity: {}
replicas: 1
## Since replicas = 1, an update can get "stuck", as the previous pod remains attached to the
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
## terminate the single previous pod, so that the new, incoming pod can attach to the PV
##
strategy:
type: RollingUpdate
## Annotations to apply to the main Synapse pod.
##
annotations: {}
## Labels to apply to the wiki pod.
##
labels: {}
## Configuration for the pod security policy.
##
podSecurityContext: {}
# fsGroup: 666
# runAsGroup: 666
# runAsUser: 666
## Configuration for the container security policy, refer to the above
## podSecurityContext for more relevant information.
##
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 666
## The K8s ingress configuration.
ingress:
enabled: true
## Annotations to apply to the created ingress resource.
##
annotations: {}
## TLS configuration to include in the ingress configuration
##
tls: []
# - secretName: chart-example-tls
# hosts:
# - wiki.example.com
## Set the name of the IngressClass cluster resource (optional)
## https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/#IngressSpec
# className: can-be-anything
## The hostname to listen at.
hostname: wiki.example.com
## Additional hosts to listen on:
extraHosts: []