[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 apiVersion: v2
appVersion: 4.1.1 appVersion: 4.6.0
description: Flood is a monitoring service for various torrent clients description: Flood is a monitoring service for various torrent clients
name: flood name: flood
version: 4.4.0 version: 5.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- flood - flood
@ -20,4 +20,4 @@ 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.2

View File

@ -1,6 +1,6 @@
# flood # 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 Flood is a monitoring service for various torrent clients
@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version | | 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 ## TL;DR
@ -76,16 +76,14 @@ N/A
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| env.FLOOD_OPTION_RUNDIR | string | `"/data"` | | | 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). |
| image.pullPolicy | string | `"IfNotPresent"` | | | env.FLOOD_OPTION_RUNDIR | string | `"/data"` | Where to store Flood's runtime files (eg. database) |
| image.repository | string | `"jesec/flood"` | | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.tag | string | `"4.1.1"` | | | image.repository | string | `"jesec/flood"` | image repository |
| ingress.enabled | bool | `false` | | | image.tag | string | `"4.6.0"` | image tag |
| persistence.data.emptyDir.enabled | bool | `false` | | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence.data.enabled | bool | `false` | | | persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| persistence.data.mountPath | string | `"/data"` | | | service | object | See values.yaml | Configures service settings for the chart. |
| service.port.port | int | `3000` | |
| strategy.type | string | `"Recreate"` | |
## Changelog ## 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). 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] ### [5.0.0]
#### Added
- N/A
#### Changed #### 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 [5.0.0]: #500
- N/A
[1.0.0]: #1.0.0
## Support ## 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). 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] ### [5.0.0]
#### Added
- N/A
#### Changed #### 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 [5.0.0]: #500
- N/A
[1.0.0]: #1.0.0
{{- end -}} {{- end -}}

View File

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

View File

@ -6,40 +6,36 @@
# #
image: image:
# -- image repository
repository: jesec/flood repository: jesec/flood
# -- image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: 4.1.1 # -- image tag
tag: 4.6.0
strategy: # -- environment variables. See more environment variables in the [flood documentation] (https://github.com/jesec/flood/blob/v4.6.0/config.ts)
type: Recreate # Note: The environmental variables are not case sensitive (e.g. FLOOD_OPTION_port=FLOOD_OPTION_PORT).
# @default -- See below
# Other environment variables that can be configure can be seen at
# https://github.com/jesec/flood/blob/master/config.cli.js
env: env:
# -- Where to store Flood's runtime files (eg. database)
FLOOD_OPTION_RUNDIR: /data FLOOD_OPTION_RUNDIR: /data
# -- Configures service settings for the chart.
# @default -- See values.yaml
service: service:
port: main:
ports:
http:
port: 3000 port: 3000
ingress: ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false enabled: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence: persistence:
data: data:
enabled: false 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: ""