Add wekan chart

This commit is contained in:
2024-02-09 22:55:39 +08:00
parent b9e633bce1
commit d8d75be4be
19 changed files with 428 additions and 109 deletions
+60 -27
View File
@@ -1,6 +1,8 @@
# ------------------------------------------------------------------------------
# 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.
@@ -13,20 +15,15 @@ serviceAccounts:
## Wekan image configuration
##
image:
repository: quay.io/wekan/wekan
tag: latest
repository: ghcr.io/wekan/wekan
tag: v7.30
pullPolicy: IfNotPresent
## Configuration for wekan component
##
replicaCount: 1
## Specify wekan credentials
##
credentials:
accessKey: access-key
secretKey: secret-key
dbname: wekan
## Specify additional environmental variables for the Deployment
##
@@ -34,25 +31,45 @@ 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: 80
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8000"
prometheus.io/path: "/_/monitoring/metrics"
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
endpoint: wekan.local
## Main URL (including http:// or https://) where your Wekan
## instance is accessible
##
root_url: https://wekan.local
ingress:
enabled: false
enabled: true
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
path: /*
path: /
pathtype: ImplementationSpecific
# This must match 'endpoint', unless your client supports different
# hostnames.
hosts: [ wekan.local ]
@@ -76,8 +93,7 @@ resources:
## Node labels for pod assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector:
location: bedRoom
nodeSelector: {}
## Tolerations for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
@@ -95,23 +111,40 @@ autoscaling:
enabled: true
config:
minReplicas: 1
maxReplicas: 4
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-replicaset:
mongodb:
enabled: true
replicas: 1
architecture: replicaset
replicaCount: 3
replicaSetName: rs0
securityContext:
runAsUser: 1000
fsGroup: 1000
runAsNonRoot: true
#image:
# tag: 3.2.21
auth:
enabled: false
# Optional specify an existing PVC
persistence:
existingClaim: ""