Skip to content

Commit

Permalink
move files around
Browse files Browse the repository at this point in the history
  • Loading branch information
perfectra1n committed May 24, 2024
1 parent 38244c9 commit 060bc94
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 14 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Compiled Helm chart dependencies
charts/
# Ignore the debugging output
charts/trilium/charts/
charts/trilium/Chart.lock

# Testing
__snapshot__/

# Docs
_site/output1.yaml

output*
output*
6 changes: 0 additions & 6 deletions Chart.lock

This file was deleted.

21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
# ||WIP|| Trilium Helm Chart
# Trilium Helm Chart

This is the Helm Chart for Trilium, to easily deploy Trilium on your Kubernetes cluster. This chart leverages the [bjw-s common library](https://github.com/bjw-s/helm-charts/blob/common-3.1.0/charts/library/common/values.yaml) to further increase the ease of use when deploying. Please view the previous link to see what values you can change/tweak to your needs [here](https://github.com/bjw-s/helm-charts/blob/common-3.1.0/charts/library/common/values.yaml).


Below are some examples of what you could provide for the chart's values.

## Example values
## Requirements
- A working Kubernetes cluster.
- A PVC provisioner.
- If you don't have one, but have something that serves an NFS share, take a look at the following
- [nfs-subdir-external-provisioner](https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner)
- [democratic-csi](https://github.com/democratic-csi/democratic-csi)

## Deploying

```bash
helm repo add trilium https://triliumnext.github.io/helm-charts
helm install --create-namespace --namespace trilium trilium trilium/trilium -f values.yaml
```


### Example values

Below are some examples of what you could provide for the chart's values.
```yaml
image:
repository: zadam/trilium
Expand Down
30 changes: 30 additions & 0 deletions charts/trilium/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS

# helm-docs templates
*.gotmpl

# helm unit tests
tests/
2 changes: 1 addition & 1 deletion Chart.yaml → charts/trilium/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ kubeVersion: ">= 1.19"
dependencies:
- name: common
repository: https://bjw-s.github.io/helm-charts
version: 3.1.0
version: 3.2.1
keywords:
- electron
- wiki
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion values.yaml → charts/trilium/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ controllers:
trilium:
image:
repository: zadam/trilium
tag: 0.63.5
tag: 0.63.6
pullPolicy: IfNotPresent
env:
key: "value"
Expand Down

0 comments on commit 060bc94

Please sign in to comment.