Compare commits

..

3 Commits

Author SHA1 Message Date
1a9f4d4f10
update README to include new chart 2024-02-14 21:38:07 +00:00
a9e48d153e
create README with helm-docs 2024-02-14 21:35:57 +00:00
f511f383ec
add config for enabling/disabling authentication 2024-02-14 21:29:39 +00:00
4 changed files with 66 additions and 4 deletions

View File

@ -34,6 +34,7 @@ I will generally only maintain the charts that I am currently using. See below f
|focalboard|Kanban board software by Mattermost|https://www.focalboard.com/|Yes|
|jellyfin|Open source media management system|https://jellyfin.org|Yes|
|tandoor-recipes|Digital Recipe managment|https://tandoor.dev/|Yes|
|silverbullet|Note-taking application optimized for people with a hacker mindset|https://silverbullet.md/|Yes|
## Contributing

View File

@ -0,0 +1,55 @@
# silverbullet
![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: 0.7.1](https://img.shields.io/badge/AppVersion-0.7.1-informational?style=flat-square)
A Helm chart for SilverBullet - a note-taking application optimized for people with a hacker mindset
**Homepage:** <https://silverbullet.md/>
## Source Code
* <https://github.com/silverbulletmd/silverbullet>
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"zefhemel/silverbullet"` | |
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
| ingress.enabled | bool | `false` | |
| ingress.hosts[0].host | string | `"silverbullet.local"` | |
| ingress.hosts[0].paths[0].path | string | `"/"` | |
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
| ingress.tls | list | `[]` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| persistence.accessMode | string | `"ReadWriteOnce"` | |
| persistence.annotations | object | `{}` | |
| persistence.enabled | bool | `false` | Persistence config for the /space volume |
| persistence.existingClaim | string | `""` | |
| persistence.size | string | `"1Gi"` | |
| persistence.storageClass | string | `""` | |
| podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | |
| resources | object | `{}` | |
| securityContext.readOnlyRootFilesystem | bool | `true` | |
| securityContext.runAsNonRoot | bool | `true` | |
| securityContext.runAsUser | int | `1000` | |
| service.port | int | `3000` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.annotations | object | `{}` | |
| 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 |
| silverbullet.authentication | bool | `true` | Enable/disable user and password authentication |
| silverbullet.pass | string | `"silverbullet"` | Password to use for logging in |
| silverbullet.user | string | `"admin"` | Username to use for logging in |
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0)

View File

@ -38,8 +38,10 @@ spec:
containerPort: {{ .Values.service.port }}
protocol: TCP
env:
{{- if .Values.silverbullet.authentication }}
- name: SB_USER
value: "{{ .Values.silverbullet.user }}:{{ .Values.silverbullet.pass }}"
{{- end }}
livenessProbe:
httpGet:
path: /

View File

@ -5,7 +5,7 @@
image:
repository: zefhemel/silverbullet
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
@ -13,12 +13,11 @@ nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
# -- Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
# -- The name of the service account to use. If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
@ -39,10 +38,15 @@ service:
port: 3000
silverbullet:
# -- Enable/disable user and password authentication
authentication: true
# -- Username to use for logging in
user: admin
# -- Password to use for logging in
pass: silverbullet
persistence:
# -- Persistence config for the /space volume
enabled: false
existingClaim: ""
annotations: {}