diff --git a/README.md b/README.md index 1acc180..1a57795 100644 --- a/README.md +++ b/README.md @@ -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 ``` @@ -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 ``` @@ -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. diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 82cb199..e76af97 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -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" diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index 6577bd0..a665fca 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -53,6 +53,8 @@ spec: secretKeyRef: name: {{ include "Mikochi.fullname" . }} key: password + - name: PASSWORD + value: {{ .Values.mikochi.gzip }} volumeMounts: - name: mikochi-data mountPath: "/data" diff --git a/helm/values.yaml b/helm/values.yaml index fe0f066..8f0de4b 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -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: ""