From 78821790876347e0b540ed5b8824f1878eec475b Mon Sep 17 00:00:00 2001 From: perf3ct Date: Thu, 28 Sep 2023 10:50:49 -0700 Subject: [PATCH] create new values file --- values.yaml | 368 ++++++++++-------------------------------------- values.yaml.old | 313 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 391 insertions(+), 290 deletions(-) create mode 100644 values.yaml.old diff --git a/values.yaml b/values.yaml index bb89c14..a5a695f 100644 --- a/values.yaml +++ b/values.yaml @@ -1,313 +1,101 @@ -# ┐ ┬o┬┌ ┬ ┐┌┐┐ ┬┬─┐ -# │┌┘│├┴┐│ ││││┌ ││─┤ -# └┘ ┘┘ ┘┘─┘┘└┘└─┘┘ ┘ +## This chart relies on the common library chart from bjw-s +## You can find it at https://github.com/bjw-s/helm-charts/tree/main/charts/library/common +## Refer there for more detail about the supported values -nameOverride: "" -fullnameOverride: "" +# These entries are shared between all the vikunja components -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # Extra labels - extraLabels: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "" +env: + REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}' + DB_HOSTNAME: "{{ .Release.Name }}-postgresql" + DB_USERNAME: "{{ .Values.postgresql.global.postgresql.auth.username }}" + DB_DATABASE_NAME: "{{ .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 + DB_PASSWORD: "{{ .Values.postgresql.global.postgresql.auth.password }}" + TYPESENSE_ENABLED: "{{ .Values.typesense.enabled }}" + TYPESENSE_API_KEY: "{{ .Values.typesense.env.TYPESENSE_API_KEY }}" + TYPESENSE_HOST: '{{ printf "%s-typesense" .Release.Name }}' + VIKUNJA_FRONTEND_URL: '{{ printf "http://%s-web:3000" .Release.Name }}' + VIKUNJA_API_URL: '{{ printf "http://%s-server:3001" .Release.Name }}' -# Extra labels that will be added to all resources -extraLabels: {} +image: + tag: v1.69.0 -# ┬─┐┬─┐┌─┐┌┐┐┌┐┐┬─┐┌┐┐┬─┐ -# ├─ │┬┘│ ││││ │ ├─ ││││ │ -# ┘ ┘└┘┘─┘┘└┘ ┘ ┴─┘┘└┘┘─┘ +vikunja: + persistence: + # Main data store for all photos shared between different components. + library: + # Automatically creating the library volume is not supported by this chart + # You have to specify an existing PVC to use + existingClaim: +# vikunja components frontend: - # Public API URL that client's browser will reach - apiUrl: "" - - replicaCount: 1 - + enabled: true image: - repository: vikunja/frontend + repository: ghcr.io/vikunja-app/vikunja-server pullPolicy: IfNotPresent - # Overrides the image tag whose default is the chart appVersion. - tag: "" - - podSecurityContext: {} - # fsGroup: 1000 - - securityContext: - allowPrivilegeEscalation: false - runAsUser: 101 # nginx - capabilities: - drop: - - ALL - add: - - NET_BIND_SERVICE - - - service: - type: ClusterIP - port: 80 - # If you want to set other fields, like externalName, externalTrafficPolicy, etc. - extraSpec: {} - ingress: - enabled: false - className: "" - annotations: {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - hosts: - - host: chart-example.local - paths: - - path: / - pathType: ImplementationSpecific - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - - resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - # targetMemoryUtilizationPercentage: 80 - - initContainers: [] - - sidecarContainers: [] - - # Extra keys to set in deployment.spec. - # Useful if you want to set minReadySeconds, progressDeadlineSeconds, strategy - extraDeploymentSpec: {} - - pdb: - enabled: false - # maxUnavailable: 50% - minAvailable: 50% - - imagePullSecrets: [] - - podAnnotations: {} - - nodeSelector: {} - - tolerations: [] - - affinity: {} - - extraVolumes: [] - - extraVolumeMounts: [] - - livenessProbe: {} - # httpGet: - # path: /ready - # port: http - readinessProbe: {} - # httpGet: - # path: /ready - # port: http - startupProbe: {} - # httpGet: - # path: / - # port: http - - env: {} - - envFrom: {} - -# ┬─┐┬─┐o -# │─┤│─┘│ -# ┘ ┘┘ ┘ + 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: "/" + tls: [] api: - # Values for this config are described here https://vikunja.io/docs/config-options/ - config: - service: - JWTSecret: "" - interface: ":3456" - frontendurl: "" - enableregistration: false - timezone: GMT - database: - type: sqlite - path: /sqlite/vikunja.db - cache: - enabled: true - type: redis - redis: - enabled: false - host: "" - password: "" - db: 0 - cors: - enable: false - origins: [] - mailer: - enabled: false - log: - path: null - files: - basepath: /files - defaultsettings: - avatar_provider: gravatar - discoverable_by_name: true - discoverable_by_email: true - week_start: 1 - + enabled: true + env: + REVERSE_GEOCODING_DUMP_DIRECTORY: /geodata-cache persistence: - enabled: false - # Specifies whether a PVC should be created - create: true - # The name of the PVC to use. - # If not set and create is true, a name is generated using the fullname template - name: "" - spec: {} - # accessModes: ["ReadWriteOnce"] - # resources: - # requests: - # storage: 1Gi - # storageClassName: openebs-hostpath - - replicaCount: 1 - + geodata-cache: + enabled: true + size: 1Gi + # Optional: Set this to pvc to avoid downloading the geodata every start. + type: emptyDir + accessMode: ReadWriteMany + # storageClass: your-class image: - repository: vikunja/api + repository: ghcr.io/vikunja-app/vikunja-server pullPolicy: IfNotPresent - # Overrides the image tag whose default is the chart appVersion. - tag: "" - securityContext: - capabilities: - add: [CAP_CHOWN] - # readOnlyRootFilesystem: true - # runAsNonRoot: true - # runAsUser: 1000 +# Dependencies +postgresql: + enabled: false + global: + postgresql: + auth: + username: vikunja + database: vikunja + password: vikunja - service: - type: ClusterIP - port: 80 - # If you want to set other fields, like externalName, externalTrafficPolicy, etc. - extraSpec: {} - - ingress: +redis: + enabled: false + architecture: standalone + auth: enabled: false - className: "" - annotations: {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - hosts: - - host: chart-example.local - paths: - - path: / - pathType: ImplementationSpecific - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi +typesense: + enabled: false + env: + TYPESENSE_DATA_DIR: /tsdata + TYPESENSE_API_KEY: typesense + persistence: + tsdata: + # Enabling typesense persistence is recommended to avoid slow reindexing + enabled: false + accessMode: ReadWriteOnce + size: 1Gi + # storageClass: storage-class + image: + repository: docker.io/typesense/typesense + tag: 0.24.0 + pullPolicy: IfNotPresent - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - # targetMemoryUtilizationPercentage: 80 - initContainers: [] - sidecarContainers: [] - # Extra keys to set in deployment.spec. - # Useful if you want to set minReadySeconds, progressDeadlineSeconds, strategy - extraDeploymentSpec: {} - pdb: - enabled: false - # maxUnavailable: 50% - minAvailable: 50% - - imagePullSecrets: [] - - podAnnotations: {} - - podSecurityContext: {} - # fsGroup: 1000 - - nodeSelector: {} - - tolerations: [] - - affinity: {} - - extraVolumes: [] - - extraVolumeMounts: [] - - livenessProbe: {} - # httpGet: - # path: /ready - # port: http - readinessProbe: {} - # httpGet: - # path: /ready - # port: http - startupProbe: {} - # httpGet: - # path: / - # port: http - - env: {} - - envFrom: {} - -# ┬─┐┌─┐┐─┐┌┐┐┌─┐┬─┐┬─┐┐─┐┐─┐┬ -# │─┘│ │└─┐ │ │ ┬│┬┘├─ └─┐│ ││ -# ┘ ┘─┘──┘ ┘ ┘─┘┘└┘┴─┘──┘└─\┘─┘ - -postgresqlEnabled: false -# Please refer to PostgreSQL subchart for a full list of possible values -postgresql: {} - -# ┬─┐┬─┐┬─┐o┐─┐ -# │┬┘├─ │ ││└─┐ -# ┘└┘┴─┘┘─┘┘──┘ - -redisEnabled: false -# Please refer to Redis subchart for a full list of possible values -redis: {} - -# ┬─┐┬─┐┐ ┬ -# │┬┘│─┤│││ -# ┘└┘┘ ┘└┴┘ - -# You can create custom resources from the plaintext definition -raw: [] diff --git a/values.yaml.old b/values.yaml.old new file mode 100644 index 0000000..bb89c14 --- /dev/null +++ b/values.yaml.old @@ -0,0 +1,313 @@ +# ┐ ┬o┬┌ ┬ ┐┌┐┐ ┬┬─┐ +# │┌┘│├┴┐│ ││││┌ ││─┤ +# └┘ ┘┘ ┘┘─┘┘└┘└─┘┘ ┘ + +nameOverride: "" +fullnameOverride: "" + +serviceAccount: + # Specifies whether a service account should be created + create: true + # Annotations to add to the service account + annotations: {} + # Extra labels + extraLabels: {} + # The name of the service account to use. + # If not set and create is true, a name is generated using the fullname template + name: "" + +# Extra labels that will be added to all resources +extraLabels: {} + +# ┬─┐┬─┐┌─┐┌┐┐┌┐┐┬─┐┌┐┐┬─┐ +# ├─ │┬┘│ ││││ │ ├─ ││││ │ +# ┘ ┘└┘┘─┘┘└┘ ┘ ┴─┘┘└┘┘─┘ + +frontend: + # Public API URL that client's browser will reach + apiUrl: "" + + replicaCount: 1 + + image: + repository: vikunja/frontend + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "" + + podSecurityContext: {} + # fsGroup: 1000 + + securityContext: + allowPrivilegeEscalation: false + runAsUser: 101 # nginx + capabilities: + drop: + - ALL + add: + - NET_BIND_SERVICE + + + service: + type: ClusterIP + port: 80 + # If you want to set other fields, like externalName, externalTrafficPolicy, etc. + extraSpec: {} + + ingress: + enabled: false + className: "" + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + hosts: + - host: chart-example.local + paths: + - path: / + pathType: ImplementationSpecific + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + + resources: {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + + autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 100 + targetCPUUtilizationPercentage: 80 + # targetMemoryUtilizationPercentage: 80 + + initContainers: [] + + sidecarContainers: [] + + # Extra keys to set in deployment.spec. + # Useful if you want to set minReadySeconds, progressDeadlineSeconds, strategy + extraDeploymentSpec: {} + + pdb: + enabled: false + # maxUnavailable: 50% + minAvailable: 50% + + imagePullSecrets: [] + + podAnnotations: {} + + nodeSelector: {} + + tolerations: [] + + affinity: {} + + extraVolumes: [] + + extraVolumeMounts: [] + + livenessProbe: {} + # httpGet: + # path: /ready + # port: http + readinessProbe: {} + # httpGet: + # path: /ready + # port: http + startupProbe: {} + # httpGet: + # path: / + # port: http + + env: {} + + envFrom: {} + +# ┬─┐┬─┐o +# │─┤│─┘│ +# ┘ ┘┘ ┘ + +api: + # Values for this config are described here https://vikunja.io/docs/config-options/ + config: + service: + JWTSecret: "" + interface: ":3456" + frontendurl: "" + enableregistration: false + timezone: GMT + database: + type: sqlite + path: /sqlite/vikunja.db + cache: + enabled: true + type: redis + redis: + enabled: false + host: "" + password: "" + db: 0 + cors: + enable: false + origins: [] + mailer: + enabled: false + log: + path: null + files: + basepath: /files + defaultsettings: + avatar_provider: gravatar + discoverable_by_name: true + discoverable_by_email: true + week_start: 1 + + persistence: + enabled: false + # Specifies whether a PVC should be created + create: true + # The name of the PVC to use. + # If not set and create is true, a name is generated using the fullname template + name: "" + spec: {} + # accessModes: ["ReadWriteOnce"] + # resources: + # requests: + # storage: 1Gi + # storageClassName: openebs-hostpath + + replicaCount: 1 + + image: + repository: vikunja/api + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "" + + securityContext: + capabilities: + add: [CAP_CHOWN] + # readOnlyRootFilesystem: true + # runAsNonRoot: true + # runAsUser: 1000 + + service: + type: ClusterIP + port: 80 + # If you want to set other fields, like externalName, externalTrafficPolicy, etc. + extraSpec: {} + + ingress: + enabled: false + className: "" + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + hosts: + - host: chart-example.local + paths: + - path: / + pathType: ImplementationSpecific + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + + resources: {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + + autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 100 + targetCPUUtilizationPercentage: 80 + # targetMemoryUtilizationPercentage: 80 + + initContainers: [] + + sidecarContainers: [] + + # Extra keys to set in deployment.spec. + # Useful if you want to set minReadySeconds, progressDeadlineSeconds, strategy + extraDeploymentSpec: {} + + pdb: + enabled: false + # maxUnavailable: 50% + minAvailable: 50% + + imagePullSecrets: [] + + podAnnotations: {} + + podSecurityContext: {} + # fsGroup: 1000 + + nodeSelector: {} + + tolerations: [] + + affinity: {} + + extraVolumes: [] + + extraVolumeMounts: [] + + livenessProbe: {} + # httpGet: + # path: /ready + # port: http + readinessProbe: {} + # httpGet: + # path: /ready + # port: http + startupProbe: {} + # httpGet: + # path: / + # port: http + + env: {} + + envFrom: {} + +# ┬─┐┌─┐┐─┐┌┐┐┌─┐┬─┐┬─┐┐─┐┐─┐┬ +# │─┘│ │└─┐ │ │ ┬│┬┘├─ └─┐│ ││ +# ┘ ┘─┘──┘ ┘ ┘─┘┘└┘┴─┘──┘└─\┘─┘ + +postgresqlEnabled: false +# Please refer to PostgreSQL subchart for a full list of possible values +postgresql: {} + +# ┬─┐┬─┐┬─┐o┐─┐ +# │┬┘├─ │ ││└─┐ +# ┘└┘┴─┘┘─┘┘──┘ + +redisEnabled: false +# Please refer to Redis subchart for a full list of possible values +redis: {} + +# ┬─┐┬─┐┐ ┬ +# │┬┘│─┤│││ +# ┘└┘┘ ┘└┴┘ + +# You can create custom resources from the plaintext definition +raw: []