build: Refactor the Minio sync logic and separate the helm chart release

This commit is contained in:
Nikolai Rodionov
2023-03-06 21:42:35 +01:00
committed by Nikolai Rodionov
parent 2eef222b49
commit 5e19dbd9d8
74 changed files with 450 additions and 133 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: badhouseplants-net
description: A Helm chart for Kubernetes
type: application
version: 0.5.8
version: 0.6.0
appVersion: "4.20.0"
dependencies:
- name: remark42

View File

@ -35,7 +35,7 @@ spec:
- sh
args:
- "-c"
- "rclone copy -P badhouseplants-public:/badhouseplants-static /static"
- {{ .Values.rclone.command }}
volumeMounts:
- name: rclone-config
mountPath: "/tmp"

View File

@ -7,20 +7,21 @@ namespace:
enabled: true
name: badhouseplants-application
nginx:
nginx:
container:
name: nginx
resources: {}
image:
image:
repository: nginx
pullPolicy: Always
tag: latest
rclone:
command: "rclone copy -P badhouseplants-public:/badhouseplants-net-main /static"
container:
name: rclone
resources: {}
image:
image:
repository: rclone/rclone
pullPolicy: Always
tag: latest