Compare commits

...

4 Commits

4 changed files with 21 additions and 40 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: kyoo name: kyoo
version: 0.1.5 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
@@ -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