Skip to content

Commit

Permalink
memo: init at 0.14 (#45)
Browse files Browse the repository at this point in the history
* logo bitwarden

* memo: init at 0.14

* réel lien de source
  • Loading branch information
Quentin JOLY authored Aug 4, 2023
1 parent cef2fd9 commit 948a914
Show file tree
Hide file tree
Showing 6 changed files with 218 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/memo/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: https://rubxkube.github.io/common-charts
version: v0.2.0
digest: sha256:e762807db3d8e62991f5c5cbfcbee1318f2d55b532113d4f9a7debe4434f85aa
generated: "2023-07-30T14:10:55.129591506+02:00"
21 changes: 21 additions & 0 deletions charts/memo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
apiVersion: v2
name: memo
description: Memo (A privacy-first, lightweight note-taking service)
type: application
version: 1.0.0
appVersion: "0.14"
keywords:
- memo
home: https://usememos.com/
icon: https://raw.githubusercontent.com/RubxKube/charts/main/img/memo-logo.png
maintainers:
- email: [email protected]
name: QJOLY
url: https://thebidouilleur.xyz
sources:
- https://github.com/usememos/memos
dependencies:
- name: common
repository: https://rubxkube.github.io/common-charts
version: v0.2.0
89 changes: 89 additions & 0 deletions charts/memo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# memo

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.14](https://img.shields.io/badge/AppVersion-0.14-informational?style=flat-square)

Memo (A privacy-first, lightweight note-taking service)

**Homepage:** <https://usememos.com/>

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| QJOLY | <[email protected]> | <https://thebidouilleur.xyz> |

## Source Code

* <https://github.com/oetiker/Memo>

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| https://rubxkube.github.io/common-charts | common | v0.2.0 |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| common.app.containerPort | int | `5230` | |
| common.app.servicePort | int | `80` | |
| common.deployment.cpuLimit | string | `nil` | |
| common.deployment.cpuRequest | string | `nil` | |
| common.deployment.memoryLimit | string | `nil` | |
| common.deployment.memoryRequest | string | `nil` | |
| common.deployment.strategy.rollingUpdate.maxSurge | string | `"25%"` | |
| common.deployment.strategy.rollingUpdate.maxUnavailable | string | `"25%"` | |
| common.deployment.strategy.type | string | `"RollingUpdate"` | |
| common.hpa.avgCpuUtilization | int | `50` | |
| common.hpa.enabled | bool | `false` | |
| common.hpa.maxReplicas | int | `2` | |
| common.hpa.minReplicas | int | `1` | |
| common.image.pullPolicy | string | `"Always"` | |
| common.image.repository | string | `"neosmemo/memos"` | |
| common.image.repositorySettings.isPrivate | bool | `false` | |
| common.image.repositorySettings.secretName | string | `nil` | |
| common.image.tag | float | `0.14` | |
| common.ingress.certResolver | string | `"letsencrypt"` | |
| common.ingress.enabled | bool | `false` | |
| common.ingress.entrypoint | string | `"websecure"` | |
| common.ingress.hostName | string | `"memo.thoughtless.eu"` | |
| common.ingress.ingressClassName | string | `nil` | |
| common.ingress.isIngressRoute | bool | `true` | |
| common.ingress.tls.enabled | bool | `true` | |
| common.ingress.tls.secretName | string | `""` | |
| common.livenessProbe.failureThreshold | int | `1` | |
| common.livenessProbe.httpGet.path | string | `"/"` | |
| common.livenessProbe.httpGet.port | int | `5230` | |
| common.livenessProbe.initialDelaySeconds | int | `30` | |
| common.livenessProbe.periodSeconds | int | `60` | |
| common.livenessProbe.timeoutSeconds | int | `3` | |
| common.livenessProbeEnabled | bool | `true` | |
| common.persistence.enabled | bool | `true` | |
| common.persistence.volumes[0].containerMount | string | `"/var/opt/memos"` | |
| common.persistence.volumes[0].name | string | `"data"` | |
| common.persistence.volumes[0].pvcClaim | string | `""` | |
| common.persistence.volumes[0].size | string | `"5Gi"` | |
| common.persistence.volumes[0].storageClassName | string | `""` | |
| common.readinessProbe.failureThreshold | int | `2` | |
| common.readinessProbe.httpGet.path | string | `"/"` | |
| common.readinessProbe.httpGet.port | int | `5230` | |
| common.readinessProbe.initialDelaySeconds | int | `30` | |
| common.readinessProbe.periodSeconds | int | `30` | |
| common.readinessProbe.timeoutSeconds | int | `3` | |
| common.readinessProbeEnabled | bool | `true` | |
| common.startupProbe.failureThreshold | int | `20` | |
| common.startupProbe.httpGet.path | string | `"/"` | |
| common.startupProbe.httpGet.port | int | `5230` | |
| common.startupProbe.periodSeconds | int | `10` | |
| common.startupProbe.timeoutSeconds | int | `1` | |
| common.startupProbeEnabled | bool | `true` | |
| common.tests.classicHttp.enabled | bool | `true` | |
| common.tests.curlHostHeader.enabled | bool | `true` | |
| common.tests.curlHostHeader.path | string | `"/"` | |
| common.variables.nonSecret | object | `{}` | |
| common.variables.secret | object | `{}` | |
| define | int | `5230` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Binary file added charts/memo/charts/common-v0.2.0.tgz
Binary file not shown.
102 changes: 102 additions & 0 deletions charts/memo/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
---
define: &containerPort 5230

common:
app:
servicePort: 80
containerPort: *containerPort

# deployment
deployment:
memoryRequest: null
cpuRequest: null
memoryLimit: null
cpuLimit: null
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%

# container
image:
repositorySettings:
isPrivate: false
secretName: null
repository: neosmemo/memos
tag: 0.14
pullPolicy: Always

# ingress
ingress:
enabled: false
hostName: memo.thoughtless.eu
tls:
enabled: true
secretName: ""
# For Ingress CRD
ingressClassName:
# For IngressRoute CRD
isIngressRoute: true
entrypoint: websecure
certResolver: letsencrypt # leave empty if you don't use, tls.enabled must be true and secretName must me empty

# env variables
variables:
secret: {}
nonSecret: {}

# horizontal autoscaler
hpa:
enabled: false
minReplicas: 1
maxReplicas: 2
avgCpuUtilization: 50

# startupProbe
startupProbeEnabled: true
startupProbe:
httpGet:
path: "/"
port: *containerPort
periodSeconds: 10
failureThreshold: 20
timeoutSeconds: 1

# readinessProbe
readinessProbeEnabled: true
readinessProbe:
httpGet:
path: "/"
port: *containerPort
initialDelaySeconds: 30
periodSeconds: 30
failureThreshold: 2
timeoutSeconds: 3

# livenessProbe
livenessProbeEnabled: true
livenessProbe:
httpGet:
path: "/"
port: *containerPort
initialDelaySeconds: 30
periodSeconds: 60
failureThreshold: 1
timeoutSeconds: 3

persistence:
enabled: true
volumes:
- name: "data"
storageClassName: "" # leave empty if you want to use default
size: "5Gi" # We recommend to allocate a minimum of 1GB if you do not use attachments
pvcClaim: "" # leave empty unless if you want to use an existing PVC
containerMount: "/var/opt/memos"

tests:
classicHttp: # default helm test method
enabled: true
curlHostHeader: # curl using ingress.hostName as Host in header
enabled: true
path: "/"
Binary file added img/memo-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 948a914

Please sign in to comment.