feat(minio): add base and yc-k8s-test overrides
This commit is contained in:
parent
75332fb3fe
commit
86ce7c0b59
@ -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
|
||||
|
||||
26
clusters/yc-k8s-test/infrastructure/patches/minio.yaml
Normal file
26
clusters/yc-k8s-test/infrastructure/patches/minio.yaml
Normal 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
|
||||
@ -5,6 +5,7 @@ resources:
|
||||
- cert-manager
|
||||
- dashboard
|
||||
- local-path-provisioner
|
||||
- minio
|
||||
- istio-base
|
||||
- istio-pilot
|
||||
- istio-gateway
|
||||
|
||||
22
infrastructure/minio/base/helmrelease.yaml
Normal file
22
infrastructure/minio/base/helmrelease.yaml
Normal 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
|
||||
6
infrastructure/minio/base/kustomization.yaml
Normal file
6
infrastructure/minio/base/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: minio
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- helmrelease.yaml
|
||||
4
infrastructure/minio/base/namespace.yaml
Normal file
4
infrastructure/minio/base/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: minio
|
||||
4
infrastructure/minio/kustomization.yaml
Normal file
4
infrastructure/minio/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./base
|
||||
Loading…
Reference in New Issue
Block a user