[airsonic] Upgrade to common v3 (#941)

* [airsonic] Upgrade to common v3

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>

* Update chart metadata

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>

* Fix linting issue

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-06-08 20:52:08 +02:00 committed by GitHub
parent 1bed9c1fc2
commit 404ab7f4cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 65 additions and 64 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 10.6.2 appVersion: 10.6.2
description: Airsonic is a Free and Open Source community driven media server description: Airsonic is a Free and Open Source community driven media server
name: airsonic name: airsonic
version: 2.4.0 version: 3.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- airsonic - airsonic
@ -18,4 +18,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.0

View File

@ -1,6 +1,6 @@
# airsonic # airsonic
![Version: 2.4.0](https://img.shields.io/badge/Version-2.4.0-informational?style=flat-square) ![AppVersion: 10.6.2](https://img.shields.io/badge/AppVersion-10.6.2-informational?style=flat-square) ![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: 10.6.2](https://img.shields.io/badge/AppVersion-10.6.2-informational?style=flat-square)
Airsonic is a Free and Open Source community driven media server Airsonic is a Free and Open Source community driven media server
@ -20,7 +20,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.0 |
## TL;DR ## TL;DR
@ -79,27 +79,18 @@ by not constantly monitoring media folders.
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| env | object | `{}` | | | env | object | See below | environment variables. See [image docs](https://docs.linuxserver.io/images/docker-airsonic#environment-variables-e) for more details. |
| image.pullPolicy | string | `"IfNotPresent"` | | | env.CONTEXT_PATH | string | `nil` | Used to set the base path for reverse proxies eg. /booksonic, /books, etc. |
| image.repository | string | `"linuxserver/airsonic"` | | | env.JAVA_OPTS | string | `nil` | For passing additional java options. For some reverse proxies, you may need to pass `JAVA_OPTS=-Dserver.use-forward-headers=true` for airsonic to generate the proper URL schemes. |
| image.tag | string | `"v10.6.2-ls97"` | | | env.PGID | string | `"1001"` | Specify the group ID the application will run as |
| ingress.enabled | bool | `false` | | | env.PUID | string | `"1001"` | Specify the user ID the application will run as |
| persistence.config.emptyDir.enabled | bool | `false` | | | env.TZ | string | `"UTC"` | Set the container timezone |
| persistence.config.enabled | bool | `false` | | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| persistence.media.emptyDir.enabled | bool | `false` | | | image.repository | string | `"linuxserver/airsonic"` | image repository |
| persistence.media.enabled | bool | `false` | | | image.tag | string | `"version-v10.6.2"` | image tag |
| persistence.media.mountPath | string | `"/media"` | | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence.music.emptyDir.enabled | bool | `false` | | | persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| persistence.music.enabled | bool | `false` | | | service | object | See values.yaml | Configures service settings for the chart. Normally this does not need to be modified. |
| persistence.music.mountPath | string | `"/music"` | |
| persistence.playlists.emptyDir.enabled | bool | `false` | |
| persistence.playlists.enabled | bool | `false` | |
| persistence.playlists.mountPath | string | `"/playlists"` | |
| persistence.podcasts.emptyDir.enabled | bool | `false` | |
| persistence.podcasts.enabled | bool | `false` | |
| persistence.podcasts.mountPath | string | `"/podcasts"` | |
| service.port.port | int | `4040` | |
| strategy.type | string | `"Recreate"` | |
## Changelog ## Changelog
@ -107,11 +98,19 @@ 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.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. 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-v10.6.2`.
### [1.0.0] ### [1.0.0]
#### Added #### Added
- N/A - Initial version
#### Changed #### Changed
@ -121,6 +120,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A - N/A
[3.0.0]: #3.0.0
[1.0.0]: #1.0.0 [1.0.0]: #1.0.0
## Support ## Support

View File

@ -9,11 +9,19 @@ 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.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. 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-v10.6.2`.
### [1.0.0] ### [1.0.0]
#### Added #### Added
- N/A - Initial version
#### Changed #### Changed
@ -23,5 +31,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A - N/A
[3.0.0]: #3.0.0
[1.0.0]: #1.0.0 [1.0.0]: #1.0.0
{{- end -}} {{- end -}}

View File

@ -6,63 +6,55 @@
# #
image: image:
# -- image repository
repository: linuxserver/airsonic repository: linuxserver/airsonic
# -- image tag
tag: version-v10.6.2
# -- image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: v10.6.2-ls97
strategy:
type: Recreate
env: {}
# TZ: UTC
# PUID: "1001"
# PGID: "1001"
# CONTEXT_PATH: "url-base" # Used to set the base path for reverse proxies eg. /booksonic, /books, etc.
# JAVA_OPTS: "" # For passing additional java options. For some reverse proxies, you may need to pass JAVA_OPTS=-Dserver.use-forward-headers=true for airsonic to generate the proper URL schemes.
# -- environment variables. See [image docs](https://docs.linuxserver.io/images/docker-airsonic#environment-variables-e) for more details.
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# -- Specify the user ID the application will run as
PUID: "1001"
# -- Specify the group ID the application will run as
PGID: "1001"
# -- Used to set the base path for reverse proxies eg. /booksonic, /books, etc.
CONTEXT_PATH: # "url-base"
# -- For passing additional java options. For some reverse proxies, you may need to pass `JAVA_OPTS=-Dserver.use-forward-headers=true` for airsonic to generate the proper URL schemes.
JAVA_OPTS:
# -- Configures service settings for the chart. Normally this does not need to be modified.
# @default -- See values.yaml
service: service:
port: main:
port: 4040 ports:
http:
port: 4040
ingress: 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: persistence:
config: config:
enabled: false enabled: false
emptyDir:
enabled: false
music: music:
enabled: false enabled: false
emptyDir:
enabled: false
mountPath: /music mountPath: /music
## 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: ""
playlists: playlists:
enabled: false enabled: false
emptyDir:
enabled: false
mountPath: /playlists mountPath: /playlists
podcasts: podcasts:
enabled: false enabled: false
emptyDir:
enabled: false
mountPath: /podcasts mountPath: /podcasts
media: media:
enabled: false enabled: false
emptyDir:
enabled: false
mountPath: /media mountPath: /media