[bookstack] Migrate to common v3 (#950)

* [bookstack] Upgrade to common v3
This commit is contained in:
nιcнolaѕ wιlde 2021-06-10 00:02:36 -07:00 committed by GitHub
parent 3595da8ca5
commit 98603fdc8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 62 additions and 42 deletions

View File

@ -1,9 +1,9 @@
--- ---
apiVersion: v2 apiVersion: v2
appVersion: v21.04.2 appVersion: v21.05.1
description: A simple, self-hosted, easy-to-use platform for organising and storing information. description: A simple, self-hosted, easy-to-use platform for organising and storing information.
name: bookstack name: bookstack
version: 1.1.1 version: 2.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- bookstack - bookstack
@ -23,7 +23,7 @@ maintainers:
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.k8s-at-home.com repository: https://library-charts.k8s-at-home.com
version: 2.5.0 version: 3.0.1
- name: mariadb - name: mariadb
version: 9.3.13 version: 9.3.13
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami

View File

@ -1,6 +1,6 @@
# bookstack # bookstack
![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![AppVersion: v21.04.2](https://img.shields.io/badge/AppVersion-v21.04.2-informational?style=flat-square) ![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: v21.05.1](https://img.shields.io/badge/AppVersion-v21.05.1-informational?style=flat-square)
A simple, self-hosted, easy-to-use platform for organising and storing information. A simple, self-hosted, easy-to-use platform for organising and storing information.
@ -20,7 +20,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.13 | | https://charts.bitnami.com/bitnami | mariadb | 9.3.13 |
| https://library-charts.k8s-at-home.com | common | 2.5.0 | | https://library-charts.k8s-at-home.com | common | 3.0.1 |
## TL;DR ## TL;DR
@ -77,22 +77,15 @@ N/A
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| env | object | `{}` | | | env | object | See below | environment variables. See more environment variables in the [bookstack documentation](https://hub.docker.com/r/linuxserver/bookstack) |
| image.pullPolicy | string | `"IfNotPresent"` | | | env.TZ | string | `"UTC"` | Set the container timezone |
| image.repository | string | `"ghcr.io/linuxserver/bookstack"` | | | image.pullPolicy | string | `"IfNotPresent"` | image tag |
| image.tag | string | `"version-v21.04.2"` | | | image.repository | string | `"ghcr.io/linuxserver/bookstack"` | image repository |
| ingress.enabled | bool | `false` | | | image.tag | string | `"version-v21.05.1"` | image pull policy |
| mariadb.architecture | string | `"standalone"` | | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| mariadb.auth.database | string | `"bookstack"` | | | mariadb | object | See values.yaml | Enable and configure mariadb database subchart under this key. For more options see [mariadb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mariadb). |
| mariadb.auth.password | string | `"bookstack"` | | | persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| mariadb.auth.username | string | `"bookstack"` | | | service | object | See values.yaml | Configures service settings for the chart. |
| mariadb.enabled | bool | `false` | |
| mariadb.primary.persistence.enabled | bool | `false` | |
| persistence.config.emptyDir.enabled | bool | `false` | |
| persistence.config.enabled | bool | `false` | |
| persistence.config.mountPath | string | `"/config"` | |
| service.port.port | int | `80` | |
| strategy.type | string | `"Recreate"` | |
## Changelog ## Changelog
@ -100,6 +93,14 @@ 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).
### [2.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
- Changed image tag to `version-v21.05.1`.
### [1.0.0] ### [1.0.0]
#### Added #### Added
@ -114,7 +115,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A - N/A
[1.0.0]: #1.0.0 [2.0.0]: #200
[1.0.0]: #100
## Support ## Support

View File

@ -9,6 +9,14 @@ 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).
### [2.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
- Changed image tag to `version-v21.05.1`.
### [1.0.0] ### [1.0.0]
#### Added #### Added
@ -23,5 +31,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A - N/A
[1.0.0]: #1.0.0 [2.0.0]: #200
[1.0.0]: #100
{{- end -}} {{- end -}}

View File

@ -6,38 +6,47 @@
# #
image: image:
# -- image repository
repository: ghcr.io/linuxserver/bookstack repository: ghcr.io/linuxserver/bookstack
# -- image tag
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: version-v21.04.2 # -- image pull policy
tag: version-v21.05.1
strategy: # -- environment variables. See more environment variables in the [bookstack documentation](https://hub.docker.com/r/linuxserver/bookstack)
type: Recreate # @default -- See below
env:
# See more environment variables in the bookstack documentation # -- Set the container timezone
# https://hub.docker.com/r/linuxserver/bookstack TZ: UTC
env: {}
# TZ:
# DB_HOST: # DB_HOST:
# DB_USER: # DB_USER:
# DB_PASS: # DB_PASS:
# DB_DATABASE: # DB_DATABASE:
# -- Configures service settings for the chart.
# @default -- See values.yaml
service: service:
port: main:
port: 80 ports:
http:
port: 80
ingress: ingress:
enabled: false # -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
persistence: main:
config:
enabled: false enabled: false
emptyDir:
enabled: false
mountPath: /config
# Enabled mariadb # -- Configure persistence settings for the chart under this key.
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb # @default -- See values.yaml
persistence: {}
# config:
# enabled: false
# mountPath: /config
# -- Enable and configure mariadb database subchart under this key.
# For more options see [mariadb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mariadb).
# @default -- See values.yaml
mariadb: mariadb:
enabled: false enabled: false
architecture: standalone architecture: standalone