From 8ad56bdac8d92774e2686612eb1b12aeb8ebcf1b Mon Sep 17 00:00:00 2001 From: Marton Schneider Date: Fri, 24 Nov 2023 15:15:42 +0100 Subject: [PATCH] restructure the repo --- .gitignore | 3 +- README.md | 303 +++++++++ .helmignore => appwrite/.helmignore | 0 Chart.lock => appwrite/Chart.lock | 7 +- Chart.yaml => appwrite/Chart.yaml | 0 .../templates}/_deployment.tpl | 0 .../templates}/_helpers.tpl | 0 .../templates}/_horizontalpodautoscaler.tpl | 0 .../templates}/_ingress.tpl | 0 .../templates}/_networkpolicy.tpl | 0 {templates => appwrite/templates}/_pod.tpl | 5 +- .../templates}/_poddisruptionbudget.tpl | 0 .../templates}/_service.tpl | 0 .../templates}/_statefulset.tpl | 4 +- .../templates}/configmap.yaml | 0 .../templates}/core/core.yaml | 0 .../templates}/core/core_hpa.yaml | 0 .../templates}/core/core_ingress.yaml | 0 .../templates}/core/core_nwp.yaml | 0 .../templates}/core/core_pdb.yaml | 0 .../templates}/core/core_service.yaml | 0 .../templates}/maintenance/maintenance.yaml | 0 .../maintenance/maintenance_hpa.yaml | 0 .../maintenance/maintenance_nwp.yaml | 0 .../maintenance/maintenance_pdb.yaml | 0 .../templates}/namespace.yaml | 0 .../templates}/realtime/realtime.yaml | 0 .../templates}/realtime/realtime_hpa.yaml | 0 .../templates}/realtime/realtime_ingress.yaml | 0 .../templates}/realtime/realtime_nwp.yaml | 0 .../templates}/realtime/realtime_pdb.yaml | 0 .../templates}/realtime/realtime_service.yaml | 0 .../templates}/schedule/schedule.yaml | 0 .../templates}/schedule/schedule_hpa.yaml | 0 .../templates}/schedule/schedule_nwp.yaml | 0 .../templates}/schedule/schedule_pdb.yaml | 0 {templates => appwrite/templates}/secret.yml | 0 .../templates}/telegraf/telegraf.yaml | 0 .../templates}/telegraf/telegraf_hpa.yaml | 0 .../templates}/telegraf/telegraf_nwp.yaml | 0 .../templates}/telegraf/telegraf_pdb.yaml | 0 .../templates}/usage/usage.yaml | 0 .../templates}/usage/usage_hpa.yaml | 0 .../templates}/usage/usage_nwp.yaml | 0 .../templates}/usage/usage_pdb.yaml | 0 .../templates}/worker/audits/audits.yaml | 0 .../templates}/worker/audits/audits_hpa.yaml | 0 .../templates}/worker/audits/audits_nwp.yaml | 0 .../templates}/worker/audits/audits_pdb.yaml | 0 .../templates}/worker/builds/builds.yaml | 0 .../templates}/worker/builds/builds_hpa.yaml | 0 .../templates}/worker/builds/builds_nwp.yaml | 0 .../templates}/worker/builds/builds_pdb.yaml | 0 .../worker/certificates/certificates.yaml | 0 .../worker/certificates/certificates_hpa.yaml | 0 .../worker/certificates/certificates_nwp.yaml | 0 .../worker/certificates/certificates_pdb.yaml | 0 .../worker/databases/databases.yaml | 0 .../worker/databases/databases_hpa.yaml | 0 .../worker/databases/databases_nwp.yaml | 0 .../worker/databases/databases_pdb.yaml | 0 .../templates}/worker/deletes/deletes.yaml | 0 .../worker/deletes/deletes_hpa.yaml | 0 .../worker/deletes/deletes_nwp.yaml | 0 .../worker/deletes/deletes_pdb.yaml | 0 .../worker/functions/functions.yaml | 0 .../worker/functions/functions_hpa.yaml | 0 .../worker/functions/functions_nwp.yaml | 0 .../worker/functions/functions_pdb.yaml | 0 .../templates}/worker/mails/mails.yaml | 0 .../templates}/worker/mails/mails_hpa.yaml | 0 .../templates}/worker/mails/mails_nwp.yaml | 0 .../templates}/worker/mails/mails_pdb.yaml | 0 .../worker/messaging/messaging.yaml | 0 .../worker/messaging/messaging_hpa.yaml | 0 .../worker/messaging/messaging_nwp.yaml | 0 .../worker/messaging/messaging_pdb.yaml | 0 .../templates}/worker/webhooks/webhooks.yaml | 0 .../worker/webhooks/webhooks_hpa.yaml | 0 .../worker/webhooks/webhooks_nwp.yaml | 0 .../worker/webhooks/webhooks_pdb.yaml | 0 values.yaml => appwrite/values.yaml | 604 +++++++++--------- index.yaml | 35 + 83 files changed, 656 insertions(+), 305 deletions(-) create mode 100644 README.md rename .helmignore => appwrite/.helmignore (100%) rename Chart.lock => appwrite/Chart.lock (55%) rename Chart.yaml => appwrite/Chart.yaml (100%) rename {templates => appwrite/templates}/_deployment.tpl (100%) rename {templates => appwrite/templates}/_helpers.tpl (100%) rename {templates => appwrite/templates}/_horizontalpodautoscaler.tpl (100%) rename {templates => appwrite/templates}/_ingress.tpl (100%) rename {templates => appwrite/templates}/_networkpolicy.tpl (100%) rename {templates => appwrite/templates}/_pod.tpl (96%) rename {templates => appwrite/templates}/_poddisruptionbudget.tpl (100%) rename {templates => appwrite/templates}/_service.tpl (100%) rename {templates => appwrite/templates}/_statefulset.tpl (96%) rename {templates => appwrite/templates}/configmap.yaml (100%) rename {templates => appwrite/templates}/core/core.yaml (100%) rename {templates => appwrite/templates}/core/core_hpa.yaml (100%) rename {templates => appwrite/templates}/core/core_ingress.yaml (100%) rename {templates => appwrite/templates}/core/core_nwp.yaml (100%) rename {templates => appwrite/templates}/core/core_pdb.yaml (100%) rename {templates => appwrite/templates}/core/core_service.yaml (100%) rename {templates => appwrite/templates}/maintenance/maintenance.yaml (100%) rename {templates => appwrite/templates}/maintenance/maintenance_hpa.yaml (100%) rename {templates => appwrite/templates}/maintenance/maintenance_nwp.yaml (100%) rename {templates => appwrite/templates}/maintenance/maintenance_pdb.yaml (100%) rename {templates => appwrite/templates}/namespace.yaml (100%) rename {templates => appwrite/templates}/realtime/realtime.yaml (100%) rename {templates => appwrite/templates}/realtime/realtime_hpa.yaml (100%) rename {templates => appwrite/templates}/realtime/realtime_ingress.yaml (100%) rename {templates => appwrite/templates}/realtime/realtime_nwp.yaml (100%) rename {templates => appwrite/templates}/realtime/realtime_pdb.yaml (100%) rename {templates => appwrite/templates}/realtime/realtime_service.yaml (100%) rename {templates => appwrite/templates}/schedule/schedule.yaml (100%) rename {templates => appwrite/templates}/schedule/schedule_hpa.yaml (100%) rename {templates => appwrite/templates}/schedule/schedule_nwp.yaml (100%) rename {templates => appwrite/templates}/schedule/schedule_pdb.yaml (100%) rename {templates => appwrite/templates}/secret.yml (100%) rename {templates => appwrite/templates}/telegraf/telegraf.yaml (100%) rename {templates => appwrite/templates}/telegraf/telegraf_hpa.yaml (100%) rename {templates => appwrite/templates}/telegraf/telegraf_nwp.yaml (100%) rename {templates => appwrite/templates}/telegraf/telegraf_pdb.yaml (100%) rename {templates => appwrite/templates}/usage/usage.yaml (100%) rename {templates => appwrite/templates}/usage/usage_hpa.yaml (100%) rename {templates => appwrite/templates}/usage/usage_nwp.yaml (100%) rename {templates => appwrite/templates}/usage/usage_pdb.yaml (100%) rename {templates => appwrite/templates}/worker/audits/audits.yaml (100%) rename {templates => appwrite/templates}/worker/audits/audits_hpa.yaml (100%) rename {templates => appwrite/templates}/worker/audits/audits_nwp.yaml (100%) rename {templates => appwrite/templates}/worker/audits/audits_pdb.yaml (100%) rename {templates => appwrite/templates}/worker/builds/builds.yaml (100%) rename {templates => appwrite/templates}/worker/builds/builds_hpa.yaml (100%) rename {templates => appwrite/templates}/worker/builds/builds_nwp.yaml (100%) rename {templates => appwrite/templates}/worker/builds/builds_pdb.yaml (100%) rename {templates => appwrite/templates}/worker/certificates/certificates.yaml (100%) rename {templates => appwrite/templates}/worker/certificates/certificates_hpa.yaml (100%) rename {templates => appwrite/templates}/worker/certificates/certificates_nwp.yaml (100%) rename {templates => appwrite/templates}/worker/certificates/certificates_pdb.yaml (100%) rename {templates => appwrite/templates}/worker/databases/databases.yaml (100%) rename {templates => appwrite/templates}/worker/databases/databases_hpa.yaml (100%) rename {templates => appwrite/templates}/worker/databases/databases_nwp.yaml (100%) rename {templates => appwrite/templates}/worker/databases/databases_pdb.yaml (100%) rename {templates => appwrite/templates}/worker/deletes/deletes.yaml (100%) rename {templates => appwrite/templates}/worker/deletes/deletes_hpa.yaml (100%) rename {templates => appwrite/templates}/worker/deletes/deletes_nwp.yaml (100%) rename {templates => appwrite/templates}/worker/deletes/deletes_pdb.yaml (100%) rename {templates => appwrite/templates}/worker/functions/functions.yaml (100%) rename {templates => appwrite/templates}/worker/functions/functions_hpa.yaml (100%) rename {templates => appwrite/templates}/worker/functions/functions_nwp.yaml (100%) rename {templates => appwrite/templates}/worker/functions/functions_pdb.yaml (100%) rename {templates => appwrite/templates}/worker/mails/mails.yaml (100%) rename {templates => appwrite/templates}/worker/mails/mails_hpa.yaml (100%) rename {templates => appwrite/templates}/worker/mails/mails_nwp.yaml (100%) rename {templates => appwrite/templates}/worker/mails/mails_pdb.yaml (100%) rename {templates => appwrite/templates}/worker/messaging/messaging.yaml (100%) rename {templates => appwrite/templates}/worker/messaging/messaging_hpa.yaml (100%) rename {templates => appwrite/templates}/worker/messaging/messaging_nwp.yaml (100%) rename {templates => appwrite/templates}/worker/messaging/messaging_pdb.yaml (100%) rename {templates => appwrite/templates}/worker/webhooks/webhooks.yaml (100%) rename {templates => appwrite/templates}/worker/webhooks/webhooks_hpa.yaml (100%) rename {templates => appwrite/templates}/worker/webhooks/webhooks_nwp.yaml (100%) rename {templates => appwrite/templates}/worker/webhooks/webhooks_pdb.yaml (100%) rename values.yaml => appwrite/values.yaml (71%) create mode 100644 index.yaml diff --git a/.gitignore b/.gitignore index 44e9787..10563d6 100644 --- a/.gitignore +++ b/.gitignore @@ -129,4 +129,5 @@ Temporary Items *.orig *.tmp -.idea/ \ No newline at end of file +.idea/ +.cr-*/ \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e80757a --- /dev/null +++ b/README.md @@ -0,0 +1,303 @@ +# appwrite-helm + +![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.4.13](https://img.shields.io/badge/AppVersion-1.4.13-informational?style=flat-square) + +An unofficial Helm chart to deploy Appwrite + +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| Marton Schneider | | | + +## Requirements + +Kubernetes: `>=1.26` + +| Repository | Name | Version | +|------------|------|---------| +| https://charts.bitnami.com/bitnami | influxdb | 5.10.2 | +| https://charts.bitnami.com/bitnami | mariadb | 14.1.2 | +| https://charts.bitnami.com/bitnami | redis | 18.4.0 | + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| clusterDomain | string | `"cluster.local"` | The domain name of the Kubernetes cluster | +| components.core.affinity | object | `{}` | | +| components.core.args | list | `["php","-e","app/http.php","-dopcache.preload=opcache.preload=/usr/src/code/app/preload.php"]` | Startup command arguments for the app | +| components.core.autoscaling | object | `{"behavior":{},"enabled":false,"maxReplicas":5,"minReplicas":1,"targetCPU":"60","targetMemory":""}` | Setup autoscaling to enable HPA (HorizontalPodAutoscaler). To enable autoscaling also need to configure the resource limits | +| components.core.command | list | `["/bin/sh","-c"]` | Startup command for the app | +| components.core.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | | +| components.core.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | | +| components.core.containerSecurityContext.seccompProfile.type | string | `"RuntimeDefault"` | | +| components.core.deploymentStrategy.maxUnavailable | int | `1` | | +| components.core.deploymentStrategy.type | string | `"RollingUpdate"` | | +| components.core.env | bool | `true` | Attach previously defined environment variables to the pod | +| components.core.image | object | `{"pullPolicy":"IfNotPresent","registry":"docker.io","repository":"appwrite/appwrite","tag":"1.4.13"}` | Core (aka Appwrite Studio - WebUI) component's image data | +| components.core.ingress.annotations | object | `{}` | | +| components.core.ingress.className | string | `""` | | +| components.core.ingress.enabled | bool | `false` | | +| components.core.ingress.rules[0].host | string | `"localhost"` | | +| components.core.ingress.rules[0].http.paths[0].backend.service.name | string | `"appwrite-app-svc"` | | +| components.core.ingress.rules[0].http.paths[0].backend.service.port.number | int | `80` | | +| components.core.ingress.rules[0].http.paths[0].path | string | `"/"` | | +| components.core.ingress.rules[0].http.paths[0].pathType | string | `"Prefix"` | | +| components.core.ingress.tls | list | `[]` | | +| components.core.livenessProbe | object | `{"failureThreshold":10,"httpGet":{"path":"/api/health","port":80},"initialDelaySeconds":30,"timeoutSeconds":30}` | Define the liveness probe | +| components.core.networkPolicy.egress[0] | object | `{}` | | +| components.core.networkPolicy.enabled | bool | `false` | | +| components.core.networkPolicy.ingress[0].from[0].ipBlock.cidr | string | `"0.0.0.0/0"` | | +| components.core.networkPolicy.ingress[0].from[1].namespaceSelector.matchLabels.namespace | string | `"default"` | | +| components.core.networkPolicy.ingress[0].ports[0].port | int | `80` | | +| components.core.networkPolicy.ingress[0].ports[0].protocol | string | `"TCP"` | | +| components.core.networkPolicy.policyTypes[0] | string | `"Ingress"` | | +| components.core.nodeSelector | object | `{}` | | +| components.core.podAnnotations | object | `{}` | The annotations that the application's pod will get. Will be extended with the common pod labels, what is defined in the global. | +| components.core.podDisruption.config | string | `nil` | | +| components.core.podDisruption.enabled | bool | `false` | | +| components.core.podLabels | object | `{}` | The labels that the application's pod will get. Will be extended with the common pod labels, what is defined in the global. | +| components.core.podSecurityContext.fsGroup | int | `472` | | +| components.core.podSecurityContext.fsGroupChangePolicy | string | `"OnRootMismatch"` | | +| components.core.podSecurityContext.runAsGroup | int | `472` | | +| components.core.podSecurityContext.runAsNonRoot | bool | `true` | | +| components.core.podSecurityContext.runAsUser | int | `472` | | +| components.core.ports[0].containerPort | int | `80` | | +| components.core.ports[0].name | string | `"http"` | | +| components.core.ports[0].protocol | string | `"TCP"` | | +| components.core.readinessProbe | object | `{"httpGet":{"path":"/api/health","port":80}}` | Define the rediness probe | +| components.core.replicaCount | int | `1` | The number of instances in which the application will run. Only effect if autoscaling false | +| components.core.resources | object | `{}` | Setup resource limits and requests for the app | +| components.core.restartPolicy | string | `"OnFailure"` | Choose the right restart condition when the app has to be restarted. Available options: Always | OnFailure | +| components.core.service.ports[0].name | string | `"http"` | | +| components.core.service.ports[0].port | int | `80` | | +| components.core.service.ports[0].protocol | string | `"TCP"` | | +| components.core.service.ports[0].targetPort | int | `80` | | +| components.core.service.type | string | `"ClusterIP"` | | +| components.core.tolerations | list | `[]` | | +| components.executor | string | `nil` | | +| components.maintenance.affinity | object | `{}` | | +| components.maintenance.autoscaling.behavior | object | `{}` | | +| components.maintenance.autoscaling.enabled | bool | `false` | | +| components.maintenance.autoscaling.maxReplicas | int | `5` | | +| components.maintenance.autoscaling.minReplicas | int | `1` | | +| components.maintenance.autoscaling.targetCPU | string | `"60"` | | +| components.maintenance.autoscaling.targetMemory | string | `""` | | +| components.maintenance.command[0] | string | `"maintenance"` | | +| components.maintenance.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | | +| components.maintenance.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | | +| components.maintenance.containerSecurityContext.seccompProfile.type | string | `"RuntimeDefault"` | | +| components.maintenance.deploymentStrategy.maxUnavailable | int | `1` | | +| components.maintenance.deploymentStrategy.type | string | `"RollingUpdate"` | | +| components.maintenance.env | bool | `true` | | +| components.maintenance.image.pullPolicy | string | `"IfNotPresent"` | | +| components.maintenance.image.registry | string | `"docker.io"` | | +| components.maintenance.image.repository | string | `"appwrite/appwrite"` | | +| components.maintenance.image.tag | string | `"1.4.13"` | | +| components.maintenance.networkPolicy.egress[0] | object | `{}` | | +| components.maintenance.networkPolicy.enabled | bool | `false` | | +| components.maintenance.networkPolicy.policyTypes[0] | string | `"Ingress"` | | +| components.maintenance.networkPolicy.policyTypes[1] | string | `"Egress"` | | +| components.maintenance.nodeSelector | object | `{}` | | +| components.maintenance.podAnnotations | object | `{}` | | +| components.maintenance.podDisruption.config | string | `nil` | | +| components.maintenance.podDisruption.enabled | bool | `false` | | +| components.maintenance.podLabels | object | `{}` | | +| components.maintenance.podSecurityContext.fsGroup | int | `472` | | +| components.maintenance.podSecurityContext.fsGroupChangePolicy | string | `"OnRootMismatch"` | | +| components.maintenance.podSecurityContext.runAsGroup | int | `472` | | +| components.maintenance.podSecurityContext.runAsNonRoot | bool | `true` | | +| components.maintenance.podSecurityContext.runAsUser | int | `472` | | +| components.maintenance.ports[0].containerPort | int | `80` | | +| components.maintenance.ports[0].name | string | `"http"` | | +| components.maintenance.ports[0].protocol | string | `"TCP"` | | +| components.maintenance.replicaCount | int | `1` | | +| components.maintenance.resources | object | `{}` | | +| components.maintenance.restartPolicy | string | `"OnFailure"` | | +| components.maintenance.tolerations | list | `[]` | | +| components.realtime.affinity | object | `{}` | | +| components.realtime.autoscaling.behavior | object | `{}` | | +| components.realtime.autoscaling.enabled | bool | `false` | | +| components.realtime.autoscaling.maxReplicas | int | `5` | | +| components.realtime.autoscaling.minReplicas | int | `1` | | +| components.realtime.autoscaling.targetCPU | string | `"60"` | | +| components.realtime.autoscaling.targetMemory | string | `""` | | +| components.realtime.command[0] | string | `"realtime"` | | +| components.realtime.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | | +| components.realtime.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | | +| components.realtime.containerSecurityContext.seccompProfile.type | string | `"RuntimeDefault"` | | +| components.realtime.deploymentStrategy.maxUnavailable | int | `1` | | +| components.realtime.deploymentStrategy.type | string | `"RollingUpdate"` | | +| components.realtime.env | bool | `true` | | +| components.realtime.image.pullPolicy | string | `"IfNotPresent"` | | +| components.realtime.image.registry | string | `"docker.io"` | | +| components.realtime.image.repository | string | `"appwrite/appwrite"` | | +| components.realtime.image.tag | string | `"1.4.13"` | | +| components.realtime.ingress.annotations | object | `{}` | | +| components.realtime.ingress.className | string | `""` | | +| components.realtime.ingress.enabled | bool | `false` | | +| components.realtime.ingress.rules[0].host | string | `"localhost"` | | +| components.realtime.ingress.rules[0].http.paths[0].backend.service.name | string | `"appwrite-app-svc"` | | +| components.realtime.ingress.rules[0].http.paths[0].backend.service.port.number | int | `80` | | +| components.realtime.ingress.rules[0].http.paths[0].path | string | `"/v1/realtime"` | | +| components.realtime.ingress.rules[0].http.paths[0].pathType | string | `"Prefix"` | | +| components.realtime.ingress.tls | list | `[]` | | +| components.realtime.livenessProbe.failureThreshold | int | `10` | | +| components.realtime.livenessProbe.httpGet.path | string | `"/api/health"` | | +| components.realtime.livenessProbe.httpGet.port | int | `80` | | +| components.realtime.livenessProbe.initialDelaySeconds | int | `30` | | +| components.realtime.livenessProbe.timeoutSeconds | int | `30` | | +| components.realtime.networkPolicy.egress | object | `{}` | | +| components.realtime.networkPolicy.enabled | bool | `false` | | +| components.realtime.networkPolicy.ingress[0].from[0].ipBlock.cidr | string | `"0.0.0.0/0"` | | +| components.realtime.networkPolicy.ingress[0].from[1].namespaceSelector.matchLabels.namespace | string | `"default"` | | +| components.realtime.networkPolicy.ingress[0].ports[0].port | int | `80` | | +| components.realtime.networkPolicy.ingress[0].ports[0].protocol | string | `"TCP"` | | +| components.realtime.networkPolicy.policyTypes[0] | string | `"Ingress"` | | +| components.realtime.nodeSelector | object | `{}` | | +| components.realtime.podAnnotations | object | `{}` | | +| components.realtime.podDisruption.config | string | `nil` | | +| components.realtime.podDisruption.enabled | bool | `false` | | +| components.realtime.podLabels | object | `{}` | | +| components.realtime.podSecurityContext.fsGroup | int | `472` | | +| components.realtime.podSecurityContext.fsGroupChangePolicy | string | `"OnRootMismatch"` | | +| components.realtime.podSecurityContext.runAsGroup | int | `472` | | +| components.realtime.podSecurityContext.runAsNonRoot | bool | `true` | | +| components.realtime.podSecurityContext.runAsUser | int | `472` | | +| components.realtime.ports[0].containerPort | int | `80` | | +| components.realtime.ports[0].name | string | `"http"` | | +| components.realtime.ports[0].protocol | string | `"TCP"` | | +| components.realtime.readinessProbe.httpGet.path | string | `"/api/health"` | | +| components.realtime.readinessProbe.httpGet.port | int | `80` | | +| components.realtime.replicaCount | int | `1` | | +| components.realtime.resources | object | `{}` | | +| components.realtime.restartPolicy | string | `"OnFailure"` | | +| components.realtime.service.ports[0].name | string | `"http"` | | +| components.realtime.service.ports[0].port | int | `80` | | +| components.realtime.service.ports[0].protocol | string | `"TCP"` | | +| components.realtime.service.ports[0].targetPort | int | `80` | | +| components.realtime.service.type | string | `"ClusterIP"` | | +| components.realtime.tolerations | list | `[]` | | +| components.schedule.affinity | object | `{}` | | +| components.schedule.autoscaling.behavior | object | `{}` | | +| components.schedule.autoscaling.enabled | bool | `false` | | +| components.schedule.autoscaling.maxReplicas | int | `5` | | +| components.schedule.autoscaling.minReplicas | int | `1` | | +| components.schedule.autoscaling.targetCPU | string | `"60"` | | +| components.schedule.autoscaling.targetMemory | string | `""` | | +| components.schedule.command[0] | string | `"schedule"` | | +| components.schedule.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | | +| components.schedule.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | | +| components.schedule.containerSecurityContext.seccompProfile.type | string | `"RuntimeDefault"` | | +| components.schedule.deploymentStrategy.maxUnavailable | int | `1` | | +| components.schedule.deploymentStrategy.type | string | `"RollingUpdate"` | | +| components.schedule.env | bool | `true` | | +| components.schedule.image.pullPolicy | string | `"IfNotPresent"` | | +| components.schedule.image.registry | string | `"docker.io"` | | +| components.schedule.image.repository | string | `"appwrite/appwrite"` | | +| components.schedule.image.tag | string | `"1.4.13"` | | +| components.schedule.networkPolicy.egress[0] | object | `{}` | | +| components.schedule.networkPolicy.enabled | bool | `false` | | +| components.schedule.networkPolicy.policyTypes[0] | string | `"Ingress"` | | +| components.schedule.networkPolicy.policyTypes[1] | string | `"Egress"` | | +| components.schedule.nodeSelector | object | `{}` | | +| components.schedule.podAnnotations | object | `{}` | | +| components.schedule.podDisruption.config | string | `nil` | | +| components.schedule.podDisruption.enabled | bool | `false` | | +| components.schedule.podLabels | object | `{}` | | +| components.schedule.podSecurityContext.fsGroup | int | `472` | | +| components.schedule.podSecurityContext.fsGroupChangePolicy | string | `"OnRootMismatch"` | | +| components.schedule.podSecurityContext.runAsGroup | int | `472` | | +| components.schedule.podSecurityContext.runAsNonRoot | bool | `true` | | +| components.schedule.podSecurityContext.runAsUser | int | `472` | | +| components.schedule.replicaCount | int | `1` | | +| components.schedule.resources | object | `{}` | | +| components.schedule.restartPolicy | string | `"OnFailure"` | | +| components.schedule.tolerations | list | `[]` | | +| components.telegraf.affinity | object | `{}` | | +| components.telegraf.autoscaling.behavior | object | `{}` | | +| components.telegraf.autoscaling.enabled | bool | `false` | | +| components.telegraf.autoscaling.maxReplicas | int | `5` | | +| components.telegraf.autoscaling.minReplicas | int | `1` | | +| components.telegraf.autoscaling.targetCPU | string | `"60"` | | +| components.telegraf.autoscaling.targetMemory | string | `""` | | +| components.telegraf.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | | +| components.telegraf.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | | +| components.telegraf.containerSecurityContext.seccompProfile.type | string | `"RuntimeDefault"` | | +| components.telegraf.deploymentStrategy.maxUnavailable | int | `1` | | +| components.telegraf.deploymentStrategy.type | string | `"RollingUpdate"` | | +| components.telegraf.env | bool | `true` | | +| components.telegraf.image.pullPolicy | string | `"IfNotPresent"` | | +| components.telegraf.image.registry | string | `"docker.io"` | | +| components.telegraf.image.repository | string | `"appwrite/telegraf"` | | +| components.telegraf.image.tag | string | `"1.4.0"` | | +| components.telegraf.networkPolicy.egress[0] | object | `{}` | | +| components.telegraf.networkPolicy.enabled | bool | `false` | | +| components.telegraf.networkPolicy.policyTypes[0] | string | `"Ingress"` | | +| components.telegraf.networkPolicy.policyTypes[1] | string | `"Egress"` | | +| components.telegraf.nodeSelector | object | `{}` | | +| components.telegraf.podAnnotations | object | `{}` | | +| components.telegraf.podDisruption.config | string | `nil` | | +| components.telegraf.podDisruption.enabled | bool | `false` | | +| components.telegraf.podLabels | object | `{}` | | +| components.telegraf.podSecurityContext.fsGroup | int | `472` | | +| components.telegraf.podSecurityContext.fsGroupChangePolicy | string | `"OnRootMismatch"` | | +| components.telegraf.podSecurityContext.runAsGroup | int | `472` | | +| components.telegraf.podSecurityContext.runAsNonRoot | bool | `true` | | +| components.telegraf.podSecurityContext.runAsUser | int | `472` | | +| components.telegraf.replicaCount | int | `1` | | +| components.telegraf.resources | object | `{}` | | +| components.telegraf.restartPolicy | string | `"OnFailure"` | | +| components.telegraf.tolerations | list | `[]` | | +| components.usage.affinity | object | `{}` | | +| components.usage.autoscaling.behavior | object | `{}` | | +| components.usage.autoscaling.enabled | bool | `false` | | +| components.usage.autoscaling.maxReplicas | int | `5` | | +| components.usage.autoscaling.minReplicas | int | `1` | | +| components.usage.autoscaling.targetCPU | string | `"60"` | | +| components.usage.autoscaling.targetMemory | string | `""` | | +| components.usage.command[0] | string | `"usage"` | | +| components.usage.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | | +| components.usage.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | | +| components.usage.containerSecurityContext.seccompProfile.type | string | `"RuntimeDefault"` | | +| components.usage.deploymentStrategy.maxUnavailable | int | `1` | | +| components.usage.deploymentStrategy.type | string | `"RollingUpdate"` | | +| components.usage.env | bool | `true` | | +| components.usage.image.pullPolicy | string | `"IfNotPresent"` | | +| components.usage.image.registry | string | `"docker.io"` | | +| components.usage.image.repository | string | `"appwrite/appwrite"` | | +| components.usage.image.tag | string | `"1.4.13"` | | +| components.usage.networkPolicy.egress[0] | object | `{}` | | +| components.usage.networkPolicy.enabled | bool | `false` | | +| components.usage.networkPolicy.policyTypes[0] | string | `"Ingress"` | | +| components.usage.networkPolicy.policyTypes[1] | string | `"Egress"` | | +| components.usage.nodeSelector | object | `{}` | | +| components.usage.podAnnotations | object | `{}` | | +| components.usage.podDisruption.config | string | `nil` | | +| components.usage.podDisruption.enabled | bool | `false` | | +| components.usage.podLabels | object | `{}` | | +| components.usage.podSecurityContext.fsGroup | int | `472` | | +| components.usage.podSecurityContext.fsGroupChangePolicy | string | `"OnRootMismatch"` | | +| components.usage.podSecurityContext.runAsGroup | int | `472` | | +| components.usage.podSecurityContext.runAsNonRoot | bool | `true` | | +| components.usage.podSecurityContext.runAsUser | int | `472` | | +| components.usage.replicaCount | int | `1` | | +| components.usage.resources | object | `{}` | | +| components.usage.restartPolicy | string | `"OnFailure"` | | +| components.usage.tolerations | list | `[]` | | +| environments | object | `{"assistant":{"openAi":{"apiKey":""}},"console":{"whitelist":{"emails":"","ips":"","root":""}},"database":{"host":"","password":"your-secret-password","port":3306,"rootPassword":"root-secret-root-password","schema":"appwrite","username":"user"},"dockerHub":{"password":"","username":""},"domain":{"app":"localhost","functions":"functions.localhost","target":"localhost"},"env":"production","executor":{"host":"","secret":""},"functions":{"buildTimeout":900,"cpus":"","inactiveThreshold":600,"maintenanceInterval":600,"memory":"","runtimes":["php-8.0","node-18.0","python-3.9","ruby-3.1"],"sizeLimit":30000000,"timeout":900},"graphql":{"maxBatchSize":10,"maxComplexity":250,"maxDepth":3},"influxdb":{"host":"","port":8086},"locale":"en","logging":{"config":"","provider":""},"maintenance":{"interval":86400,"retention":{"abuse":86400,"audit":1209600,"cache":2592000,"execution":1209600,"schedules":86400,"usageHourly":8640000}},"migrations":{"firebase":{"clientId":"","clientSecret":""}},"openssl":{"keyV1":""},"options":{"abuse":"disabled","forceHttps":"disabled","functions":{"forceHttps":"disabled"},"routerProtection":"disabled"},"redis":{"host":"","password":"","port":6379,"username":""},"sms":{"from":"","provider":""},"smtp":{"host":"","password":"","port":"","secure":"","username":""},"statsd":{"host":"","port":8125},"storage":{"antivirus":{"enabled":"disabled","host":"clamav","port":3310},"backblaze":{"accessKey":"","bucket":"","region":"us-west-004","secret":""},"device":"Local","doSpaces":{"accessKey":"","bucket":"","region":"us-east-1","secret":""},"limit":30000000,"linode":{"accessKey":"","bucket":"","region":"eu-central-1","secret":""},"previewLimit":20000000,"s3":{"accessKey":"","bucket":"","endpointUrl":"","region":"us-east-1","secret":""},"wasabi":{"accessKey":"","bucket":"","region":"eu-central-1","secret":""}},"system":{"email":{"address":"team@appwrite.io","name":"Appwrite"},"response":{"format":""},"security":{"emailAddress":"security@appwrite.io"}},"usage":{"aggregationInterval":5,"stats":"enabled"},"vcs":{"github":{"appId":"","appName":"","clientId":"","clientSecret":"","privateKey":"disabled","webhookSecret":""}},"worker":{"perCore":6}}` | Environment variables for Appwrite ref: [https://appwrite.io/docs/advanced/self-hosting/environment-variables] (https://appwrite.io/docs/advanced/self-hosting/environment-variables) | +| global | object | `{"imagePullSecrets":[],"storageClass":""}` | These global values also affect the sub-charts | +| global.imagePullSecrets | list | `[]` | Global Docker registry secret names E.g. imagePullSecrets: - myRegistryKeySecretName | +| global.storageClass | string | `""` | Global StorageClass for Persistent Volume(s) | +| influxdb.auth.enabled | bool | `false` | | +| influxdb.enabled | bool | `false` | | +| mariadb.enabled | bool | `false` | | +| podAnnotations | object | `{}` | Common annotations shared across pods | +| podLabels | object | `{}` | Common label shared across pods | +| redis.auth.enabled | bool | `false` | | +| redis.auth.sentinel | bool | `false` | | +| redis.enabled | bool | `false` | | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.11.3](https://github.com/norwoodj/helm-docs/releases/v1.11.3) diff --git a/.helmignore b/appwrite/.helmignore similarity index 100% rename from .helmignore rename to appwrite/.helmignore diff --git a/Chart.lock b/appwrite/Chart.lock similarity index 55% rename from Chart.lock rename to appwrite/Chart.lock index 68db4cd..bb149a5 100644 --- a/Chart.lock +++ b/appwrite/Chart.lock @@ -5,11 +5,8 @@ dependencies: - name: mariadb repository: https://charts.bitnami.com/bitnami version: 14.1.2 -- name: mongodb - repository: https://charts.bitnami.com/bitnami - version: 14.2.8 - name: influxdb repository: https://charts.bitnami.com/bitnami version: 5.10.2 -digest: sha256:d60bd5679b9ddd32ee4b51a1255831d0e28ce5d3299ad1ddba301bcd60a6fda0 -generated: "2023-11-18T19:22:22.772233+01:00" +digest: sha256:0a7359c1aca700c59b1a1207fc7afcfd42c6ccd47ca3d41ec356120c17e05b30 +generated: "2023-11-23T20:21:33.645411+01:00" diff --git a/Chart.yaml b/appwrite/Chart.yaml similarity index 100% rename from Chart.yaml rename to appwrite/Chart.yaml diff --git a/templates/_deployment.tpl b/appwrite/templates/_deployment.tpl similarity index 100% rename from templates/_deployment.tpl rename to appwrite/templates/_deployment.tpl diff --git a/templates/_helpers.tpl b/appwrite/templates/_helpers.tpl similarity index 100% rename from templates/_helpers.tpl rename to appwrite/templates/_helpers.tpl diff --git a/templates/_horizontalpodautoscaler.tpl b/appwrite/templates/_horizontalpodautoscaler.tpl similarity index 100% rename from templates/_horizontalpodautoscaler.tpl rename to appwrite/templates/_horizontalpodautoscaler.tpl diff --git a/templates/_ingress.tpl b/appwrite/templates/_ingress.tpl similarity index 100% rename from templates/_ingress.tpl rename to appwrite/templates/_ingress.tpl diff --git a/templates/_networkpolicy.tpl b/appwrite/templates/_networkpolicy.tpl similarity index 100% rename from templates/_networkpolicy.tpl rename to appwrite/templates/_networkpolicy.tpl diff --git a/templates/_pod.tpl b/appwrite/templates/_pod.tpl similarity index 96% rename from templates/_pod.tpl rename to appwrite/templates/_pod.tpl index e4a6a2e..e39b152 100644 --- a/templates/_pod.tpl +++ b/appwrite/templates/_pod.tpl @@ -51,7 +51,8 @@ containers: env: {{ toYaml . | nindent 6 }} {{- end }} + {{ }} volumeMounts: - - name: www - mountPath: /usr/share/nginx/html + - name: storage + mountPath: /storage {{- end }} \ No newline at end of file diff --git a/templates/_poddisruptionbudget.tpl b/appwrite/templates/_poddisruptionbudget.tpl similarity index 100% rename from templates/_poddisruptionbudget.tpl rename to appwrite/templates/_poddisruptionbudget.tpl diff --git a/templates/_service.tpl b/appwrite/templates/_service.tpl similarity index 100% rename from templates/_service.tpl rename to appwrite/templates/_service.tpl diff --git a/templates/_statefulset.tpl b/appwrite/templates/_statefulset.tpl similarity index 96% rename from templates/_statefulset.tpl rename to appwrite/templates/_statefulset.tpl index f90902d..2d578c3 100644 --- a/templates/_statefulset.tpl +++ b/appwrite/templates/_statefulset.tpl @@ -49,10 +49,10 @@ spec: revisionHistoryLimit: 5 volumeClaimTemplates: - metadata: - name: www + name: storage spec: accessModes: [ "ReadWriteMany" ] - storageClassName: "my-storage-class" + storageClassName: {{ .Values.global.storageClass }} resources: requests: storage: 1Gi diff --git a/templates/configmap.yaml b/appwrite/templates/configmap.yaml similarity index 100% rename from templates/configmap.yaml rename to appwrite/templates/configmap.yaml diff --git a/templates/core/core.yaml b/appwrite/templates/core/core.yaml similarity index 100% rename from templates/core/core.yaml rename to appwrite/templates/core/core.yaml diff --git a/templates/core/core_hpa.yaml b/appwrite/templates/core/core_hpa.yaml similarity index 100% rename from templates/core/core_hpa.yaml rename to appwrite/templates/core/core_hpa.yaml diff --git a/templates/core/core_ingress.yaml b/appwrite/templates/core/core_ingress.yaml similarity index 100% rename from templates/core/core_ingress.yaml rename to appwrite/templates/core/core_ingress.yaml diff --git a/templates/core/core_nwp.yaml b/appwrite/templates/core/core_nwp.yaml similarity index 100% rename from templates/core/core_nwp.yaml rename to appwrite/templates/core/core_nwp.yaml diff --git a/templates/core/core_pdb.yaml b/appwrite/templates/core/core_pdb.yaml similarity index 100% rename from templates/core/core_pdb.yaml rename to appwrite/templates/core/core_pdb.yaml diff --git a/templates/core/core_service.yaml b/appwrite/templates/core/core_service.yaml similarity index 100% rename from templates/core/core_service.yaml rename to appwrite/templates/core/core_service.yaml diff --git a/templates/maintenance/maintenance.yaml b/appwrite/templates/maintenance/maintenance.yaml similarity index 100% rename from templates/maintenance/maintenance.yaml rename to appwrite/templates/maintenance/maintenance.yaml diff --git a/templates/maintenance/maintenance_hpa.yaml b/appwrite/templates/maintenance/maintenance_hpa.yaml similarity index 100% rename from templates/maintenance/maintenance_hpa.yaml rename to appwrite/templates/maintenance/maintenance_hpa.yaml diff --git a/templates/maintenance/maintenance_nwp.yaml b/appwrite/templates/maintenance/maintenance_nwp.yaml similarity index 100% rename from templates/maintenance/maintenance_nwp.yaml rename to appwrite/templates/maintenance/maintenance_nwp.yaml diff --git a/templates/maintenance/maintenance_pdb.yaml b/appwrite/templates/maintenance/maintenance_pdb.yaml similarity index 100% rename from templates/maintenance/maintenance_pdb.yaml rename to appwrite/templates/maintenance/maintenance_pdb.yaml diff --git a/templates/namespace.yaml b/appwrite/templates/namespace.yaml similarity index 100% rename from templates/namespace.yaml rename to appwrite/templates/namespace.yaml diff --git a/templates/realtime/realtime.yaml b/appwrite/templates/realtime/realtime.yaml similarity index 100% rename from templates/realtime/realtime.yaml rename to appwrite/templates/realtime/realtime.yaml diff --git a/templates/realtime/realtime_hpa.yaml b/appwrite/templates/realtime/realtime_hpa.yaml similarity index 100% rename from templates/realtime/realtime_hpa.yaml rename to appwrite/templates/realtime/realtime_hpa.yaml diff --git a/templates/realtime/realtime_ingress.yaml b/appwrite/templates/realtime/realtime_ingress.yaml similarity index 100% rename from templates/realtime/realtime_ingress.yaml rename to appwrite/templates/realtime/realtime_ingress.yaml diff --git a/templates/realtime/realtime_nwp.yaml b/appwrite/templates/realtime/realtime_nwp.yaml similarity index 100% rename from templates/realtime/realtime_nwp.yaml rename to appwrite/templates/realtime/realtime_nwp.yaml diff --git a/templates/realtime/realtime_pdb.yaml b/appwrite/templates/realtime/realtime_pdb.yaml similarity index 100% rename from templates/realtime/realtime_pdb.yaml rename to appwrite/templates/realtime/realtime_pdb.yaml diff --git a/templates/realtime/realtime_service.yaml b/appwrite/templates/realtime/realtime_service.yaml similarity index 100% rename from templates/realtime/realtime_service.yaml rename to appwrite/templates/realtime/realtime_service.yaml diff --git a/templates/schedule/schedule.yaml b/appwrite/templates/schedule/schedule.yaml similarity index 100% rename from templates/schedule/schedule.yaml rename to appwrite/templates/schedule/schedule.yaml diff --git a/templates/schedule/schedule_hpa.yaml b/appwrite/templates/schedule/schedule_hpa.yaml similarity index 100% rename from templates/schedule/schedule_hpa.yaml rename to appwrite/templates/schedule/schedule_hpa.yaml diff --git a/templates/schedule/schedule_nwp.yaml b/appwrite/templates/schedule/schedule_nwp.yaml similarity index 100% rename from templates/schedule/schedule_nwp.yaml rename to appwrite/templates/schedule/schedule_nwp.yaml diff --git a/templates/schedule/schedule_pdb.yaml b/appwrite/templates/schedule/schedule_pdb.yaml similarity index 100% rename from templates/schedule/schedule_pdb.yaml rename to appwrite/templates/schedule/schedule_pdb.yaml diff --git a/templates/secret.yml b/appwrite/templates/secret.yml similarity index 100% rename from templates/secret.yml rename to appwrite/templates/secret.yml diff --git a/templates/telegraf/telegraf.yaml b/appwrite/templates/telegraf/telegraf.yaml similarity index 100% rename from templates/telegraf/telegraf.yaml rename to appwrite/templates/telegraf/telegraf.yaml diff --git a/templates/telegraf/telegraf_hpa.yaml b/appwrite/templates/telegraf/telegraf_hpa.yaml similarity index 100% rename from templates/telegraf/telegraf_hpa.yaml rename to appwrite/templates/telegraf/telegraf_hpa.yaml diff --git a/templates/telegraf/telegraf_nwp.yaml b/appwrite/templates/telegraf/telegraf_nwp.yaml similarity index 100% rename from templates/telegraf/telegraf_nwp.yaml rename to appwrite/templates/telegraf/telegraf_nwp.yaml diff --git a/templates/telegraf/telegraf_pdb.yaml b/appwrite/templates/telegraf/telegraf_pdb.yaml similarity index 100% rename from templates/telegraf/telegraf_pdb.yaml rename to appwrite/templates/telegraf/telegraf_pdb.yaml diff --git a/templates/usage/usage.yaml b/appwrite/templates/usage/usage.yaml similarity index 100% rename from templates/usage/usage.yaml rename to appwrite/templates/usage/usage.yaml diff --git a/templates/usage/usage_hpa.yaml b/appwrite/templates/usage/usage_hpa.yaml similarity index 100% rename from templates/usage/usage_hpa.yaml rename to appwrite/templates/usage/usage_hpa.yaml diff --git a/templates/usage/usage_nwp.yaml b/appwrite/templates/usage/usage_nwp.yaml similarity index 100% rename from templates/usage/usage_nwp.yaml rename to appwrite/templates/usage/usage_nwp.yaml diff --git a/templates/usage/usage_pdb.yaml b/appwrite/templates/usage/usage_pdb.yaml similarity index 100% rename from templates/usage/usage_pdb.yaml rename to appwrite/templates/usage/usage_pdb.yaml diff --git a/templates/worker/audits/audits.yaml b/appwrite/templates/worker/audits/audits.yaml similarity index 100% rename from templates/worker/audits/audits.yaml rename to appwrite/templates/worker/audits/audits.yaml diff --git a/templates/worker/audits/audits_hpa.yaml b/appwrite/templates/worker/audits/audits_hpa.yaml similarity index 100% rename from templates/worker/audits/audits_hpa.yaml rename to appwrite/templates/worker/audits/audits_hpa.yaml diff --git a/templates/worker/audits/audits_nwp.yaml b/appwrite/templates/worker/audits/audits_nwp.yaml similarity index 100% rename from templates/worker/audits/audits_nwp.yaml rename to appwrite/templates/worker/audits/audits_nwp.yaml diff --git a/templates/worker/audits/audits_pdb.yaml b/appwrite/templates/worker/audits/audits_pdb.yaml similarity index 100% rename from templates/worker/audits/audits_pdb.yaml rename to appwrite/templates/worker/audits/audits_pdb.yaml diff --git a/templates/worker/builds/builds.yaml b/appwrite/templates/worker/builds/builds.yaml similarity index 100% rename from templates/worker/builds/builds.yaml rename to appwrite/templates/worker/builds/builds.yaml diff --git a/templates/worker/builds/builds_hpa.yaml b/appwrite/templates/worker/builds/builds_hpa.yaml similarity index 100% rename from templates/worker/builds/builds_hpa.yaml rename to appwrite/templates/worker/builds/builds_hpa.yaml diff --git a/templates/worker/builds/builds_nwp.yaml b/appwrite/templates/worker/builds/builds_nwp.yaml similarity index 100% rename from templates/worker/builds/builds_nwp.yaml rename to appwrite/templates/worker/builds/builds_nwp.yaml diff --git a/templates/worker/builds/builds_pdb.yaml b/appwrite/templates/worker/builds/builds_pdb.yaml similarity index 100% rename from templates/worker/builds/builds_pdb.yaml rename to appwrite/templates/worker/builds/builds_pdb.yaml diff --git a/templates/worker/certificates/certificates.yaml b/appwrite/templates/worker/certificates/certificates.yaml similarity index 100% rename from templates/worker/certificates/certificates.yaml rename to appwrite/templates/worker/certificates/certificates.yaml diff --git a/templates/worker/certificates/certificates_hpa.yaml b/appwrite/templates/worker/certificates/certificates_hpa.yaml similarity index 100% rename from templates/worker/certificates/certificates_hpa.yaml rename to appwrite/templates/worker/certificates/certificates_hpa.yaml diff --git a/templates/worker/certificates/certificates_nwp.yaml b/appwrite/templates/worker/certificates/certificates_nwp.yaml similarity index 100% rename from templates/worker/certificates/certificates_nwp.yaml rename to appwrite/templates/worker/certificates/certificates_nwp.yaml diff --git a/templates/worker/certificates/certificates_pdb.yaml b/appwrite/templates/worker/certificates/certificates_pdb.yaml similarity index 100% rename from templates/worker/certificates/certificates_pdb.yaml rename to appwrite/templates/worker/certificates/certificates_pdb.yaml diff --git a/templates/worker/databases/databases.yaml b/appwrite/templates/worker/databases/databases.yaml similarity index 100% rename from templates/worker/databases/databases.yaml rename to appwrite/templates/worker/databases/databases.yaml diff --git a/templates/worker/databases/databases_hpa.yaml b/appwrite/templates/worker/databases/databases_hpa.yaml similarity index 100% rename from templates/worker/databases/databases_hpa.yaml rename to appwrite/templates/worker/databases/databases_hpa.yaml diff --git a/templates/worker/databases/databases_nwp.yaml b/appwrite/templates/worker/databases/databases_nwp.yaml similarity index 100% rename from templates/worker/databases/databases_nwp.yaml rename to appwrite/templates/worker/databases/databases_nwp.yaml diff --git a/templates/worker/databases/databases_pdb.yaml b/appwrite/templates/worker/databases/databases_pdb.yaml similarity index 100% rename from templates/worker/databases/databases_pdb.yaml rename to appwrite/templates/worker/databases/databases_pdb.yaml diff --git a/templates/worker/deletes/deletes.yaml b/appwrite/templates/worker/deletes/deletes.yaml similarity index 100% rename from templates/worker/deletes/deletes.yaml rename to appwrite/templates/worker/deletes/deletes.yaml diff --git a/templates/worker/deletes/deletes_hpa.yaml b/appwrite/templates/worker/deletes/deletes_hpa.yaml similarity index 100% rename from templates/worker/deletes/deletes_hpa.yaml rename to appwrite/templates/worker/deletes/deletes_hpa.yaml diff --git a/templates/worker/deletes/deletes_nwp.yaml b/appwrite/templates/worker/deletes/deletes_nwp.yaml similarity index 100% rename from templates/worker/deletes/deletes_nwp.yaml rename to appwrite/templates/worker/deletes/deletes_nwp.yaml diff --git a/templates/worker/deletes/deletes_pdb.yaml b/appwrite/templates/worker/deletes/deletes_pdb.yaml similarity index 100% rename from templates/worker/deletes/deletes_pdb.yaml rename to appwrite/templates/worker/deletes/deletes_pdb.yaml diff --git a/templates/worker/functions/functions.yaml b/appwrite/templates/worker/functions/functions.yaml similarity index 100% rename from templates/worker/functions/functions.yaml rename to appwrite/templates/worker/functions/functions.yaml diff --git a/templates/worker/functions/functions_hpa.yaml b/appwrite/templates/worker/functions/functions_hpa.yaml similarity index 100% rename from templates/worker/functions/functions_hpa.yaml rename to appwrite/templates/worker/functions/functions_hpa.yaml diff --git a/templates/worker/functions/functions_nwp.yaml b/appwrite/templates/worker/functions/functions_nwp.yaml similarity index 100% rename from templates/worker/functions/functions_nwp.yaml rename to appwrite/templates/worker/functions/functions_nwp.yaml diff --git a/templates/worker/functions/functions_pdb.yaml b/appwrite/templates/worker/functions/functions_pdb.yaml similarity index 100% rename from templates/worker/functions/functions_pdb.yaml rename to appwrite/templates/worker/functions/functions_pdb.yaml diff --git a/templates/worker/mails/mails.yaml b/appwrite/templates/worker/mails/mails.yaml similarity index 100% rename from templates/worker/mails/mails.yaml rename to appwrite/templates/worker/mails/mails.yaml diff --git a/templates/worker/mails/mails_hpa.yaml b/appwrite/templates/worker/mails/mails_hpa.yaml similarity index 100% rename from templates/worker/mails/mails_hpa.yaml rename to appwrite/templates/worker/mails/mails_hpa.yaml diff --git a/templates/worker/mails/mails_nwp.yaml b/appwrite/templates/worker/mails/mails_nwp.yaml similarity index 100% rename from templates/worker/mails/mails_nwp.yaml rename to appwrite/templates/worker/mails/mails_nwp.yaml diff --git a/templates/worker/mails/mails_pdb.yaml b/appwrite/templates/worker/mails/mails_pdb.yaml similarity index 100% rename from templates/worker/mails/mails_pdb.yaml rename to appwrite/templates/worker/mails/mails_pdb.yaml diff --git a/templates/worker/messaging/messaging.yaml b/appwrite/templates/worker/messaging/messaging.yaml similarity index 100% rename from templates/worker/messaging/messaging.yaml rename to appwrite/templates/worker/messaging/messaging.yaml diff --git a/templates/worker/messaging/messaging_hpa.yaml b/appwrite/templates/worker/messaging/messaging_hpa.yaml similarity index 100% rename from templates/worker/messaging/messaging_hpa.yaml rename to appwrite/templates/worker/messaging/messaging_hpa.yaml diff --git a/templates/worker/messaging/messaging_nwp.yaml b/appwrite/templates/worker/messaging/messaging_nwp.yaml similarity index 100% rename from templates/worker/messaging/messaging_nwp.yaml rename to appwrite/templates/worker/messaging/messaging_nwp.yaml diff --git a/templates/worker/messaging/messaging_pdb.yaml b/appwrite/templates/worker/messaging/messaging_pdb.yaml similarity index 100% rename from templates/worker/messaging/messaging_pdb.yaml rename to appwrite/templates/worker/messaging/messaging_pdb.yaml diff --git a/templates/worker/webhooks/webhooks.yaml b/appwrite/templates/worker/webhooks/webhooks.yaml similarity index 100% rename from templates/worker/webhooks/webhooks.yaml rename to appwrite/templates/worker/webhooks/webhooks.yaml diff --git a/templates/worker/webhooks/webhooks_hpa.yaml b/appwrite/templates/worker/webhooks/webhooks_hpa.yaml similarity index 100% rename from templates/worker/webhooks/webhooks_hpa.yaml rename to appwrite/templates/worker/webhooks/webhooks_hpa.yaml diff --git a/templates/worker/webhooks/webhooks_nwp.yaml b/appwrite/templates/worker/webhooks/webhooks_nwp.yaml similarity index 100% rename from templates/worker/webhooks/webhooks_nwp.yaml rename to appwrite/templates/worker/webhooks/webhooks_nwp.yaml diff --git a/templates/worker/webhooks/webhooks_pdb.yaml b/appwrite/templates/worker/webhooks/webhooks_pdb.yaml similarity index 100% rename from templates/worker/webhooks/webhooks_pdb.yaml rename to appwrite/templates/worker/webhooks/webhooks_pdb.yaml diff --git a/values.yaml b/appwrite/values.yaml similarity index 71% rename from values.yaml rename to appwrite/values.yaml index 3a59064..9f5b5fa 100644 --- a/values.yaml +++ b/appwrite/values.yaml @@ -2,301 +2,305 @@ # SPDX-License-Identifier: APACHE-2.0 -# These global values also affect the sub-charts +# -- These global values also affect the sub-charts global: - ## Global Docker registry secret names as an array - ## E.g. - ## imagePullSecrets: - ## - myRegistryKeySecretName + # -- Global Docker registry secret names + # E.g. + # imagePullSecrets: + # - myRegistryKeySecretName imagePullSecrets: [] - ## Global StorageClass for Persistent Volume(s) + # -- Global StorageClass for Persistent Volume(s) storageClass: "" -## Environment variables for Appwrite -## ref: https://appwrite.io/docs/advanced/self-hosting/environment-variables +# -- Environment variables for Appwrite +# ref: [https://appwrite.io/docs/advanced/self-hosting/environment-variables] (https://appwrite.io/docs/advanced/self-hosting/environment-variables) environments: - ## _APP_ENV + # _APP_ENV env: production - ## _APP_LOCALE + # _APP_LOCALE locale: en worker: - ## _APP_WORKER_PER_CORE + # _APP_WORKER_PER_CORE perCore: 6 console: whitelist: - ## _APP_CONSOLE_WHITELIST_ROOT + # _APP_CONSOLE_WHITELIST_ROOT root: "" - ## _APP_CONSOLE_WHITELIST_EMAILS + # _APP_CONSOLE_WHITELIST_EMAILS emails: "" - ## _APP_CONSOLE_WHITELIST_IPS + # _APP_CONSOLE_WHITELIST_IPS ips: "" system: email: - ## _APP_SYSTEM_EMAIL_NAME + # _APP_SYSTEM_EMAIL_NAME name: Appwrite - ## _APP_SYSTEM_EMAIL_ADDRESS + # _APP_SYSTEM_EMAIL_ADDRESS address: team@appwrite.io security: - ## _APP_SYSTEM_SECURITY_EMAIL_ADDRESS + # _APP_SYSTEM_SECURITY_EMAIL_ADDRESS emailAddress: security@appwrite.io response: - ## _APP_SYSTEM_RESPONSE_FORMAT + # _APP_SYSTEM_RESPONSE_FORMAT format: "" options: - ## _APP_OPTIONS_ABUSE + # _APP_OPTIONS_ABUSE abuse: disabled - ## _APP_OPTIONS_ROUTER_PROTECTION + # _APP_OPTIONS_ROUTER_PROTECTION routerProtection: disabled - ## _APP_OPTIONS_FORCE_HTTPS + # _APP_OPTIONS_FORCE_HTTPS forceHttps: disabled functions: - ## _APP_OPTIONS_FUNCTIONS_FORCE_HTTPS + # _APP_OPTIONS_FUNCTIONS_FORCE_HTTPS forceHttps: disabled openssl: - ## _APP_OPENSSL_KEY_V1 + # _APP_OPENSSL_KEY_V1 keyV1: "" domain: - ## _APP_DOMAIN + # _APP_DOMAIN app: &appDomain localhost - ## _APP_DOMAIN_FUNCTIONS + # _APP_DOMAIN_FUNCTIONS functions: functions.localhost - ## _APP_DOMAIN_TARGET + # _APP_DOMAIN_TARGET target: localhost redis: - ## _APP_REDIS_HOST + # _APP_REDIS_HOST host: "" - ## _APP_REDIS_PORT + # _APP_REDIS_PORT port: 6379 - ## _APP_REDIS_USER + # _APP_REDIS_USER username: "" - ## _APP_REDIS_PASS + # _APP_REDIS_PASS password: "" database: - ## _APP_DB_HOST + # _APP_DB_HOST host: "" - ## _APP_DB_PORT + # _APP_DB_PORT port: 3306 - ## _APP_DB_SCHEMA + # _APP_DB_SCHEMA schema: appwrite - ## _APP_DB_USER + # _APP_DB_USER username: user - ## _APP_DB_PASS + # _APP_DB_PASS password: your-secret-password - ## _APP_DB_ROOT_PASS + # _APP_DB_ROOT_PASS rootPassword: root-secret-root-password storage: - ## _APP_STORAGE_DEVICE + # _APP_STORAGE_DEVICE device: Local s3: - ## _APP_STORAGE_S3_ENDPOINT_URL + # _APP_STORAGE_S3_ENDPOINT_URL endpointUrl: "" - ## _APP_STORAGE_S3_ACCESS_KEY + # _APP_STORAGE_S3_ACCESS_KEY accessKey: "" - ## _APP_STORAGE_S3_SECRET + # _APP_STORAGE_S3_SECRET secret: "" - ## _APP_STORAGE_S3_REGION + # _APP_STORAGE_S3_REGION region: us-east-1 - ## _APP_STORAGE_S3_BUCKET + # _APP_STORAGE_S3_BUCKET bucket: "" doSpaces: - ## _APP_STORAGE_DO_SPACES_ACCESS_KEY + # _APP_STORAGE_DO_SPACES_ACCESS_KEY accessKey: "" - ## _APP_STORAGE_DO_SPACES_SECRET + # _APP_STORAGE_DO_SPACES_SECRET secret: "" - ## _APP_STORAGE_DO_SPACES_REGION + # _APP_STORAGE_DO_SPACES_REGION region: us-east-1 - ## _APP_STORAGE_DO_SPACES_BUCKET + # _APP_STORAGE_DO_SPACES_BUCKET bucket: "" backblaze: - ## _APP_STORAGE_BACKBLAZE_ACCESS_KEY + # _APP_STORAGE_BACKBLAZE_ACCESS_KEY accessKey: "" - ## _APP_STORAGE_BACKBLAZE_SECRET + # _APP_STORAGE_BACKBLAZE_SECRET secret: "" - ## _APP_STORAGE_BACKBLAZE_REGION + # _APP_STORAGE_BACKBLAZE_REGION region: us-west-004 - ## _APP_STORAGE_BACKBLAZE_BUCKET + # _APP_STORAGE_BACKBLAZE_BUCKET bucket: "" linode: - ## _APP_STORAGE_LINODE_ACCESS_KEY + # _APP_STORAGE_LINODE_ACCESS_KEY accessKey: "" - ## _APP_STORAGE_LINODE_SECRET + # _APP_STORAGE_LINODE_SECRET secret: "" - ## _APP_STORAGE_LINODE_REGION + # _APP_STORAGE_LINODE_REGION region: eu-central-1 - ## _APP_STORAGE_LINODE_BUCKET + # _APP_STORAGE_LINODE_BUCKET bucket: "" wasabi: - ## _APP_STORAGE_WASABI_ACCESS_KEY + # _APP_STORAGE_WASABI_ACCESS_KEY accessKey: "" - ## _APP_STORAGE_WASABI_SECRET + # _APP_STORAGE_WASABI_SECRET secret: "" - ## _APP_STORAGE_WASABI_REGION + # _APP_STORAGE_WASABI_REGION region: eu-central-1 - ## _APP_STORAGE_WASABI_BUCKET + # _APP_STORAGE_WASABI_BUCKET bucket: "" antivirus: - ## _APP_STORAGE_ANTIVIRUS + # _APP_STORAGE_ANTIVIRUS enabled: disabled - ## _APP_STORAGE_ANTIVIRUS_HOST + # _APP_STORAGE_ANTIVIRUS_HOST host: clamav - ## _APP_STORAGE_ANTIVIRUS_PORT + # _APP_STORAGE_ANTIVIRUS_PORT port: 3310 - ## _APP_STORAGE_LIMIT + # _APP_STORAGE_LIMIT limit: 30000000 - ## _APP_STORAGE_PREVIEW_LIMIT + # _APP_STORAGE_PREVIEW_LIMIT previewLimit: 20000000 influxdb: - ## _APP_INFLUXDB_HOST + # _APP_INFLUXDB_HOST host: "" - ## _APP_INFLUXDB_PORT + # _APP_INFLUXDB_PORT port: 8086 statsd: - ## _APP_STATSD_HOST + # _APP_STATSD_HOST host: "" - ## _APP_STATSD_PORT + # _APP_STATSD_PORT port: 8125 smtp: - ## _APP_SMTP_HOST + # _APP_SMTP_HOST host: "" - ## _APP_SMTP_PORT + # _APP_SMTP_PORT port: "" - ## _APP_SMTP_SECURE + # _APP_SMTP_SECURE secure: "" - ## _APP_SMTP_USERNAME + # _APP_SMTP_USERNAME username: "" - ## _APP_SMTP_PASSWORD + # _APP_SMTP_PASSWORD password: "" sms: - ## _APP_SMS_PROVIDER + # _APP_SMS_PROVIDER provider: "" - ## _APP_SMS_FROM + # _APP_SMS_FROM from: "" functions: - ## _APP_FUNCTIONS_SIZE_LIMIT + # _APP_FUNCTIONS_SIZE_LIMIT sizeLimit: 30000000 - ## _APP_FUNCTIONS_TIMEOUT + # _APP_FUNCTIONS_TIMEOUT timeout: 900 - ## _APP_FUNCTIONS_BUILD_TIMEOUT + # _APP_FUNCTIONS_BUILD_TIMEOUT buildTimeout: 900 - ## _APP_FUNCTIONS_CPUS + # _APP_FUNCTIONS_CPUS cpus: "" - ## _APP_FUNCTIONS_MEMORY + # _APP_FUNCTIONS_MEMORY memory: "" - ## _APP_FUNCTIONS_INACTIVE_THRESHOLD + # _APP_FUNCTIONS_INACTIVE_THRESHOLD inactiveThreshold: 600 - ## _APP_FUNCTIONS_MAINTENANCE_INTERVAL + # _APP_FUNCTIONS_MAINTENANCE_INTERVAL maintenanceInterval: 600 - ## _APP_FUNCTIONS_RUNTIMES + # _APP_FUNCTIONS_RUNTIMES runtimes: - php-8.0 - node-18.0 - python-3.9 - ruby-3.1 executor: - ## _APP_EXECUTOR_SECRET + # _APP_EXECUTOR_SECRET secret: "" - ## _APP_EXECUTOR_HOST + # _APP_EXECUTOR_HOST host: "" maintenance: - ## _APP_MAINTENANCE_INTERVAL + # _APP_MAINTENANCE_INTERVAL interval: 86400 retention: - ## _APP_MAINTENANCE_RETENTION_CACHE + # _APP_MAINTENANCE_RETENTION_CACHE cache: 2592000 - ## _APP_MAINTENANCE_RETENTION_EXECUTION + # _APP_MAINTENANCE_RETENTION_EXECUTION execution: 1209600 - ## _APP_MAINTENANCE_RETENTION_ABUSE + # _APP_MAINTENANCE_RETENTION_ABUSE abuse: 86400 - ## _APP_MAINTENANCE_RETENTION_AUDIT + # _APP_MAINTENANCE_RETENTION_AUDIT audit: 1209600 - ## _APP_MAINTENANCE_RETENTION_USAGE_HOURLY + # _APP_MAINTENANCE_RETENTION_USAGE_HOURLY usageHourly: 8640000 - ## _APP_MAINTENANCE_RETENTION_SCHEDULES + # _APP_MAINTENANCE_RETENTION_SCHEDULES schedules: 86400 usage: - ## _APP_USAGE_AGGREGATION_INTERVAL + # _APP_USAGE_AGGREGATION_INTERVAL aggregationInterval: 5 - ## _APP_USAGE_STATS + # _APP_USAGE_STATS stats: enabled logging: - ## _APP_LOGGING_PROVIDER + # _APP_LOGGING_PROVIDER provider: "" - ## _APP_LOGGING_CONFIG + # _APP_LOGGING_CONFIG config: "" graphql: - ## _APP_GRAPHQL_MAX_BATCH_SIZE + # _APP_GRAPHQL_MAX_BATCH_SIZE maxBatchSize: 10 - ## _APP_GRAPHQL_MAX_COMPLEXITY + # _APP_GRAPHQL_MAX_COMPLEXITY maxComplexity: 250 - ## _APP_GRAPHQL_MAX_DEPTH + # _APP_GRAPHQL_MAX_DEPTH maxDepth: 3 dockerHub: - ## _APP_DOCKER_HUB_USERNAME + # _APP_DOCKER_HUB_USERNAME username: "" - ## _APP_DOCKER_HUB_PASSWORD + # _APP_DOCKER_HUB_PASSWORD password: "" vcs: github: - ## _APP_VCS_GITHUB_APP_NAME + # _APP_VCS_GITHUB_APP_NAME appName: "" - ## _APP_VCS_GITHUB_PRIVATE_KEY + # _APP_VCS_GITHUB_PRIVATE_KEY privateKey: disabled - ## _APP_VCS_GITHUB_APP_ID + # _APP_VCS_GITHUB_APP_ID appId: "" - ## _APP_VCS_GITHUB_CLIENT_ID + # _APP_VCS_GITHUB_CLIENT_ID clientId: "" - ## _APP_VCS_GITHUB_CLIENT_SECRET + # _APP_VCS_GITHUB_CLIENT_SECRET clientSecret: "" - ## _APP_VCS_GITHUB_WEBHOOK_SECRET + # _APP_VCS_GITHUB_WEBHOOK_SECRET webhookSecret: "" migrations: firebase: - ## _APP_MIGRATIONS_FIREBASE_CLIENT_ID + # _APP_MIGRATIONS_FIREBASE_CLIENT_ID clientId: "" - ## _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET + # _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET clientSecret: "" assistant: openAi: - ## _APP_ASSISTANT_OPENAI_API_KEY + # _APP_ASSISTANT_OPENAI_API_KEY apiKey: "" -## Kubernetes cluster domain name +# -- The domain name of the Kubernetes cluster clusterDomain: cluster.local -## Shared pod labels +# -- Common label shared across pods podLabels: {} -## Shared pod annotations +# -- Common annotations shared across pods podAnnotations: {} -## Appwrite components +# Appwrite components components: - ## - ## CORE - ## APPWRITE STUDIO (WEBUI) - ## + # + # CORE + # APPWRITE STUDIO (WEBUI) + # core: + # -- Core (aka Appwrite Studio - WebUI) component's image data image: registry: &appwriteImgReg docker.io repository: &appwriteImgRep appwrite/appwrite tag: &appwriteImgTag 1.4.13 pullPolicy: &appwriteImgPullP IfNotPresent + # -- Startup command for the app command: - /bin/sh - -c + # -- Startup command arguments for the app args: - php - -e - app/http.php - -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php + # -- Attach previously defined environment variables to the pod env: true - ## Only effect if autoscaling false + # -- The number of instances in which the application will run. Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # -- Setup autoscaling to enable HPA (HorizontalPodAutoscaler). + # To enable autoscaling also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -304,7 +308,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # -- Setup resource limits and requests for the app resources: {} # limits: # cpu: 100m @@ -312,15 +316,21 @@ components: # requests: # cpu: 100m # memory: 128Mi + # -- The labels that the application's pod will get. + # Will be extended with the common pod labels, what is defined in the global. podLabels: {} + # -- The annotations that the application's pod will get. + # Will be extended with the common pod labels, what is defined in the global. podAnnotations: {} deploymentStrategy: type: RollingUpdate maxUnavailable: 1 + # -- Define the rediness probe readinessProbe: httpGet: path: /api/health port: 80 + # -- Define the liveness probe livenessProbe: httpGet: path: /api/health @@ -328,13 +338,16 @@ components: initialDelaySeconds: 30 timeoutSeconds: 30 failureThreshold: 10 + # -- Choose the right restart condition when the app has to be restarted. + # Available options: Always | OnFailure restartPolicy: OnFailure + # -- podSecurityContext: runAsNonRoot: true runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -351,7 +364,7 @@ components: containerPort: 80 protocol: TCP - ## Service configuration + # Service configuration service: type: ClusterIP ports: @@ -360,7 +373,7 @@ components: port: 80 targetPort: 80 - ## Ingress configuration + # Ingress configuration ingress: enabled: false className: "" @@ -384,16 +397,16 @@ components: # hosts: # - domain.name - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -411,15 +424,15 @@ components: egress: - {} - ## - ## EXECUTOR - ## + # + # EXECUTOR + # executor: - ## - ## MAINTENANCE - ## + # + # MAINTENANCE + # maintenance: image: registry: *appwriteImgReg @@ -429,10 +442,10 @@ components: command: - "maintenance" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -440,7 +453,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -459,7 +472,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -476,16 +489,16 @@ components: containerPort: 80 protocol: TCP - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -495,9 +508,9 @@ components: - {} - ## - ## REALTIME - ## + # + # REALTIME + # realtime: image: registry: *appwriteImgReg @@ -507,10 +520,10 @@ components: command: - "realtime" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -518,7 +531,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -548,7 +561,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -565,7 +578,7 @@ components: containerPort: 80 protocol: TCP - ## Service configuration + # Service configuration service: type: ClusterIP ports: @@ -574,7 +587,7 @@ components: port: 80 targetPort: 80 - ## Ingress configuration + # Ingress configuration ingress: enabled: false className: "" @@ -598,16 +611,16 @@ components: # hosts: # - domain.name - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -625,9 +638,9 @@ components: egress: {} - ## - ## SCHEDULE - ## + # + # SCHEDULE + # schedule: image: registry: *appwriteImgReg @@ -637,10 +650,10 @@ components: command: - "schedule" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -648,7 +661,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -667,7 +680,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -680,16 +693,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -698,9 +711,9 @@ components: egress: - {} - ## - ## TELEGRAF - ## + # + # TELEGRAF + # telegraf: image: registry: docker.io @@ -708,10 +721,10 @@ components: tag: 1.4.0 pullPolicy: IfNotPresent env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -719,7 +732,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -738,7 +751,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -751,16 +764,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -770,9 +783,9 @@ components: - {} - ## - ## USAGE - ## + # + # USAGE + # usage: image: registry: *appwriteImgReg @@ -782,10 +795,10 @@ components: command: - "usage" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -793,7 +806,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -812,7 +825,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -825,16 +838,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -844,13 +857,14 @@ components: - {} - ## - ## WORKERS - ## + # + # WORKERS + # + # @ignore workers: - ## - ## AUDITS - ## + # + # AUDITS + # audits: image: registry: *appwriteImgReg @@ -860,10 +874,10 @@ components: command: - "worker-audits" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -871,7 +885,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -890,7 +904,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -903,16 +917,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -922,9 +936,9 @@ components: - {} - ## - ## BUILDS - ## + # + # BUILDS + # builds: image: registry: *appwriteImgReg @@ -934,10 +948,10 @@ components: command: - "worker-builds" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -945,7 +959,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -964,7 +978,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -977,16 +991,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -996,9 +1010,9 @@ components: - {} - ## - ## CERTIFICATES - ## + # + # CERTIFICATES + # certificates: image: registry: *appwriteImgReg @@ -1008,10 +1022,10 @@ components: command: - "worker-certificates" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -1019,7 +1033,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -1038,7 +1052,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -1051,16 +1065,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -1070,9 +1084,9 @@ components: - {} - ## - ## DATABASES - ## + # + # DATABASES + # databases: image: registry: *appwriteImgReg @@ -1082,10 +1096,10 @@ components: command: - "worker-databases" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -1093,7 +1107,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -1112,7 +1126,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -1125,16 +1139,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -1144,9 +1158,9 @@ components: - {} - ## - ## DELETES - ## + # + # DELETES + # deletes: image: registry: *appwriteImgReg @@ -1156,10 +1170,10 @@ components: command: - "worker-deletes" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -1167,7 +1181,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -1186,7 +1200,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -1199,16 +1213,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -1218,9 +1232,9 @@ components: - {} - ## - ## FUNCTIONS - ## + # + # FUNCTIONS + # functions: image: registry: *appwriteImgReg @@ -1230,10 +1244,10 @@ components: command: - "worker-functions" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -1241,7 +1255,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -1260,7 +1274,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -1273,16 +1287,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -1292,9 +1306,9 @@ components: - {} - ## - ## MAILS - ## + # + # MAILS + # mails: image: registry: *appwriteImgReg @@ -1304,10 +1318,10 @@ components: command: - "worker-mails" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -1315,7 +1329,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -1334,7 +1348,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -1347,16 +1361,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -1366,9 +1380,9 @@ components: - {} - ## - ## MESSAGING - ## + # + # MESSAGING + # messaging: image: registry: *appwriteImgReg @@ -1378,10 +1392,10 @@ components: command: - "worker-messaging" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -1389,7 +1403,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -1408,7 +1422,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -1421,16 +1435,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -1440,9 +1454,9 @@ components: - {} - ## - ## WEBHOOKS - ## + # + # WEBHOOKS + # webhooks: image: registry: *appwriteImgReg @@ -1452,10 +1466,10 @@ components: command: - "worker-webhooks" env: true - ## Only effect if autoscaling false + # Only effect if autoscaling false replicaCount: 1 - ## Setup autoscaling to enable HPA (HorizontalPodAutoscaler) - ## To enable also need to configure the resource limits + # Setup autoscaling to enable HPA (HorizontalPodAutoscaler) + # To enable also need to configure the resource limits autoscaling: enabled: false minReplicas: 1 @@ -1463,7 +1477,7 @@ components: targetCPU: "60" targetMemory: "" behavior: {} - ## Setup resource limits and requests + # Setup resource limits and requests resources: {} # limits: # cpu: 100m @@ -1482,7 +1496,7 @@ components: runAsUser: 472 runAsGroup: 472 fsGroup: 472 - ## Enable it when deployed as statefulset + # Enable it when deployed as statefulset fsGroupChangePolicy: OnRootMismatch containerSecurityContext: allowPrivilegeEscalation: false @@ -1495,16 +1509,16 @@ components: tolerations: [] affinity: {} - ## PodDisruptionBudget configuration + # PodDisruptionBudget configuration podDisruption: enabled: false config: # minAvailable: 2 # maxUnavailable: 1 - ## >= 1.27 + # >= 1.27 # unhealthyPodEvictionPolicy: AlwaysAllow - ## NetworkPolicy configuration + # NetworkPolicy configuration networkPolicy: enabled: false policyTypes: @@ -1516,20 +1530,20 @@ components: -## -## Bitnami Sub-Charts for required backend services (Redis, MariaDB, InfluxDB) -## +# +# Bitnami Sub-Charts for required backend services (Redis, MariaDB, InfluxDB) +# -## Bitnami Redis subchart +# Bitnami Redis subchart redis: enabled: false auth: enabled: false sentinel: false -## Bitnami MariaDB subchart +# Bitnami MariaDB subchart mariadb: enabled: false -## Bitnami InfluxDB subchart +# Bitnami InfluxDB subchart influxdb: enabled: false auth: diff --git a/index.yaml b/index.yaml new file mode 100644 index 0000000..3525acc --- /dev/null +++ b/index.yaml @@ -0,0 +1,35 @@ +apiVersion: v1 +entries: + appwrite-helm: + - apiVersion: v2 + appVersion: 1.4.13 + created: "2023-11-24T15:03:10.151975+01:00" + dependencies: + - condition: redis.enabled + name: redis + repository: https://charts.bitnami.com/bitnami + version: 18.4.0 + - condition: mariadb.enabled + name: mariadb + repository: https://charts.bitnami.com/bitnami + version: 14.1.2 + - condition: influxdb.enabled + name: influxdb + repository: https://charts.bitnami.com/bitnami + version: 5.10.2 + description: An unofficial Helm chart to deploy Appwrite + digest: 2a23cfcfa641bbac2d70c9b6df5d8f849426cdc67be6d5af392cf17a7f1e3581 + icon: https://appwrite.io/images/logos/logo.svg + keywords: + - Appwrite + - appwrite + kubeVersion: '>=1.26' + maintainers: + - name: Marton Schneider + url: https://github.com/schneidermr + name: appwrite-helm + type: application + urls: + - appwrite-helm-0.1.0.tgz + version: 0.1.0 +generated: "2023-11-24T15:03:10.15199+01:00"