Merge pull request #8 from johanneskastl/20230309_add_wallabag

add wallabag
This commit is contained in:
Johannes Kastl
2023-03-09 21:10:49 +01:00
committed by GitHub
6 changed files with 289 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
---
apiVersion: v2
appVersion: 2.4.2
description: A self hostable application for saving web pages, freely.
name: wallabag
version: 8.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- wallabag
home: https://github.com/johanneskastl/helm-charts/tree/maain/charts/wallabag
icon: "https://raw.githubusercontent.com/wallabag/logo/master/app-android/logo-app-android-icon-bg-white-512.png"
sources:
- https://github.com/wallabag/docker
- https://hub.docker.com/wallabag/wallabag
maintainers:
- name: johanneskastl
email: kastl@b1-systems.de
dependencies:
- name: common
repository: https://johanneskastl.github.io/helm-charts/
version: 5.0.0
- name: redis
version: 16.13.1
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled
- name: postgresql
version: 11.6.12
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: mariadb
version: 11.0.14
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled
annotations:
artifacthub.io/changes: |-
- kind: changed
description: Forked the chart from k8s-at-home (at version 7.1.2)

115
charts/wallabag/README.md Normal file
View File

@@ -0,0 +1,115 @@
# wallabag
![Version: 8.0.0](https://img.shields.io/badge/Version-8.0.0-informational?style=flat-square) ![AppVersion: 2.4.2](https://img.shields.io/badge/AppVersion-2.4.2-informational?style=flat-square)
A self hostable application for saving web pages, freely.
Forked from the chart in the [k8s-at-home repository](https://github.com/k8s-at-home/charts) at version 7.1.2.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/johanneskastl/helm-charts/issues/)**
## Source Code
* <https://github.com/wallabag/docker>
* <https://hub.docker.com/wallabag/wallabag>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 11.0.14 |
| https://charts.bitnami.com/bitnami | postgresql | 11.6.12 |
| https://charts.bitnami.com/bitnami | redis | 16.13.1 |
| https://johanneskastl.github.io/helm-charts/ | common | 5.0.0 |
## TL;DR
```console
helm repo add johanneskastl-helm-charts https://johanneskastl.github.io/helm-charts/
helm repo update
helm install wallabag johanneskastl-helm-charts/wallabag
```
## Installing the Chart
To install the chart with the release name `wallabag`
```console
helm install wallabag johanneskastl-helm-charts/wallabag
```
## Uninstalling the Chart
To uninstall the `wallabag` deployment
```console
helm uninstall wallabag
```
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
## Configuration
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/johanneskastl/helm-charts/tree/main/charts/common/values.yaml) from the [common library](https://github.com/johanneskastl/helm-charts/tree/main/charts/common).
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install wallabag \
--set env.TZ="America/New York" \
johanneskastl-helm-charts/wallabag
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install wallabag johanneskastl-helm-charts/wallabag -f values.yaml
```
## Custom configuration
Default login is `wallabag:wallabag`.
## Values
**Important**: When deploying an application Helm chart you can add more values from the common library chart [here](https://github.com/johanneskastl/helm-charts/tree/main/charts/common)
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | See below | environment variables. See [image docs](https://github.com/wallabag/docker) for more details. |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"wallabag/wallabag"` | image repository |
| image.tag | string | `"2.4.2"` | image tag Note: Upgrading the wallabag version generally requires a migration. https://doc.wallabag.org/en/admin/upgrade.html |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| 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) |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| postgresql | object | See values.yaml | Enable and configure postgresql database subchart under this key. For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) |
| redis | object | See values.yaml | Enable and configure redis subchart under this key. For more options see [redis chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/redis) |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog
### Version 8.0.0
#### Added
N/A
#### Changed
* Forked the chart from k8s-at-home (at version 10.5.2)
#### Fixed
N/A
## Support
Open an [issue](https://github.com/johanneskastl/helm-charts/issues/).

View File

@@ -0,0 +1,9 @@
{{- define "custom.custom.configuration.header" -}}
## Custom configuration
{{- end -}}
{{- define "custom.custom.configuration" -}}
{{ template "custom.custom.configuration.header" . }}
Default login is `wallabag:wallabag`.
{{- end -}}

View File

@@ -0,0 +1 @@
{{- include "common.notes.defaultNotes" . -}}

View File

@@ -0,0 +1 @@
{{ include "common.all" . }}

126
charts/wallabag/values.yaml Normal file
View File

@@ -0,0 +1,126 @@
#
# IMPORTANT NOTE
#
# This chart inherits from the common library chart. You can check the default values/options here:
# https://github.com/johanneskastl/helm-charts/tree/main/charts/common/values.yaml
#
image:
# -- image repository
repository: wallabag/wallabag
# -- image tag
# Note: Upgrading the wallabag version generally requires a migration. https://doc.wallabag.org/en/admin/upgrade.html
tag: 2.4.2
# -- image pull policy
pullPolicy: IfNotPresent
# -- environment variables. See [image docs](https://github.com/wallabag/docker) for more details.
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# MYSQL_ROOT_PASSWORD:
# POSTGRES_PASSWORD:
# POSTGRES_USER:
# POPULATE_DATABASE:
## For SYMFONY__ENV__ parameters' documentation, visit https://doc.wallabag.org/en/admin/parameters.html
## redis, rabbitmq, and mailer are optional. database is not optional.
# SYMFONY__ENV__DATABASE_DRIVER:
# SYMFONY__ENV__DATABASE_DRIVER_CLASS:
# SYMFONY__ENV__DATABASE_HOST:
# SYMFONY__ENV__DATABASE_PORT:
# SYMFONY__ENV__DATABASE_NAME:
# SYMFONY__ENV__DATABASE_USER:
# SYMFONY__ENV__DATABASE_PASSWORD:
# SYMFONY__ENV__DATABASE_PATH:
# SYMFONY__ENV__DATABASE_TABLE_PREFIX:
# SYMFONY__ENV__DATABASE_SOCKET:
# SYMFONY__ENV__DATABASE_CHARSET:
# SYMFONY__ENV__DOMAIN_NAME:
# SYMFONY__ENV__MAILER_TRANSPORT:
# SYMFONY__ENV__MAILER_USER:
# SYMFONY__ENV__MAILER_PASSWORD:
# SYMFONY__ENV__MAILER_HOST:
# SYMFONY__ENV__MAILER_PORT:
# SYMFONY__ENV__MAILER_ENCRYPTION:
# SYMFONY__ENV__MAILER_AUTH_MODE:
# SYMFONY__ENV__LOCALE:
# SYMFONY__ENV__SECRET:
# SYMFONY__ENV__TWOFACTOR_AUTH:
# SYMFONY__ENV__TWOFACTOR_SENDER:
# SYMFONY__ENV__FOSUSER_REGISTRATION:
# SYMFONY__ENV__FOSUSER_CONFIRMATION:
# SYMFONY__ENV__FOS_OAUTH_SERVER_ACCESS_TOKEN_LIFETIME:
# SYMFONY__ENV__FOS_OAUTH_SERVER_REFRESH_TOKEN_LIFETIME:
# SYMFONY__ENV__FROM_EMAIL:
# SYMFONY__ENV__RSS_LIMIT:
# SYMFONY__ENV__RABBITMQ_HOST:
# SYMFONY__ENV__RABBITMQ_PORT:
# SYMFONY__ENV__RABBITMQ_USER:
# SYMFONY__ENV__RABBITMQ_PASSWORD:
# SYMFONY__ENV__REDIS_SCHEME:
# SYMFONY__ENV__REDIS_HOST:
# SYMFONY__ENV__REDIS_PORT:
# SYMFONY__ENV__REDIS_PATH:
# SYMFONY__ENV__REDIS_PASSWORD:
# SYMFONY__ENV__SENTRY_DSN:
# SYMFONY__ENV__SERVER_NAME:
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
ports:
http:
port: 80
ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
images:
enabled: false
mountPath: /var/www/wallabag/web/assets/images
cache:
## Note that if you make cache persistent, you may need to clear it (with `bin/console cache:clear --env=prod`) to apply any changes you make to wallabag's parameters.
enabled: false
mountPath: /var/www/wallabag/var/cache
# -- 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:
enabled: false
architecture: standalone
auth:
database: wallabag
username: wallabag
password: wallabag-pass
rootPassword: wallabag-rootpass
primary:
persistence:
enabled: false
# -- Enable and configure postgresql database subchart under this key.
# For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql)
# @default -- See values.yaml
postgresql:
enabled: false
postgresqlUsername: wallabag
postgresqlPassword: wallabag-pass
postgresqlDatabase: wallabag
persistence:
enabled: false
# -- Enable and configure redis subchart under this key.
# For more options see [redis chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/redis)
# @default -- See values.yaml
redis:
enabled: false
auth:
enabled: false