feat(minio): add base and yc-k8s-test overrides

This commit is contained in:
Kochetkov S 2026-04-09 13:38:12 +03:00
parent 75332fb3fe
commit 86ce7c0b59
7 changed files with 70 additions and 0 deletions

View File

@ -64,3 +64,10 @@ patches:
kind: HelmRelease
name: local-path-provisioner
namespace: local-path-provisioner
- path: ./patches/minio.yaml
target:
group: helm.toolkit.fluxcd.io
version: v2
kind: HelmRelease
name: minio
namespace: minio

View File

@ -0,0 +1,26 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: minio
namespace: minio
spec:
interval: 5m
timeout: 10m
values:
imagePullSecrets:
- name: regcred
drivesPerNode: 1
replicas: 1
nodeSelector:
dedicated: s3
tolerations:
- key: dedicated
operator: Equal
value: s3
effect: NoSchedule
persistence:
storageClass: local-path
size: 100Gi
resources:
requests:
memory: 1Gi

View File

@ -5,6 +5,7 @@ resources:
- cert-manager
- dashboard
- local-path-provisioner
- minio
- istio-base
- istio-pilot
- istio-gateway

View File

@ -0,0 +1,22 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: minio
namespace: minio
spec:
interval: 10m
chart:
spec:
chart: minio-contour
version: "5.4.0"
sourceRef:
kind: HelmRepository
name: yc-oci-charts
namespace: flux-system
interval: 10m
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: minio
resources:
- namespace.yaml
- helmrelease.yaml

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: minio

View File

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./base