2022-03-15 21:11:05 +00:00
|
|
|
image:
|
2023-12-07 14:26:46 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-12-06 10:42:22 +00:00
|
|
|
repository: phanan/koel
|
|
|
|
tag: latest@sha256:55b8d583f415371e94ced5bb9eebd45204c14170d26a8fb7cb99b698886949f6
|
2023-12-12 15:54:42 +00:00
|
|
|
|
2023-12-07 14:26:46 +00:00
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: mariadbcreds
|
|
|
|
mariadbDatabase: koel
|
|
|
|
mariadbUsername: koel
|
2022-03-15 21:11:05 +00:00
|
|
|
persistence:
|
|
|
|
covers:
|
|
|
|
enabled: true
|
2023-12-07 14:26:46 +00:00
|
|
|
mountPath: /var/www/html/public/img/covers
|
|
|
|
music:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /music
|
2022-03-15 21:11:05 +00:00
|
|
|
searchindex:
|
|
|
|
enabled: true
|
2023-12-07 14:26:46 +00:00
|
|
|
mountPath: /var/www/html/storage/search-indexes
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-12-12 15:54:42 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|
2023-12-07 14:26:46 +00:00
|
|
|
secretEnv:
|
|
|
|
LASTFM_API_KEY: ""
|
|
|
|
LASTFM_API_SECRET: ""
|
|
|
|
YOUTUBE_API_KEY: ""
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsGroup: 0
|
|
|
|
runAsUser: 0
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10185
|
|
|
|
targetPort: 80
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
|
|
|
APP_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
key: APP_KEY
|
|
|
|
name: koel-secrets
|
|
|
|
DB_CONNECTION: mysql
|
|
|
|
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
key: plainhost
|
|
|
|
name: mariadbcreds
|
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
key: mariadb-password
|
|
|
|
name: mariadbcreds
|
|
|
|
DB_PORT: "3306"
|
|
|
|
DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
|
2023-12-12 15:54:42 +00:00
|
|
|
FORCE_https: false
|
2023-12-07 14:26:46 +00:00
|
|
|
MEMORY_LIMIT: 2048
|
2023-12-12 15:54:42 +00:00
|
|
|
initContainers:
|
|
|
|
initdb:
|
|
|
|
type: install
|
|
|
|
enabled: true
|
|
|
|
command:
|
|
|
|
- php
|
|
|
|
- artisan
|
|
|
|
- koel:init
|
|
|
|
- --no-assets
|
|
|
|
env:
|
|
|
|
- name: DB_CONNECTION
|
|
|
|
value: mysql
|
|
|
|
- name: DB_PORT
|
|
|
|
value: "3306"
|
|
|
|
- name: DB_USERNAME
|
|
|
|
value: "{{ .Values.mariadb.mariadbUsername }}"
|
|
|
|
- name: DB_DATABASE
|
|
|
|
value: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
- name: DB_HOST
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
key: plainhost
|
|
|
|
name: mariadbcreds
|
|
|
|
- name: DB_PASSWORD
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
key: mariadb-password
|
|
|
|
name: mariadbcreds
|
|
|
|
- name: APP_KEY
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
key: APP_KEY
|
|
|
|
name: koel-secrets
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /music
|
|
|
|
name: music
|
|
|
|
- mountPath: /var/www/html/public/img/covers
|
|
|
|
name: covers
|
|
|
|
- mountPath: /var/www/html/storage/search-indexes
|
2023-12-12 15:59:06 +00:00
|
|
|
name: searchindex
|