-
-
Notifications
You must be signed in to change notification settings - Fork 191
/
Copy pathhelmrelease.yaml
118 lines (118 loc) · 3.13 KB
/
helmrelease.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: minio
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 2.4.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controllers:
main:
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image:
repository: quay.io/minio/minio
tag: RELEASE.2023-12-09T18-17-51Z@sha256:a9cec9ed5bda5b4e1b2153823e01b309965b9de7ed6eb7f098d45592eecdfc78
env:
MINIO_API_CORS_ALLOW_ORIGIN: https://minio.turbo.ac,https://s3.turbo.ac
MINIO_BROWSER_REDIRECT_URL: https://minio.turbo.ac
MINIO_PROMETHEUS_JOB_ID: minio
MINIO_PROMETHEUS_URL: https://prometheus.turbo.ac
MINIO_PROMETHEUS_AUTH_TYPE: public
MINIO_SERVER_URL: https://s3.turbo.ac
MINIO_UPDATE: "off"
envFrom:
- secretRef:
name: minio-secret
args:
- server
- /data
- --console-address
- :9001
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /minio/health/live
port: 9000
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 10
failureThreshold: 6
readiness: *probes
startup:
enabled: false
securityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [100]
service:
main:
ports:
http:
port: 9001
s3:
port: 9000
serviceMonitor:
main:
enabled: true
endpoints:
- port: s3
scheme: http
path: /minio/v2/metrics/cluster
interval: 1m
scrapeTimeout: 10s
ingress:
main:
enabled: true
className: internal
hosts:
- host: &host "{{ .Release.Name }}.turbo.ac"
paths:
- path: /
service:
name: main
port: http
- host: &s3Host s3.turbo.ac
paths:
- path: /
service:
name: main
port: s3
tls:
- hosts:
- *host
- *s3Host
persistence:
config:
enabled: true
type: hostPath
hostPath: /eros/Minio
hostPathType: Directory
globalMounts:
- path: /data