6a520f3fd8
Build Media Mirror API / Build and publish (release) Successful in 27s
- workflow на release published: bootJar, build-docker (media-mirror/*), helm-publish (9.9.9 → tag) - helm: Chart.yaml placeholder 9.9.9, values, templates (deployment/service/configmap/secret) - env: DB, S3, Jellyfin через secret
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ $.Release.Name }}-{{ $.Chart.Name }}-main-config
|
|
data:
|
|
application.yaml: |
|
|
server:
|
|
port: {{ $.Values.port }}
|
|
forward-headers-strategy: framework
|
|
|
|
app:
|
|
jellyfin:
|
|
url: {{ $.Values.app.jellyfin.url | quote }}
|
|
s3:
|
|
url: {{ $.Values.app.s3.url | quote }}
|
|
access-key: ${S3_ACCESS_KEY}
|
|
secret-key: ${S3_SECRET_KEY}
|
|
bucket: {{ $.Values.app.s3.bucket }}
|
|
region: {{ $.Values.app.s3.region }}
|
|
prefix: {{ $.Values.app.s3.prefix }}
|
|
|
|
spring:
|
|
datasource:
|
|
url: jdbc:postgresql://{{ $.Values.db.host }}:{{ $.Values.db.port }}/{{ $.Values.db.name }}
|
|
username: ${DB_USER}
|
|
password: ${DB_PASSWORD}
|
|
hikari:
|
|
maximum-pool-size: {{ $.Values.db.maxConnections }}
|
|
flyway:
|
|
enabled: true
|
|
locations: classpath:db/migration
|
|
|
|
management:
|
|
server:
|
|
port: {{ $.Values.managementPort }}
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: env, health, info
|