Compare commits

...

5 Commits

Author SHA1 Message Date
1f498323a4 change postgres settings to import only password from secret 2024-04-19 05:41:38 -06:00
646e3a2c36 grant read to unlogged users 2024-04-19 05:32:28 -06:00
197ca6ef81 add quotes around default vhost of / 2024-04-19 05:22:14 -06:00
b8780a7339 add default vhost 2024-04-19 05:05:10 -06:00
b90968ea85 fix scanner image name 2024-04-19 05:01:23 -06:00
4 changed files with 22 additions and 41 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: kyoo name: kyoo
version: 0.1.4 version: 0.1.9
description: Chart for Kyoo description: Chart for Kyoo
keywords: keywords:
- media - media

View File

@@ -84,30 +84,18 @@ spec:
- name: PUBLIC_URL - name: PUBLIC_URL
value: "{{ .Values.config.publicUrl }}" value: "{{ .Values.config.publicUrl }}"
- name: POSTGRES_USER - name: POSTGRES_USER
valueFrom: value: "{{ .Values.config.postgresql.username }}"
secretKeyRef:
name: "{{ .Values.config.postgresql.existingSecretName }}"
key: "{{ .Values.config.postgresql.usernameKey }}"
- name: POSTGRES_PASSWORD - name: POSTGRES_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: "{{ .Values.config.postgresql.existingSecretName }}" name: "{{ .Values.config.postgresql.existingSecretName }}"
key: "{{ .Values.config.postgresql.passwordKey }}" key: "{{ .Values.config.postgresql.passwordKey }}"
- name: POSTGRES_DB - name: POSTGRES_DB
valueFrom: value: "{{ .Values.config.postgresql.database }}"
secretKeyRef:
name: "{{ .Values.config.postgresql.existingSecretName }}"
key: "{{ .Values.config.postgresql.databaseNameKey }}"
- name: POSTGRES_SERVER - name: POSTGRES_SERVER
valueFrom: value: "{{ .Values.config.postgresql.host }}"
secretKeyRef:
name: "{{ .Values.config.postgresql.existingSecretName }}"
key: "{{ .Values.config.postgresql.hostKey }}"
- name: POSTGRES_PORT - name: POSTGRES_PORT
valueFrom: value: "{{ .Values.config.postgresql.port }}"
secretKeyRef:
name: "{{ .Values.config.postgresql.existingSecretName }}"
key: "{{ .Values.config.postgresql.portKey }}"
{{ if .Values.config.oidc.enabled }} {{ if .Values.config.oidc.enabled }}
- name: OIDC_SERVICE_NAME - name: OIDC_SERVICE_NAME

View File

@@ -77,30 +77,18 @@ spec:
- name: PUBLIC_URL - name: PUBLIC_URL
value: "{{ .Values.config.publicUrl }}" value: "{{ .Values.config.publicUrl }}"
- name: POSTGRES_USER - name: POSTGRES_USER
valueFrom: value: "{{ .Values.config.postgresql.username }}"
secretKeyRef:
name: "{{ .Values.config.postgresql.existingSecretName }}"
key: "{{ .Values.config.postgresql.usernameKey }}"
- name: POSTGRES_PASSWORD - name: POSTGRES_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: "{{ .Values.config.postgresql.existingSecretName }}" name: "{{ .Values.config.postgresql.existingSecretName }}"
key: "{{ .Values.config.postgresql.passwordKey }}" key: "{{ .Values.config.postgresql.passwordKey }}"
- name: POSTGRES_DB - name: POSTGRES_DB
valueFrom: value: "{{ .Values.config.postgresql.database }}"
secretKeyRef:
name: "{{ .Values.config.postgresql.existingSecretName }}"
key: "{{ .Values.config.postgresql.databaseNameKey }}"
- name: POSTGRES_SERVER - name: POSTGRES_SERVER
valueFrom: value: "{{ .Values.config.postgresql.host }}"
secretKeyRef:
name: "{{ .Values.config.postgresql.existingSecretName }}"
key: "{{ .Values.config.postgresql.hostKey }}"
- name: POSTGRES_PORT - name: POSTGRES_PORT
valueFrom: value: "{{ .Values.config.postgresql.port }}"
secretKeyRef:
name: "{{ .Values.config.postgresql.existingSecretName }}"
key: "{{ .Values.config.postgresql.portKey }}"
{{ if .Values.config.oidc.enabled }} {{ if .Values.config.oidc.enabled }}
- name: OIDC_SERVICE_NAME - name: OIDC_SERVICE_NAME

View File

@@ -68,7 +68,7 @@ config:
# UNLOGGED_PERMISSIONS=overall.read,overall.play # UNLOGGED_PERMISSIONS=overall.read,overall.play
# You can specify this to allow guests users to see your collection without behing able to play videos for example: # You can specify this to allow guests users to see your collection without behing able to play videos for example:
# UNLOGGED_PERMISSIONS=overall.read # UNLOGGED_PERMISSIONS=overall.read
unloggedPermissions: "" unloggedPermissions: overall.read
# Specify permissions of new accounts. # Specify permissions of new accounts.
defaultPermissions: overall.read,overall.play defaultPermissions: overall.read,overall.play
@@ -112,15 +112,16 @@ config:
secretIDKey: "" secretIDKey: ""
## Postgresql ## Postgresql
## All configuration is expected to be stored in a secret, reference the secret name and each key for the value
## ##
postgresql: postgresql:
username: ""
database: ""
host: ""
port: ""
# -- Use a secret to store the pasword
existingSecretName: "" existingSecretName: ""
usernameKey: ""
passwordKey: "" passwordKey: ""
databaseNameKey: ""
hostKey: ""
portKey: ""
## Configure the ingress resource that allows you to access the ## Configure the ingress resource that allows you to access the
## kyoo installation. Set up the URL ## kyoo installation. Set up the URL
@@ -633,7 +634,7 @@ scanner:
## ref: https://hub.docker.com/r/zoriya/zoriya/kyoo_scanner/tags ## ref: https://hub.docker.com/r/zoriya/zoriya/kyoo_scanner/tags
## ##
image: image:
repository: zoriya/zoriya/kyoo_scanner repository: zoriya/kyoo_scanner
tag: "4.4.0" tag: "4.4.0"
## Specify a imagePullPolicy ## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
@@ -816,7 +817,11 @@ rabbitmq:
## Use this instead of `configuration` to add more configuration ## Use this instead of `configuration` to add more configuration
## Do not use simultaneously with `extraConfigurationExistingSecret` ## Do not use simultaneously with `extraConfigurationExistingSecret`
## ##
extraConfiguration: "" extraConfiguration: |-
default_vhost = '/'
default_permissions.configure = .*
default_permissions.read = .*
default_permissions.write = .*
## Meilisearch ## Meilisearch
## https://github.com/meilisearch/meilisearch-kubernetes/blob/main/charts/meilisearch/values.yaml ## https://github.com/meilisearch/meilisearch-kubernetes/blob/main/charts/meilisearch/values.yaml