Skip to content

Commit

Permalink
Update chart and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0tonin committed Jul 9, 2024
1 parent b13459d commit 623c24a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ For Kubernetes users, Mikochi is installable using a [helm chart](https://artifa
```sh
helm repo add zer0tonin https://zer0tonin.github.io/helm-charts/
helm install mikochi zer0tonin/mikochi \
--version 1.5.1 --set mikochi.username=zer0tonin \
--version 1.6.0 --set mikochi.username=zer0tonin \
--set mikochi.password=my_super_password --set persistence.enabled=true
```

Expand All @@ -47,7 +47,7 @@ helm install mikochi zer0tonin/mikochi \
Launch the app using a pre-compiled binary from the latest [release](https://github.com/zer0tonin/Mikochi/releases):

```sh
wget -c https://github.com/zer0tonin/Mikochi/releases/download/1.5.1/mikochi-linux-amd64.tar.gz -O - | tar -xz
wget -c https://github.com/zer0tonin/Mikochi/releases/download/1.6.0/mikochi-linux-amd64.tar.gz -O - | tar -xz
HOST=127.0.0.1:8080 USERNAME=zer0tonin PASSWORD=horsebatterysomething ./app/mikochi
```

Expand All @@ -65,6 +65,7 @@ Mikochi is configured using environment variables
| CERT_CA | The path to a TLS certificate | null |
| CERT_KEY | The path to the key associated with CERT_CA | null |
| NO_AUTH | If true, disables all authentication | false |
| GZIP | If true, enables gzip compression | false |

Note: it is recommended to not manually set JWT_SECRET, as getting a new randomly generated secret everytime when mikochi starts let's you invalidate authentication tokens by restarting the process.

Expand Down
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.5.1
version: 1.6.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.5.1"
appVersion: "1.6.0"
2 changes: 2 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ spec:
secretKeyRef:
name: {{ include "Mikochi.fullname" . }}
key: password
- name: PASSWORD
value: {{ .Values.mikochi.gzip }}
volumeMounts:
- name: mikochi-data
mountPath: "/data"
Expand Down
3 changes: 2 additions & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
mikochi:
username: "root"
password: "pass"
gzip: false

image:
repository: zer0tonin/mikochi
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "1.5.1"
tag: "1.6.0"

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 623c24a

Please sign in to comment.