memos
by wittdennis
Helm chartv3.0.2App 26.11.2MITVerified publisher
A Helm chart for memos (https://usememos.com)
About this chart
memos
A Helm chart for memos (https://usememos.com)
Maintainers
| Name | Url | |
|---|---|---|
| Dennis Witt | https://github.com/wittdennis |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| autoscaling | object | {"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80} | This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/ |
| fullnameOverride | string | "" | |
| image | object | {"pullPolicy":"IfNotPresent","registry":"docker.io","repository":"neosmemo/memos","tag":""} | This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/ |
| image.pullPolicy | string | "IfNotPresent" | This sets the pull policy for images. |
| image.tag | string | "" | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ |
| ingress | object | {"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]} | This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/ |
| livenessProbe | object | {"failureThreshold":10,"httpGet":{"path":"/","port":"http"},"initialDelaySeconds":30,"periodSeconds":100} | This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ |
| memos.databaseDriver | string | "sqlite" | The database driver for memos (see: https://usememos.com/docs/configuration/database) |
| memos.existingDsnSecret | object | {"key":null,"name":null} | Use this when databaseDriver != sqlite to define a secret where the data source name is contained |
| memos.instanceUrl | required | nil | The public url of the instance |
| memos.logLevel | string | "warn" | The log level for memos |
| nameOverride | string | "" | This is to override the chart name. |
| nodeSelector | object | {} | |
| persistence.accessMode | string | "ReadWriteOnce" | |
| persistence.enabled | bool | true | |
| persistence.existingVolumeClaim | string | nil | |
| persistence.size | string | "10Gi" | |
| persistence.storageClass | string | nil | |
| podAnnotations | object | {} | This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
| podLabels | object | {} | This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| podSecurityContext.fsGroup | int | 1000 | |
| podSecurityContext.fsGroupChangePolicy | string | "OnRootMismatch" | |
| podSecurityContext.runAsGroup | int | 1000 | |
| podSecurityContext.runAsNonRoot | bool | true | |
| podSecurityContext.runAsUser | int | 1000 | |
| podSecurityContext.seccompProfile.type | string | "RuntimeDefault" | |
| readinessProbe.httpGet.path | string | "/healthz" | |
| readinessProbe.httpGet.port | string | "http" | |
| readinessProbe.initialDelaySeconds | int | 30 | |
| replicaCount | int | 1 | This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ |
| resources | object | {} | |
| route | object | {"additionalRules":[],"annotations":{},"enabled":false,"filters":[],"hostnames":[],"labels":{},"matches":[{"path":{"type":"PathPrefix","value":"/"}}],"parentRefs":[]} | This block is for setting up gateway api http route. More information can be found here: https://gateway-api.sigs.k8s.io/ |
| route.additionalRules | list | [] | Any custom rule you want to specify |
| route.annotations | object | {} | Additional annotations for the HTTPRoute |
| route.enabled | bool | false | Flag to control if route should be created |
| route.filters | list | [] | Filter that should be added to the default rule |
| route.hostnames | list | [] | Hostnames of the HTTPRoute |
| route.labels | object | {} | Additional labels for the HTTPRoute |
| route.matches | list | [{"path":{"type":"PathPrefix","value":"/"}}] | Matches for the default rule |
| route.parentRefs | list | [] | Gateway reference that the HTTPRoute should bind against |
| securityContext.allowPrivilegeEscalation | bool | false | |
| securityContext.capabilities.drop[0] | string | "ALL" | |
| securityContext.privileged | bool | false | |
| securityContext.readOnlyRootFilesystem | bool | true | |
| securityContext.runAsGroup | int | 1000 | |
| securityContext.runAsNonRoot | bool | true | |
| securityContext.runAsUser | int | 1000 | |
| securityContext.seccompProfile.type | string | "RuntimeDefault" | |
| service | object | {"port":80,"type":"ClusterIP"} | This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/ |
| service.port | int | 80 | This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports |
| service.type | string | "ClusterIP" | This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types |
| serviceAccount | object | {"annotations":{},"automount":false,"create":true,"name":""} | This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/ |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.automount | bool | false | Automatically mount a ServiceAccount's API credentials? |
| serviceAccount.create | bool | true | Specifies whether a service account should be created |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | [] | |
| volumeMounts | list | [] | Additional volumeMounts on the output Deployment definition. |
| volumes | list | [] | Additional volumes on the output Deployment definition. |
Deploy memos with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has memos on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmemos is pinned at v3.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply