Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-11-23 20:59:06 +00:00
parent aa2bbedef5
commit 4cd0293b85
13 changed files with 66 additions and 30 deletions

View File

@ -1,9 +0,0 @@
## [funkwhale-2.0.1](https://github.com/truecharts/charts/compare/funkwhale-2.0.0...funkwhale-2.0.1) (2022-11-15)
### Chore
- update helm general non-major ([#4463](https://github.com/truecharts/charts/issues/4463))

View File

@ -1,2 +0,0 @@
{{/* Render the templates */}}
{{ include "tc.common.loader.all" . }}

View File

@ -26,6 +26,6 @@ name: funkwhale
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/funkwhale
- https://funkwhale.audio/
- https://hub.docker.com/r/thetarkus/funkwhale/
- https://hub.docker.com/r/funkwhale/funkwhale
type: application
version: 2.0.1
version: 2.1.0

View File

@ -0,0 +1,9 @@
## [funkwhale-2.1.0](https://github.com/truecharts/charts/compare/funkwhale-2.0.1...funkwhale-2.1.0) (2022-11-23)
### Feat
- Fix port + update container ([#4744](https://github.com/truecharts/charts/issues/4744))

View File

@ -1,10 +1,32 @@
env:
FUNKWHALE_HOSTNAME: yourdomain.funkwhale
NESTED_PROXY: "0"
image:
pullPolicy: IfNotPresent
repository: tccr.io/truecharts/funkwhale
tag: latest@sha256:ec538fd47441c881b3f06bfffcd164b63779a805ec6d05439dbeb5e8eff52729
tag: 1.2.8@sha256:e12c15ebb65102637b507ca0a610bc4a372495fd58bd8a02f2b4d024eff2badd
podSecurityContext:
runAsGroup: 0
runAsUser: 0
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
env:
DJANGO_SECRET_KEY:
secretKeyRef:
name: '{{ printf "%s-secret" (include "tc.common.names.fullname" .) }}'
key: DJANGO_SECRET_KEY
FUNKWHALE_HOSTNAME: yourdomain.funkwhale
NESTED_PROXY: "0"
service:
main:
ports:
main:
port: 10236
protocol: HTTP
targetPort: 5000
persistence:
data:
enabled: true
@ -13,19 +35,6 @@ persistence:
enabled: true
mountPath: /music
readOnly: true
podSecurityContext:
runAsGroup: 0
runAsUser: 0
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
service:
main:
ports:
main:
port: 3030
protocol: TCP
targetPort: 80
portal:
enabled: true

View File

@ -0,0 +1,21 @@
{{/* Define the secret */}}
{{- define "funkwhale.secret" -}}
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
DJANGO_SECRET_KEY: {{ (index .data "DJANGO_SECRET_KEY") }}
{{- else }}
DJANGO_SECRET_KEY: {{ randAlphaNum 32 | b64enc }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,8 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render secret */}}
{{- include "funkwhale.secret" . }}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}