charts/wekan/values.home.yaml
2024-02-09 22:55:39 +08:00

151 lines
3.5 KiB
YAML

# ------------------------------------------------------------------------------
# Wekan:
# ------------------------------------------------------------------------------
## Define platform where helm chart is deployed (set to 'openshift' to disable initContainer with chown command)
platform: kubernetes
## Define serviceAccount names to create or use. Defaults to component's fully
## qualified name.
##
serviceAccounts:
create: true
name: ""
annotations: ""
## Wekan image configuration
##
image:
repository: ghcr.io/wekan/wekan
tag: v7.30
pullPolicy: IfNotPresent
## Configuration for wekan component
##
replicaCount: 1
dbname: wekan
## Specify additional environmental variables for the Deployment
##
env:
- name: ""
value: ""
# Additional environment variables for Wekan mapped from Secret or ConfigMap
extraEnvFrom: ""
# extraEnvFrom: |
# - secretRef:
# name: "{{ template "wekan.fullname" $ }}-test-secret"
## Specify additional secret environmental variables for the
## Deployment. These can e.g. be provided by a Secret and allow
## to store passwords separately
##
secretEnv: {}
# - name: ""
## value: ""
service:
type: ClusterIP
port: 8080
annotations: {}
prometheus.io/scrape: "true"
prometheus.io/port: "8000"
prometheus.io/path: "/_/monitoring/metrics"
## Comma-separated string of allowed virtual hosts for external access.
## This should match the ingress hosts
##
endpoint: wekan.wekan,kan.k8s.ipa.champion,kan.ervine.cloud,wekan.local
## Main URL (including http:// or https://) where your Wekan
## instance is accessible
##
root_url: https://kan.ervine.cloud
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
path: /
pathtype: ImplementationSpecific
# This must match 'endpoint', unless your client supports different
# hostnames.
hosts: [ wekan.local ]
# - wekan.local
tls: []
# - secretName: wekan-example-tls
# hosts:
# - wekan-example.local
route:
enabled: false
resources:
requests:
memory: 128Mi
cpu: 300m
limits:
memory: 1Gi
## Node labels for pod assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector:
location: bedRoom
## Tolerations for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []
## Affinity for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
affinity: {}
## Configure an horizontal pod autoscaler
##
autoscaling:
enabled: true
config:
minReplicas: 1
maxReplicas: 16
## Note: when setting this, a `resources.request.cpu` is required. You
## likely want to set it to `1` or some lower value.
##
targetCPUUtilizationPercentage: 80
# Optional custom labels for the deployment resource.
deploymentLabels: {}
# Optional custom labels for the pods created by the deployment.
podLabels: {}
sharedDataFolder:
enabled: true
path: /data
accessMode: ReadWriteOnce
storageClass:
resources:
requests:
storage: 5Gi
extraDeploy: []
# ------------------------------------------------------------------------------
# MongoDB:
# ref: https://github.com/bitnami/charts/blob/master/bitnami/mongodb/values.yaml
# ------------------------------------------------------------------------------
mongodb:
enabled: true
architecture: replicaset
replicaCount: 1
replicaSetName: rs0
auth:
enabled: false
# Optional specify an existing PVC
persistence:
existingClaim: "wekan-mongodb"