[vaultwarden] Update persistence (#1263)

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-11-01 13:17:39 +01:00 committed by GitHub
parent 637acca530
commit bb0adce751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 44 additions and 9 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.22.2 appVersion: 1.22.2
description: Vaultwarden is a Bitwarden compatable server in Rust description: Vaultwarden is a Bitwarden compatable server in Rust
name: vaultwarden name: vaultwarden
version: 3.2.0 version: 3.2.1
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- Vaultwarden - Vaultwarden

View File

@ -1,6 +1,6 @@
# vaultwarden # vaultwarden
![Version: 3.2.0](https://img.shields.io/badge/Version-3.2.0-informational?style=flat-square) ![AppVersion: 1.22.2](https://img.shields.io/badge/AppVersion-1.22.2-informational?style=flat-square) ![Version: 3.2.1](https://img.shields.io/badge/Version-3.2.1-informational?style=flat-square) ![AppVersion: 1.22.2](https://img.shields.io/badge/AppVersion-1.22.2-informational?style=flat-square)
Vaultwarden is a Bitwarden compatable server in Rust Vaultwarden is a Bitwarden compatable server in Rust
@ -69,7 +69,15 @@ helm install vaultwarden k8s-at-home/vaultwarden -f values.yaml
## Custom configuration ## Custom configuration
N/A The Vaultwarden chart requires the `/config` folder to exist. In order to provide this, some type of storage needs to be implemented.
For testing purposes, the following config snippet will work:
````yaml
persistence:
config:
enabled: true
type: emptyDir
````
## Values ## Values
@ -95,6 +103,16 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [3.2.1]
#### Added
- Mentioned that some kind of persistence is required on `/config` mountpoint.
#### Fixed
- Updated ct-values to properly create emptyDir
### [3.1.3] ### [3.1.3]
#### Changed #### Changed
@ -124,6 +142,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Initial version, Succeding Bitwarden_RS. - Initial version, Succeding Bitwarden_RS.
[3.2.1]: #321
[3.1.3]: #313
[3.0.0]: #300 [3.0.0]: #300
[2.0.0]: #200 [2.0.0]: #200
[1.0.0]: #100 [1.0.0]: #100

View File

@ -9,6 +9,16 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [3.2.1]
#### Added
- Mentioned that some kind of persistence is required on `/config` mountpoint.
#### Fixed
- Updated ct-values to properly create emptyDir
### [3.1.3] ### [3.1.3]
#### Changed #### Changed
@ -38,6 +48,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Initial version, Succeding Bitwarden_RS. - Initial version, Succeding Bitwarden_RS.
[3.1.3]: #313
[3.0.0]: #300 [3.0.0]: #300
[2.0.0]: #200 [2.0.0]: #200
[1.0.0]: #100 [1.0.0]: #100

View File

@ -5,5 +5,13 @@
{{- define "custom.custom.configuration" -}} {{- define "custom.custom.configuration" -}}
{{ template "custom.custom.configuration.header" . }} {{ template "custom.custom.configuration.header" . }}
N/A The Vaultwarden chart requires the `/config` folder to exist. In order to provide this, some type of storage needs to be implemented.
For testing purposes, the following config snippet will work:
````yaml
persistence:
config:
enabled: true
type: emptyDir
````
{{- end -}} {{- end -}}

View File

@ -1,5 +1,4 @@
persistence: persistence:
config: config:
enabled: true enabled: true
emptyDir: type: emptyDir
enabled: true

View File

@ -59,9 +59,6 @@ ingress:
persistence: persistence:
config: config:
enabled: false enabled: false
emptydir:
enabled: false
# https://github.com/bitnami/charts/tree/master/bitnami/mariadb/#installing-the-chart # https://github.com/bitnami/charts/tree/master/bitnami/mariadb/#installing-the-chart
mariadb: mariadb: