ci: CICD-сборка (Gitea Actions: bootJar → docker → helm-publish) + helm-чарт
Build Media Mirror Worker / Build and publish (release) Successful in 3m30s

- 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
This commit is contained in:
Hermes Agent
2026-08-10 17:36:19 +03:00
parent 5ad865715e
commit 6056f370f9
7 changed files with 278 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $.Release.Name }}-{{ $.Chart.Name }}-main-config
data:
application.yaml: |
app:
poll-interval: {{ $.Values.app.pollInterval | quote }}
stale-timeout: {{ $.Values.app.staleTimeout | quote }}
jellyfin:
url: {{ $.Values.app.jellyfin.url | quote }}
api-key: ${JELLYFIN_API_KEY}
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