feat(airsonic-advanced): Add airsonic-advanced (#1671)

* feat(airsonic-advanced): Add airsonic-advanced

* document port

* temporary change image for testing

* break db to see that it actually works

* restore db

* Add envs on gui
This commit is contained in:
Stavros Kois 2022-01-10 19:11:26 +02:00 committed by GitHub
parent eefb12e100
commit 1f8db1f709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 1925 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
# helm-docs templates
*.gotmpl

View File

@ -0,0 +1,521 @@
# Changelog<br>
<a name="airsonic-4.0.30"></a>
### [airsonic-4.0.30](https://github.com/truecharts/apps/compare/airsonic-4.0.29...airsonic-4.0.30) (2022-01-04)
#### Chore
* update helm general non-major helm releases
<a name="airsonic-4.0.29"></a>
### [airsonic-4.0.29](https://github.com/truecharts/apps/compare/airsonic-4.0.28...airsonic-4.0.29) (2021-12-28)
#### Chore
* update helm general non-major helm releases ([#1623](https://github.com/truecharts/apps/issues/1623))
<a name="airsonic-4.0.28"></a>
### [airsonic-4.0.28](https://github.com/truecharts/apps/compare/airsonic-4.0.27...airsonic-4.0.28) (2021-12-21)
#### Chore
* update helm general non-major helm releases ([#1596](https://github.com/truecharts/apps/issues/1596))
<a name="airsonic-4.0.27"></a>
### [airsonic-4.0.27](https://github.com/truecharts/apps/compare/airsonic-4.0.26...airsonic-4.0.27) (2021-12-19)
#### Chore
* Last patch bump before RC2 branch-off
* remove `editable: true` as this is the default ([#1576](https://github.com/truecharts/apps/issues/1576))
<a name="airsonic-4.0.26"></a>
### [airsonic-4.0.26](https://github.com/truecharts/apps/compare/airsonic-4.0.25...airsonic-4.0.26) (2021-12-19)
#### Chore
* completely remove mountPath reference from GUI ([#1572](https://github.com/truecharts/apps/issues/1572))
* update helm general non-major helm releases ([#1571](https://github.com/truecharts/apps/issues/1571))
<a name="airsonic-4.0.25"></a>
### [airsonic-4.0.25](https://github.com/truecharts/apps/compare/airsonic-4.0.24...airsonic-4.0.25) (2021-12-18)
#### Chore
* cleanup questions by removing hidden dicts ([#1558](https://github.com/truecharts/apps/issues/1558))
* App-Icon Organization ([#1539](https://github.com/truecharts/apps/issues/1539))
<a name="airsonic-4.0.24"></a>
### [airsonic-4.0.24](https://github.com/truecharts/apps/compare/airsonic-4.0.23...airsonic-4.0.24) (2021-12-14)
#### Chore
* update helm general non-major helm releases ([#1535](https://github.com/truecharts/apps/issues/1535))
<a name="airsonic-4.0.23"></a>
### [airsonic-4.0.23](https://github.com/truecharts/apps/compare/airsonic-4.0.22...airsonic-4.0.23) (2021-12-13)
#### Chore
* move incubator apps to stable and bump everything
<a name="airsonic-4.0.22"></a>
### [airsonic-4.0.22](https://github.com/truecharts/apps/compare/airsonic-4.0.21...airsonic-4.0.22) (2021-12-11)
#### Chore
* update general helm non-major helm releases ([#1509](https://github.com/truecharts/apps/issues/1509))
<a name="airsonic-4.0.21"></a>
### [airsonic-4.0.21](https://github.com/truecharts/apps/compare/airsonic-4.0.20...airsonic-4.0.21) (2021-12-07)
#### Chore
* update non-major deps helm releases ([#1481](https://github.com/truecharts/apps/issues/1481))
<a name="airsonic-4.0.20"></a>
### airsonic-4.0.20 (2021-12-05)
#### Chore
* bump apps to generate security page
* move all container references to TCCR ([#1448](https://github.com/truecharts/apps/issues/1448))
* update non-major deps helm releases ([#1471](https://github.com/truecharts/apps/issues/1471))
* update non-major deps helm releases ([#1468](https://github.com/truecharts/apps/issues/1468))
* update non-major deps helm releases ([#1453](https://github.com/truecharts/apps/issues/1453))
* update non-major ([#1449](https://github.com/truecharts/apps/issues/1449))
* update non-major deps helm releases ([#1432](https://github.com/truecharts/apps/issues/1432))
#### Fix
* fix typo in theme selection ([#1428](https://github.com/truecharts/apps/issues/1428))
<a name="airsonic-4.0.19"></a>
### [airsonic-4.0.19](https://github.com/truecharts/apps/compare/airsonic-4.0.18...airsonic-4.0.19) (2021-12-05)
#### Chore
* update non-major deps helm releases ([#1468](https://github.com/truecharts/apps/issues/1468))
<a name="airsonic-4.0.18"></a>
### [airsonic-4.0.18](https://github.com/truecharts/apps/compare/airsonic-4.0.17...airsonic-4.0.18) (2021-12-04)
#### Chore
* bump apps to generate security page
<a name="airsonic-4.0.17"></a>
### [airsonic-4.0.17](https://github.com/truecharts/apps/compare/airsonic-4.0.16...airsonic-4.0.17) (2021-12-04)
#### Chore
* update non-major deps helm releases ([#1453](https://github.com/truecharts/apps/issues/1453))
<a name="airsonic-4.0.16"></a>
### [airsonic-4.0.16](https://github.com/truecharts/apps/compare/airsonic-4.0.15...airsonic-4.0.16) (2021-12-03)
#### Chore
* move all container references to TCCR ([#1448](https://github.com/truecharts/apps/issues/1448))
* update non-major ([#1449](https://github.com/truecharts/apps/issues/1449))
<a name="airsonic-4.0.15"></a>
### [airsonic-4.0.15](https://github.com/truecharts/apps/compare/airsonic-4.0.14...airsonic-4.0.15) (2021-11-30)
#### Chore
* update non-major deps helm releases ([#1432](https://github.com/truecharts/apps/issues/1432))
#### Fix
* move conflicting ports to 10xxx range ([#1415](https://github.com/truecharts/apps/issues/1415))
<a name="airsonic-4.0.14"></a>
### [airsonic-4.0.14](https://github.com/truecharts/apps/compare/airsonic-4.0.13...airsonic-4.0.14) (2021-11-23)
#### Chore
* update non-major deps helm releases ([#1386](https://github.com/truecharts/apps/issues/1386))
<a name="airsonic-4.0.13"></a>
### [airsonic-4.0.13](https://github.com/truecharts/apps/compare/airsonic-4.0.12...airsonic-4.0.13) (2021-11-22)
#### Chore
* update non-major deps helm releases ([#1383](https://github.com/truecharts/apps/issues/1383))
<a name="airsonic-4.0.12"></a>
### [airsonic-4.0.12](https://github.com/truecharts/apps/compare/airsonic-4.0.11...airsonic-4.0.12) (2021-11-16)
#### Chore
* update non-major deps helm releases ([#1345](https://github.com/truecharts/apps/issues/1345))
<a name="airsonic-4.0.11"></a>
### [airsonic-4.0.11](https://github.com/truecharts/apps/compare/airsonic-4.0.10...airsonic-4.0.11) (2021-11-15)
#### Chore
* persistence cleanup and small bugfixes ([#1329](https://github.com/truecharts/apps/issues/1329))
* update non-major deps helm releases ([#1338](https://github.com/truecharts/apps/issues/1338))
<a name="airsonic-4.0.10"></a>
### [airsonic-4.0.10](https://github.com/truecharts/apps/compare/airsonic-4.0.9...airsonic-4.0.10) (2021-11-14)
#### Chore
* fixes around the GUI refactor ([#1316](https://github.com/truecharts/apps/issues/1316))
* move port above advanced in GUI ([#1326](https://github.com/truecharts/apps/issues/1326))
* clean up Chart.yaml ([#1322](https://github.com/truecharts/apps/issues/1322))
* update non-major deps helm releases ([#1328](https://github.com/truecharts/apps/issues/1328))
* update non-major ([#1327](https://github.com/truecharts/apps/issues/1327))
#### Fix
* split udp and tcp ports ([#1321](https://github.com/truecharts/apps/issues/1321))
* Allow spaces in paths ([#1306](https://github.com/truecharts/apps/issues/1306))
<a name="airsonic-4.0.9"></a>
### [airsonic-4.0.9](https://github.com/truecharts/apps/compare/airsonic-4.0.8...airsonic-4.0.9) (2021-11-09)
#### Chore
* update non-major deps helm releases ([#1297](https://github.com/truecharts/apps/issues/1297))
<a name="airsonic-4.0.8"></a>
### [airsonic-4.0.8](https://github.com/truecharts/apps/compare/airsonic-4.0.7...airsonic-4.0.8) (2021-11-07)
#### Chore
* update non-major deps helm releases ([#1295](https://github.com/truecharts/apps/issues/1295))
<a name="airsonic-4.0.7"></a>
### [airsonic-4.0.7](https://github.com/truecharts/apps/compare/airsonic-4.0.6...airsonic-4.0.7) (2021-11-07)
#### Chore
* update non-major ([#1270](https://github.com/truecharts/apps/issues/1270))
<a name="airsonic-4.0.6"></a>
### [airsonic-4.0.6](https://github.com/truecharts/apps/compare/airsonic-4.0.5...airsonic-4.0.6) (2021-11-07)
#### Chore
* update non-major deps helm releases ([#1291](https://github.com/truecharts/apps/issues/1291))
#### Chore
* Simplify GUI for deployment, persistence and securityContext ([#1289](https://github.com/truecharts/apps/issues/1289))
#### Feat
* Simplify the Services GUI ([#1290](https://github.com/truecharts/apps/issues/1290))
<a name="airsonic-4.0.5"></a>
### [airsonic-4.0.5](https://github.com/truecharts/apps/compare/airsonic-4.0.4...airsonic-4.0.5) (2021-11-02)
#### Chore
* update non-major deps helm releases ([#1267](https://github.com/truecharts/apps/issues/1267))
<a name="airsonic-4.0.4"></a>
### [airsonic-4.0.4](https://github.com/truecharts/apps/compare/airsonic-4.0.3...airsonic-4.0.4) (2021-11-01)
#### Chore
* update non-major deps helm releases ([#1264](https://github.com/truecharts/apps/issues/1264))
<a name="airsonic-4.0.3"></a>
### [airsonic-4.0.3](https://github.com/truecharts/apps/compare/airsonic-4.0.2...airsonic-4.0.3) (2021-11-01)
#### Chore
* update non-major ([#1263](https://github.com/truecharts/apps/issues/1263))
<a name="airsonic-4.0.2"></a>
### [airsonic-4.0.2](https://github.com/truecharts/apps/compare/airsonic-4.0.1...airsonic-4.0.2) (2021-10-26)
#### Chore
* update non-major deps helm releases ([#1245](https://github.com/truecharts/apps/issues/1245))
<a name="airsonic-4.0.1"></a>
### [airsonic-4.0.1](https://github.com/truecharts/apps/compare/airsonic-4.0.0...airsonic-4.0.1) (2021-10-26)
#### Chore
* update helm chart common to v8.3.15 ([#1240](https://github.com/truecharts/apps/issues/1240))
<a name="airsonic-4.0.0"></a>
### [airsonic-4.0.0](https://github.com/truecharts/apps/compare/airsonic-3.0.20...airsonic-4.0.0) (2021-10-25)
#### Chore
* Adapt for TrueNAS SCALE RC1
<a name="airsonic-3.0.20"></a>
### [airsonic-3.0.20](https://github.com/truecharts/apps/compare/airsonic-3.0.18...airsonic-3.0.20) (2021-10-20)
#### Chore
* bump apps, remove duplicates and move incubator to stable for RC1
<a name="airsonic-3.0.16"></a>
### [airsonic-3.0.16](https://github.com/truecharts/apps/compare/airsonic-3.0.15...airsonic-3.0.16) (2021-10-20)
#### Chore
* bump versions to rerelease and fix icons
<a name="airsonic-3.0.15"></a>
### [airsonic-3.0.15](https://github.com/truecharts/apps/compare/airsonic-3.0.14...airsonic-3.0.15) (2021-10-19)
#### Change
* Project-Eclipse 3, Automatically generate item.yaml ([#1178](https://github.com/truecharts/apps/issues/1178))
#### Chore
* Project-Eclipse 5, move app-readme to automatic generation script ([#1181](https://github.com/truecharts/apps/issues/1181))
* Project-Eclipse part 2, adapting and cleaning changelog ([#1173](https://github.com/truecharts/apps/issues/1173))
* update helm chart common to v8.3.13 ([#1184](https://github.com/truecharts/apps/issues/1184))
* update non-major ([#1174](https://github.com/truecharts/apps/issues/1174))
#### Feat
* Project-Eclipse 4, Add App grading annotations to Chart.yaml ([#1180](https://github.com/truecharts/apps/issues/1180))
#### Refactor
* Project Eclipse Part 6, move questions.yaml to root App folder ([#1182](https://github.com/truecharts/apps/issues/1182))
<a name="airsonic-3.0.14"></a>
### [airsonic-3.0.14](https://github.com/truecharts/apps/compare/airsonic-3.0.13...airsonic-3.0.14) (2021-10-19)
#### Fix
* fix previous SCALE bugfix not correctly being applied
<a name="airsonic-3.0.13"></a>
### [airsonic-3.0.13](https://github.com/truecharts/apps/compare/airsonic-3.0.12...airsonic-3.0.13) (2021-10-19)
#### Fix
* Solve issues regarding ix_values.yaml not containing the image and tag definitions. ([#1176](https://github.com/truecharts/apps/issues/1176))
<a name="airsonic-3.0.12"></a>
### [airsonic-3.0.12](https://github.com/truecharts/apps/compare/airsonic-3.0.11...airsonic-3.0.12) (2021-10-18)
#### Refactor
* Project Eclipse - part 1 - remove ix_values.yaml ([#1168](https://github.com/truecharts/apps/issues/1168))
<a name="airsonic-3.0.11"></a>
### [airsonic-3.0.11](https://github.com/truecharts/apps/compare/airsonic-3.0.10...airsonic-3.0.11) (2021-10-17)
#### Chore
* update helm chart common to v8.3.10 ([#1160](https://github.com/truecharts/apps/issues/1160))
#### Fix
* force users using correct / prefix for mounPath ([#1156](https://github.com/truecharts/apps/issues/1156))
<a name="airsonic-3.0.10"></a>
### [airsonic-3.0.10](https://github.com/truecharts/apps/compare/airsonic-3.0.9...airsonic-3.0.10) (2021-10-13)
#### Chore
* update non-major deps helm releases ([#1133](https://github.com/truecharts/apps/issues/1133))
<a name="airsonic-3.0.9"></a>
### [airsonic-3.0.9](https://github.com/truecharts/apps/compare/airsonic-3.0.8...airsonic-3.0.9) (2021-10-12)
#### Chore
* update non-major deps helm releases ([#1126](https://github.com/truecharts/apps/issues/1126))
<a name="airsonic-3.0.8"></a>
### [airsonic-3.0.8](https://github.com/truecharts/apps/compare/airsonic-3.0.7...airsonic-3.0.8) (2021-10-12)
#### Chore
* update non-major ([#1122](https://github.com/truecharts/apps/issues/1122))
<a name="airsonic-3.0.7"></a>
### [airsonic-3.0.7](https://github.com/truecharts/apps/compare/airsonic-3.0.6...airsonic-3.0.7) (2021-10-12)
#### Chore
* update non-major deps helm releases ([#1123](https://github.com/truecharts/apps/issues/1123))
<a name="airsonic-3.0.6"></a>
### [airsonic-3.0.6](https://github.com/truecharts/apps/compare/airsonic-3.0.5...airsonic-3.0.6) (2021-10-05)
#### Chore
* update non-major deps helm releases ([#1099](https://github.com/truecharts/apps/issues/1099))
<a name="airsonic-3.0.5"></a>
### [airsonic-3.0.5](https://github.com/truecharts/apps/compare/airsonic-3.0.4...airsonic-3.0.5) (2021-10-05)
#### Chore
* update non-major ([#1098](https://github.com/truecharts/apps/issues/1098))
<a name="airsonic-3.0.4"></a>
### [airsonic-3.0.4](https://github.com/truecharts/apps/compare/airsonic-3.0.3...airsonic-3.0.4) (2021-09-29)
#### Chore
* update helm chart common to v8.0.13 ([#1060](https://github.com/truecharts/apps/issues/1060))
<a name="airsonic-3.0.2"></a>
### [airsonic-3.0.2](https://github.com/truecharts/apps/compare/airsonic-3.0.1...airsonic-3.0.2) (2021-09-28)
#### Chore
* update non-major ([#1046](https://github.com/truecharts/apps/issues/1046))
<a name="airsonic-3.0.1"></a>
### [airsonic-3.0.1](https://github.com/truecharts/apps/compare/airsonic-3.0.0...airsonic-3.0.1) (2021-09-26)
<a name="airsonic-3.0.0"></a>
### [airsonic-3.0.0](https://github.com/truecharts/apps/compare/airsonic-2.0.3...airsonic-3.0.0) (2021-09-26)
<a name="airsonic-2.0.3"></a>
### [airsonic-2.0.3](https://github.com/truecharts/apps/compare/airsonic-2.0.2...airsonic-2.0.3) (2021-09-21)
#### Chore
* update non-major deps helm releases ([#1014](https://github.com/truecharts/apps/issues/1014))
<a name="airsonic-2.0.2"></a>
### [airsonic-2.0.2](https://github.com/truecharts/apps/compare/airsonic-2.0.1...airsonic-2.0.2) (2021-09-21)
#### Chore
* update non-major ([#1013](https://github.com/truecharts/apps/issues/1013))
<a name="airsonic-2.0.1"></a>
### [airsonic-2.0.1](https://github.com/truecharts/apps/compare/airsonic-1.11.15...airsonic-2.0.1) (2021-09-13)
#### Chore
* move all LSIO containers to github registry ([#957](https://github.com/truecharts/apps/issues/957))
* update non-major ([#962](https://github.com/truecharts/apps/issues/962))
#### Feat
* add new GUI and VPN support to all Apps ([#977](https://github.com/truecharts/apps/issues/977))
* Add VPN addon and move some config to includes ([#973](https://github.com/truecharts/apps/issues/973))
* pin all container references to digests ([#963](https://github.com/truecharts/apps/issues/963))
* Move some common containers to our own containers
<a name="airsonic-1.11.15"></a>
## [airsonic-1.11.15](https://github.com/truecharts/apps/compare/airsonic-1.11.14...airsonic-1.11.15) (2021-09-08)
### Fix
* repair Hyperion and some misplaced GUI elements ([#922](https://github.com/truecharts/apps/issues/922))

View File

@ -0,0 +1,8 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide:
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.

View File

@ -0,0 +1,30 @@
apiVersion: v2
appVersion: "10.6.2"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.10.2
- condition: postgresql.enabled
name: postgresql
repository: https://truecharts.org/
version: 6.0.43
description: Airsonic is a Free and Open Source community driven media server
home: https://github.com/truecharts/apps/tree/master/charts/stable/airsonic-advanced
icon: https://truecharts.org/_static/img/appicons/airsonic-icon.png
keywords:
- airsonic
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: airsonic-advanced
sources:
- https://github.com/airsonic/airsonic-advanced
- https://hub.docker.com/r/airsonicadvanced/airsonic-advanced
version: 1.0.0
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,39 @@
# Introduction
Airsonic is a Free and Open Source community driven media server
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://github.com/airsonic/airsonic>
* <https://github.com/linuxserver/docker-airsonic>
* <https://github.com/k8s-at-home/charts/tree/master/charts/airsonic>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org | common | 8.10.2 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
## Uninstalling the Chart
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first.
- See the [Wiki](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,30 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | See below | environment variables. See [image docs](https://docs.linuxserver.io/images/docker-airsonic#environment-variables-e) for more details. |
| env.CONTEXT_PATH | string | `nil` | Used to set the base path for reverse proxies eg. /booksonic, /books, etc. |
| 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. |
| env.PUID | int | `568` | Specify the user ID the application will run as |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"tccr.io/truecharts/airsonic"` | image repository |
| image.tag | string | `"version-v10.6.2@sha256:f0065aa44fb1c38b7fc30d34e220138dc0a0c6477b78eb7f59015622c2052030"` | 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. |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `0` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `false` | |
| service | object | See values.yaml | Configures service settings for the chart. Normally this does not need to be modified. |
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,467 @@
# Include{groups}
portals:
web_portal:
protocols:
- "$kubernetes-resource_configmap_portal_protocol"
host:
- "$kubernetes-resource_configmap_portal_host"
ports:
- "$kubernetes-resource_configmap_portal_port"
questions:
- variable: portal
group: "Container Image"
label: "Configure Portal Button"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: "Enable"
description: "enable the portal button"
schema:
hidden: true
editable: false
type: boolean
default: true
# Include{global}
- variable: controller
group: "Controller"
label: ""
schema:
type: dict
attrs:
- variable: advanced
label: "Show Advanced Controller Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: type
description: "Please specify type of workload to deploy"
label: "(Advanced) Controller Type"
schema:
type: string
default: "deployment"
required: true
enum:
- value: "deployment"
description: "Deployment"
- value: "statefulset"
description: "Statefulset"
- value: "daemonset"
description: "Daemonset"
- variable: replicas
description: "Number of desired pod replicas"
label: "Desired Replicas"
schema:
type: int
default: 1
required: true
- variable: strategy
description: "Please specify type of workload to deploy"
label: "(Advanced) Update Strategy"
schema:
type: string
default: "Recreate"
required: true
enum:
- value: "Recreate"
description: "Recreate: Kill existing pods before creating new ones"
- value: "RollingUpdate"
description: "RollingUpdate: Create new pods and then kill old ones"
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
# Docker specific env
- variable: env
group: "Container Configuration"
label: "Image Environment"
schema:
type: dict
attrs:
# Include{fixedEnv}
- variable: PUID
label: "PUID"
description: "Sets the PUID env var for LinuxServer.io (compatible) containers"
schema:
type: int
default: 568
- variable: JAVA_OPTS
label: "JAVA_OPTS"
description: "JAVA_OPTS"
schema:
type: string
default: ""
- variable: CONTEXT_PATH
label: "CONTEXT_PATH"
description: "CONTEXT_PATH"
schema:
type: string
required: true
default: "/"
# Include{containerConfig}
- variable: service
group: "Networking and Services"
label: "Configure Service(s)"
schema:
type: dict
attrs:
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
type: dict
attrs:
# Include{serviceSelector}
- variable: main
label: "Main Service Port Configuration"
schema:
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 10122
required: true
- variable: advanced
label: "Show Advanced settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "HTTP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- variable: nodePort
label: "Node Port (Optional)"
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
schema:
type: int
min: 9000
max: 65535
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 4040
- variable: serviceexpert
group: "Networking and Services"
label: "Show Expert Config"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: hostNetwork
group: "Networking and Services"
label: "Host-Networking (Complicated)"
schema:
type: boolean
default: false
# Include{serviceExpert}
# Include{serviceList}
- variable: persistence
label: "Integrated Persistent Storage"
description: "Integrated Persistent Storage"
group: "Storage and Persistence"
schema:
type: dict
attrs:
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."
schema:
type: dict
attrs:
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
- variable: music
label: "App Music Storage"
description: "Stores the Application Music."
schema:
type: dict
attrs:
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
- variable: podcasts
label: "App Podcasts Storage"
description: "Stores the Application Podcast."
schema:
type: dict
attrs:
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
- variable: playlist
label: "App Playlist Storage"
description: "Stores the Application Playlist."
schema:
type: dict
attrs:
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
# Include{persistenceList}
- variable: ingress
label: ""
group: "Ingress"
schema:
type: dict
attrs:
- variable: main
label: "Main Ingress"
schema:
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressExpert}
# Include{ingressList}
- variable: advancedSecurity
label: "Show Advanced Security Settings"
group: "Security and Permissions"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: securityContext
label: "Security Context"
schema:
type: dict
attrs:
- variable: privileged
label: "Privileged mode"
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: false
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
type: boolean
default: false
- variable: podSecurityContext
group: "Security and Permissions"
label: "Pod Security Context"
schema:
type: dict
attrs:
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: The groupID this App of the user running the application"
schema:
type: int
default: 0
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
- variable: supplementalGroups
label: "supplemental Groups"
schema:
type: list
default: []
items:
- variable: supplementalGroupsEntry
label: "supplemental Group"
schema:
type: int
- variable: fsGroupChangePolicy
label: "When should we take ownership?"
schema:
type: string
default: "OnRootMismatch"
enum:
- value: "OnRootMismatch"
description: "OnRootMismatch"
- value: "Always"
description: "Always"
# Include{resources}
# Include{advanced}
# Include{addons}

File diff suppressed because one or more lines are too long

View File

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

View File

@ -0,0 +1,60 @@
image:
repository: airsonicadvanced/airsonic-advanced
tag: edge-11.0.0-SNAPSHOT.20220109073049
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
PUID: 568
TZ: UTC
AIRSONIC_DIR: "/"
# -- 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:
CONTEXT_PATH: "/"
spring_liquibase_parameters_userTableQuote: '"'
spring_datasource_username: "{{ .Values.postgresql.postgresqlUsername }}"
envValueFrom:
spring_datasource_url:
secretKeyRef:
name: dbcreds
key: jdbc
spring_datasource_password:
secretKeyRef:
name: dbcreds
key: postgresql-password
service:
main:
ports:
main:
port: 10122
targetPort: 4040
# Enabled postgres
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: airsonic-advanced
postgresqlDatabase: airsonic-advanced
persistence:
config:
enabled: true
mountPath: "/airsonic"
music:
enabled: true
moutPath: "/music"
podcasts:
enabled: true
moutPath: "/podcasts"
playlists:
enabled: true
moutPath: "/playlists"

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -262,6 +262,7 @@ These defaults can of course be changed, but as we guarantee "sane, working defa
| monica | main | main | 10119 | TCP | |
| snipe-it | main | main | 10120 | TCP | |
| xbackbone | main | main | 10121 | TCP | |
| airsonic-advanced | main | main | 10122 | TCP | |
| dokuwiki | main | main | 10123 | TCP | |
| emulatorjs | front | front | 10124 | TCP | |
| ipfs | main | main | 10125 | TCP | |