[gonic] Migrate to common v3 (#1000)

This commit is contained in:
nιcнolaѕ wιlde 2021-06-13 00:30:34 -07:00 committed by GitHub
parent 253fbadeeb
commit b2f256d380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 48 additions and 86 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v2 apiVersion: v2
appVersion: v0.12.0 appVersion: v0.13.1
description: Music streaming server / subsonic server API implementation description: Music streaming server / subsonic server API implementation
name: gonic name: gonic
version: 4.4.0 version: 5.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- music - music
@ -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.2

View File

@ -1,6 +1,6 @@
# gonic # gonic
![Version: 4.4.0](https://img.shields.io/badge/Version-4.4.0-informational?style=flat-square) ![AppVersion: v0.12.0](https://img.shields.io/badge/AppVersion-v0.12.0-informational?style=flat-square) ![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: v0.13.1](https://img.shields.io/badge/AppVersion-v0.13.1-informational?style=flat-square)
Music streaming server / subsonic server API implementation Music streaming server / subsonic server API implementation
@ -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,22 +76,14 @@ N/A
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| env | object | `{}` | | | env | object | See below | environment variables. See more environment variables in the [gonic documentation](https://github.com/sentriz/gonic#configuration-options) |
| image.pullPolicy | string | `"IfNotPresent"` | | | env.TZ | string | `"UTC"` | Set the container timezone |
| image.repository | string | `"sentriz/gonic"` | | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.tag | string | `"v0.12.0"` | | | image.repository | string | `"sentriz/gonic"` | image repository |
| ingress.enabled | bool | `false` | | | image.tag | string | `"v0.13.1"` | image tag |
| persistence.cache.emptyDir.enabled | bool | `false` | | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence.cache.enabled | bool | `false` | | | persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| persistence.data.emptyDir.enabled | bool | `false` | | | service | object | See values.yaml | Configures service settings for the chart. |
| persistence.data.enabled | bool | `false` | |
| persistence.music.emptyDir.enabled | bool | `false` | |
| persistence.music.enabled | bool | `false` | |
| persistence.music.mountPath | string | `"/music"` | |
| persistence.podcasts.emptyDir.enabled | bool | `false` | |
| persistence.podcasts.enabled | bool | `false` | |
| service.port.port | int | `80` | |
| strategy.type | string | `"Recreate"` | |
## Changelog ## Changelog
@ -99,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 `v0.13.1`.
#### 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 `v0.13.1`.
#### Removed [5.0.0]: #500
- N/A
[1.0.0]: #1.0.0
{{- end -}} {{- end -}}

View File

@ -5,21 +5,17 @@ env:
persistence: persistence:
data: data:
enabled: true enabled: true
emptyDir: type: emptyDir
enabled: true
mountPath: /data mountPath: /data
podcasts: podcasts:
enabled: true enabled: true
emptyDir: type: emptyDir
enabled: true
mountPath: /podcasts mountPath: /podcasts
cache: cache:
enabled: true enabled: true
emptyDir: type: emptyDir
enabled: true
mountPath: /cache mountPath: /cache
music: music:
enabled: true enabled: true
emptyDir: type: emptyDir
enabled: true
mountPath: /music mountPath: /music

View File

@ -6,58 +6,44 @@
# #
image: image:
# -- image repository
repository: sentriz/gonic repository: sentriz/gonic
# -- image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: v0.12.0 # -- image tag
tag: v0.13.1
strategy: # -- environment variables. See more environment variables in the [gonic documentation](https://github.com/sentriz/gonic#configuration-options)
type: Recreate # @default -- See below
env:
# # See more environment variables in the gonic documentation # -- Set the container timezone
# https://github.com/sentriz/gonic#configuration-options TZ: UTC
env: {}
# TZ:
# GONIC_MUSIC_PATH: # GONIC_MUSIC_PATH:
# GONIC_PODCAST_PATH: # GONIC_PODCAST_PATH:
# GONIC_CACHE_PATH: # GONIC_CACHE_PATH:
# -- Configures service settings for the chart.
# @default -- See values.yaml
service: service:
port: main:
port: 80 ports:
http:
port: 80
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:
data: data:
enabled: false enabled: false
emptyDir:
enabled: false
podcasts: podcasts:
enabled: false enabled: false
emptyDir:
enabled: false
cache: cache:
enabled: false enabled: false
emptyDir:
enabled: false
music: music:
enabled: false enabled: false
emptyDir:
enabled: false
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: ""