Skip to content

bnason/silverbullet-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SilverBullet Helm Chart

Version: 0.4.0 Type: application AppVersion: 0.7.7

A SilverBullet chart for Kubernetes. SilverBullet is a note-taking application optimized for people with a hacker mindset.

TL;DR;

helm repo add silverbullet https://bnason.github.io/silverbullet-helm
helm --namespace=silverbullet --create-namespace install silverbullet silverbullet/silverbullet

Introduction

This chart deploys SilverBullet on a Kubernetes cluster using the Helm package manager.

The chart supports the SilverBullet plug for Git by either checking out a user repository or a "skeleton" repository. If the user repository is specified but does not exist, the skeleton repository will be used as the first commit for the users repository.

Installing the Chart

The chart can be installed as follows:

helm repo add silverbullet https://bnason.github.io/silverbullet-helm
helm --namespace=silverbullet --create-namespace install silverbullet silverbullet/silverbullet

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

helm --namespace=silverbullet --create-namespace install silverbullet silverbullet/silverbullet -f values.yaml

Tip: You can use the default values.yaml

Uninstalling the Chart

To uninstall/delete the silverbullet deployment:

$ helm uninstall silverbullet

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

Values

Key Type Default Description
admin.password string ""
admin.username string ""
affinity object {}
extraManifests list []
fullnameOverride string ""
git.branch string "main"
git.email string ""
git.name string ""
git.repository string ""
image.pullPolicy string "IfNotPresent"
image.repository string "zefhemel/silverbullet"
image.tag string ""
imagePullSecrets list []
ingress.annotations object {}
ingress.className string ""
ingress.enabled bool false
ingress.hosts[0].host string "chart-example.local"
ingress.hosts[0].paths[0].path string "/"
ingress.hosts[0].paths[0].pathType string "ImplementationSpecific"
ingress.tls list []
init.branch string "main"
init.image.pullPolicy string "IfNotPresent"
init.image.repository string "ghcr.io/bnason/silverbullet-init"
init.image.tag string "main"
init.repository string ""
livenessProbe.httpGet.path string "/"
livenessProbe.httpGet.port string "http"
nameOverride string ""
nodeSelector object {}
podAnnotations object {}
podLabels object {}
podSecurityContext object {}
readinessProbe.httpGet.path string "/"
readinessProbe.httpGet.port string "http"
resources object {}
runMode.readOnly bool false
runMode.syncOnly bool false
securityContext object {}
service.port int 3000
service.type string "ClusterIP"
serviceAccount.annotations object {}
serviceAccount.automount bool true
serviceAccount.create bool true
serviceAccount.name string ""
ssh."id_rsa.pub" string ""
ssh.id_rsa string ""
ssh.known_hosts string ""
tolerations list []
volumeMounts[0].mountPath string "/root/.ssh"
volumeMounts[0].name string "ssh"
volumeMounts[0].readOnly bool true
volumes list []

See values.yaml for configuration notes. Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,