[flood] Migrate to common v3 (#996)

* [flood] Migrate to common v3

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>

* Add accessMode and size

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>

* Fix errors

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
This commit is contained in:
nιcнolaѕ wιlde 2021-06-12 15:59:47 -07:00 committed by GitHub
parent d6686e5805
commit 7f4f247a33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 64 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 4.1.1
appVersion: 4.6.0
description: Flood is a monitoring service for various torrent clients
name: flood
version: 4.4.0
version: 5.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- flood
@ -20,4 +20,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2

View File

@ -1,6 +1,6 @@
# flood
![Version: 4.4.0](https://img.shields.io/badge/Version-4.4.0-informational?style=flat-square) ![AppVersion: 4.1.1](https://img.shields.io/badge/AppVersion-4.1.1-informational?style=flat-square)
![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: 4.6.0](https://img.shields.io/badge/AppVersion-4.6.0-informational?style=flat-square)
Flood is a monitoring service for various torrent clients
@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.2 |
## TL;DR
@ -76,16 +76,14 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.FLOOD_OPTION_RUNDIR | string | `"/data"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"jesec/flood"` | |
| image.tag | string | `"4.1.1"` | |
| ingress.enabled | bool | `false` | |
| persistence.data.emptyDir.enabled | bool | `false` | |
| persistence.data.enabled | bool | `false` | |
| persistence.data.mountPath | string | `"/data"` | |
| service.port.port | int | `3000` | |
| strategy.type | string | `"Recreate"` | |
| env | object | See below | environment variables. See more environment variables in the [flood documentation] (https://github.com/jesec/flood/blob/v4.6.0/config.ts) Note: The environmental variables are not case sensitive (e.g. FLOOD_OPTION_port=FLOOD_OPTION_PORT). |
| env.FLOOD_OPTION_RUNDIR | string | `"/data"` | Where to store Flood's runtime files (eg. database) |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"jesec/flood"` | image repository |
| image.tag | string | `"4.6.0"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog
@ -93,21 +91,15 @@ 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).
### [1.0.0]
#### Added
- N/A
### [5.0.0]
#### Changed
- N/A
- **BREAKING**: Upgraded the common library dependency to version 3.0.2. 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.2/charts/stable/common/) for the up-to-date values.
- Changed image tag to `4.6.0`.
#### Removed
- N/A
[1.0.0]: #1.0.0
[5.0.0]: #500
## Support

View File

@ -9,19 +9,13 @@ 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).
### [1.0.0]
#### Added
- N/A
### [5.0.0]
#### Changed
- N/A
- **BREAKING**: Upgraded the common library dependency to version 3.0.2. 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.2/charts/stable/common/) for the up-to-date values.
- Changed image tag to `4.6.0`.
#### Removed
- N/A
[1.0.0]: #1.0.0
[5.0.0]: #500
{{- end -}}

View File

@ -1,6 +1,5 @@
persistence:
data:
enabled: true
emptyDir:
enabled: true
mountPath: /data
accessMode: ReadWriteOnce
size: 1Gi

View File

@ -6,40 +6,36 @@
#
image:
# -- image repository
repository: jesec/flood
# -- image pull policy
pullPolicy: IfNotPresent
tag: 4.1.1
# -- image tag
tag: 4.6.0
strategy:
type: Recreate
# Other environment variables that can be configure can be seen at
# https://github.com/jesec/flood/blob/master/config.cli.js
# -- environment variables. See more environment variables in the [flood documentation] (https://github.com/jesec/flood/blob/v4.6.0/config.ts)
# Note: The environmental variables are not case sensitive (e.g. FLOOD_OPTION_port=FLOOD_OPTION_PORT).
# @default -- See below
env:
# -- Where to store Flood's runtime files (eg. database)
FLOOD_OPTION_RUNDIR: /data
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
port:
port: 3000
main:
ports:
http:
port: 3000
ingress:
enabled: false
# -- 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:
data:
enabled: false
emptyDir:
enabled: false
mountPath: /data
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""