Merge branch 'master' into allow-disabling-redis
This commit is contained in:
commit
47bfa9f84c
14 changed files with 24 additions and 16 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Helm resources
|
||||||
|
charts/*/charts/*.tgz
|
||||||
|
charts/*/Chart.lock
|
|
@ -16,6 +16,10 @@ pages:
|
||||||
name: codenest/helm
|
name: codenest/helm
|
||||||
entrypoint: ["/bin/sh", "-c"]
|
entrypoint: ["/bin/sh", "-c"]
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
before_script:
|
||||||
|
- grep 'repository:' charts/*/Chart.yaml charts/*/requirements.yaml | awk '{ print $3 }' | uniq | xargs -rn1 sh -c 'helm repo add $(basename $0) $0'
|
||||||
|
- helm repo update
|
||||||
|
- ls -d1 charts/* | xargs -rn1 helm dependency build --skip-refresh
|
||||||
script:
|
script:
|
||||||
- mkdir -p public
|
- mkdir -p public
|
||||||
- "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt"
|
- "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt"
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v2
|
||||||
appVersion: "1.1"
|
appVersion: "1.1"
|
||||||
description: A social platform to enjoy and share music
|
description: A social platform to enjoy and share music
|
||||||
icon: https://funkwhale.audio/favicon.png
|
icon: https://funkwhale.audio/favicon.png
|
||||||
name: funkwhale
|
name: funkwhale
|
||||||
version: 0.3.7
|
version: 0.3.7
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- name: redis
|
||||||
|
version: ~10.6.10
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
condition: redis.enabled
|
||||||
|
|
Binary file not shown.
|
@ -1,6 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- name: redis
|
|
||||||
repository: https://charts.bitnami.com/bitnami
|
|
||||||
version: 10.6.10
|
|
||||||
digest: sha256:5a929e0124864ab7fbe29c01fcbe1a23e4532dd0912abcb8bc185fff5f4e65f3
|
|
||||||
generated: "2020-04-24T11:47:31.68381778+02:00"
|
|
|
@ -1,5 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- name: redis
|
|
||||||
version: ~10.6.10
|
|
||||||
repository: https://charts.bitnami.com/bitnami
|
|
||||||
condition: redis.enabled
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
{{- $secret := (lookup "v1" "Secret" .Release.Namespace (include "funkwhale.fullname" .)) -}}
|
||||||
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -10,7 +12,11 @@ metadata:
|
||||||
data:
|
data:
|
||||||
CACHE_URL: {{ include "funkwhale.redisUrl" . | b64enc }}
|
CACHE_URL: {{ include "funkwhale.redisUrl" . | b64enc }}
|
||||||
DATABASE_URL: {{ include "funkwhale.dbUrl" . | b64enc }}
|
DATABASE_URL: {{ include "funkwhale.dbUrl" . | b64enc }}
|
||||||
DJANGO_SECRET_KEY: {{ .Values.djangoSecret | b64enc }}
|
{{ if $secret -}}
|
||||||
|
DJANGO_SECRET_KEY: {{ $secret.data.DJANGO_SECRET_KEY }}
|
||||||
|
{{ else -}}
|
||||||
|
DJANGO_SECRET_KEY: {{ (.Values.djangoSecret | default uuidv4) | b64enc }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{- range $key, $val := .Values.extraSecret }}
|
{{- range $key, $val := .Values.extraSecret }}
|
||||||
{{ $key }}: {{ $val | b64enc }}
|
{{ $key }}: {{ $val | b64enc }}
|
||||||
|
|
|
@ -53,7 +53,7 @@ redis:
|
||||||
|
|
||||||
host: ''
|
host: ''
|
||||||
redisPort: 6379
|
redisPort: 6379
|
||||||
password: funkwhale
|
password: 'funkwhale'
|
||||||
|
|
||||||
cluster:
|
cluster:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Binary file not shown.
|
@ -3,10 +3,10 @@ apiVersion: v2
|
||||||
name: matrix-synapse
|
name: matrix-synapse
|
||||||
description: Matrix reference homeserver
|
description: Matrix reference homeserver
|
||||||
icon: https://matrix.org/images/matrix-logo.svg
|
icon: https://matrix.org/images/matrix-logo.svg
|
||||||
appVersion: 1.29.0
|
appVersion: 1.30.0
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 2.0.0
|
version: 2.0.1
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Alexander Olofsson
|
- name: Alexander Olofsson
|
||||||
email: ace@haxalot.com
|
email: ace@haxalot.com
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue