43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
# yaml-language-server: $schema=./values.schema.json
|
|
image:
|
|
pullPolicy: IfNotPresent
|
|
repository: ghcr.io/booklore-app/booklore
|
|
tag: v2.2.1@sha256:252586c469ff6d07a06469fd1d49f19af932f4d323713d253c5d29e33b6ec97a
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: http
|
|
port: 6060
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsGroup: 0
|
|
runAsUser: 0
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
DATABASE_URL:
|
|
secretKeyRef:
|
|
expandObjectName: false
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
key: jdbc-mariadb
|
|
DATABASE_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
|
|
DATABASE_PASSWORD: "{{ .Values.mariadb.password }}"
|
|
BOOKLORE_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: /app/data
|
|
bookdrop:
|
|
enabled: true
|
|
mountPath: /bookdrop
|
|
varrun:
|
|
enabled: false
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: booklore
|