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

View File

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

View File

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

View File

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