133 lines
4.1 KiB
YAML
133 lines
4.1 KiB
YAML
## This chart relies on the common library chart from bjw-s
|
|
## You can find it and the values you can provide and modify, at https://github.com/bjw-s/helm-charts/tree/a081de53024d8328d1ae9ff7e4f6bc500b0f3a29/charts/library/common
|
|
## Here's the link to the values.yaml file: https://github.com/bjw-s/helm-charts/blob/a081de53024d8328d1ae9ff7e4f6bc500b0f3a29/charts/library/common/values.yaml
|
|
## Refer there for more detail about the supported values.
|
|
## Any values that you find in the above `values.yaml` can be provided to this chart and are then rendered.
|
|
|
|
# These environment variables are shared between all the vikunja components
|
|
env:
|
|
VIKUNJA_REDIS_HOST: '{{ printf "%s-redis-master" .Release.Name }}'
|
|
VIKUNJA_REDIS_DB: "{{ .Release.Name }}"
|
|
VIKUNJA_DATABASE_HOST: "{{ .Release.Name }}-postgresql"
|
|
VIKUNJA_DATABASE_USER: "{{ .Values.postgresql.global.postgresql.auth.username }}"
|
|
VIKUNJA_DATABASE_DATABASE: "{{ .Values.postgresql.global.postgresql.auth.database }}"
|
|
# -- You should provide your own secret outside of this helm-chart and use `postgresql.global.postgresql.auth.existingSecret` to provide credentials to the postgresql instance
|
|
VIKUNJA_DATABASE_PASSWORD: "{{ .Values.postgresql.global.postgresql.auth.password }}"
|
|
VIKUNJA_TYPESENSE_APIKEY: "{{ .Values.typesense.env.TYPESENSE_API_KEY }}"
|
|
VIKUNJA_TYPESENSE_URL: '{{ printf "%s-typesense" .Release.Name }}'
|
|
VIKUNJA_FRONTEND_URL: '{{ printf "http://%s-frontend" .Release.Name }}'
|
|
VIKUNJA_API_URL: '{{ .Values.backened.ingress.main.hosts[0].host }}'
|
|
|
|
image:
|
|
tag: 0.21.0
|
|
|
|
storage:
|
|
persistence:
|
|
|
|
# Automatically creating the library volume is not supported by this chart
|
|
# You have to specify an existing PVC to use
|
|
existingClaim:
|
|
|
|
######################
|
|
# VIKUNJA COMPONENTS #
|
|
######################
|
|
frontend:
|
|
enabled: true
|
|
# https://github.com/bjw-s/helm-charts/blob/a081de53024d8328d1ae9ff7e4f6bc500b0f3a29/charts/library/common/values.yaml#L63-L69
|
|
image:
|
|
repository: vikunja/frontend
|
|
pullPolicy: IfNotPresent
|
|
# https://github.com/bjw-s/helm-charts/blob/a081de53024d8328d1ae9ff7e4f6bc500b0f3a29/charts/library/common/values.yaml#L393-L436
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
annotations:
|
|
# proxy-body-size is set to 0 to remove the body limit on file uploads
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
|
hosts:
|
|
- host: vikunja.local
|
|
paths:
|
|
- path: "/"
|
|
tls: []
|
|
|
|
api:
|
|
enabled: true
|
|
image:
|
|
repository: vikunja/api
|
|
pullPolicy: IfNotPresent
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
# existingClaim: # your-claim
|
|
accessMode: ReadWriteOnce
|
|
size: 10Gi
|
|
# storageClass: storage-class
|
|
ingress:
|
|
main:
|
|
enabled: false
|
|
annotations:
|
|
# proxy-body-size is set to 0 to remove the body limit on file uploads
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
|
hosts:
|
|
- host: vikunja.local
|
|
paths:
|
|
- path: "/api"
|
|
tls: []
|
|
|
|
##########################
|
|
# END VIKUNJA COMPONENTS #
|
|
##########################
|
|
|
|
|
|
# Optional Dependencies
|
|
postgresql:
|
|
enabled: true
|
|
global:
|
|
postgresql:
|
|
auth:
|
|
username: vikunja
|
|
database: vikunja
|
|
password: vikunja
|
|
|
|
redis:
|
|
enabled: false
|
|
architecture: standalone
|
|
auth:
|
|
enabled: false
|
|
|
|
typesense:
|
|
enabled: true
|
|
env:
|
|
TYPESENSE_DATA_DIR: /data
|
|
TYPESENSE_API_KEY: typesense
|
|
persistence:
|
|
data:
|
|
# Enabling typesense persistence is recommended to avoid slow reindexing
|
|
enabled: true
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
# storageClass: storage-class
|
|
|
|
image:
|
|
repository: docker.io/typesense/typesense
|
|
tag: 0.25.1
|
|
pullPolicy: IfNotPresent
|
|
|
|
# https://github.com/bjw-s/helm-charts/blob/a081de53024d8328d1ae9ff7e4f6bc500b0f3a29/charts/library/common/values.yaml#L85-L94
|
|
serviceAccount:
|
|
# -- Specifies whether a service account should be created
|
|
create: false
|
|
|
|
# -- Annotations to add to the service account
|
|
annotations: {}
|
|
|
|
# -- Labels to add to the service account
|
|
labels: {}
|
|
|
|
# -- The name of the service account to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name: ""
|
|
|
|
|
|
|