🐛 invidious release-name

This commit is contained in:
auricom
2022-10-07 18:28:16 +02:00
parent 20fd8631d4
commit cec9b15244
4 changed files with 16 additions and 12 deletions

View File

@@ -9,12 +9,12 @@
## Database configuration with separate parameters.
## This setting is MANDATORY, unless 'database_url' is used.
##
db:
user: ${SECRET_INVIDIOUS_DB_USER}
password: ${SECRET_INVIDIOUS_DB_PASSWORD}
host: postgres-rw.default.svc.cluster.local
port: 5432
dbname: invidious
# db:
# user: ${SECRET_INVIDIOUS_DB_USER}
# password: ${SECRET_INVIDIOUS_DB_PASSWORD}
# host: postgres-rw.default.svc.cluster.local
# port: 5432
# dbname: invidious
##
## Database configuration using a single URI. This is an
@@ -30,7 +30,7 @@ db:
## Accepted values: a postgres:// URI
## Default: postgres://kemal:kemal@localhost:5432/invidious
##
#database_url: postgres://kemal:kemal@localhost:5432/invidious
database_url: postgres://${SECRET_INVIDIOUS_DB_USER}:${SECRET_INVIDIOUS_DB_PASSWORD}@postgres-rw.default.svc.cluster.local.:5432/invidious
##
## Enable automatic table integrity check. This will create
@@ -39,7 +39,7 @@ db:
## Accepted values: true, false
## Default: false
##
#check_tables: false
check_tables: true
#########################################
#

View File

@@ -2,7 +2,7 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: &app invidious
name: &app invidious-server
namespace: default
spec:
interval: 15m
@@ -37,8 +37,10 @@ spec:
main:
enabled: true
ingressClassName: "nginx"
annotations:
external-dns.home.arpa/enabled: "true"
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
- host: &host "invidious.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
@@ -53,6 +55,8 @@ spec:
subPath: config.yml
mountPath: /invidious/config/config.yml
readOnly: false
podAnnotations:
secret.reloader.stakater.com/reload: *app
resources:
requests:
cpu: 50m

View File

@@ -5,7 +5,7 @@ resources:
patchesStrategicMerge:
- patches/postgres.yaml
configMapGenerator:
- name: invidious
- name: invidious-server
files:
- config/config.yml
generatorOptions:

View File

@@ -2,7 +2,7 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: invidious
name: invidious-server
namespace: default
spec:
values: