-
Notifications
You must be signed in to change notification settings - Fork 13
/
helmrelease.yaml
112 lines (112 loc) · 3.14 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
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: minio
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.2.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
values:
controllers:
minio:
annotations:
secret.reloader.stakater.com/reload: &secret minio-secret
pod:
securityContext:
runAsUser: &uid 568
runAsGroup: *uid
fsGroup: *uid
fsGroupChangePolicy: OnRootMismatch
containers:
app:
image:
repository: quay.io/minio/minio
tag: RELEASE.2024-06-04T19-20-08Z
env:
MINIO_API_CORS_ALLOW_ORIGIN: https://${CONSOLE_HOSTNAME},https://${HOSTNAME}
MINIO_BROWSER_REDIRECT_URL: https://${CONSOLE_HOSTNAME}
MINIO_PROMETHEUS_JOB_ID: minio
MINIO_PROMETHEUS_AUTH_TYPE: public
MINIO_SERVER_URL: https://${HOSTNAME}
MINIO_UPDATE: "off"
GOMEMLIMIT:
valueFrom:
resourceFieldRef:
resource: limits.memory
envFrom:
- secretRef:
name: *secret
args:
- server
- /data
- --console-address
- :9001
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /minio/health/live
port: 9000
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 10
failureThreshold: 3
readiness: *probes
startup:
enabled: true
custom: true
spec:
httpGet:
path: /minio/health/live
port: 9000
initialDelaySeconds: 0
periodSeconds: 1
timeoutSeconds: 10
failureThreshold: 60
resources:
requests:
cpu: 100m
limits:
memory: 2Gi
service:
app:
controller: minio
ports:
http:
port: &http 9001
s3:
port: &s3 9000
ingress:
app:
enabled: true
className: ingress
hosts:
- host: &host ${CONSOLE_HOSTNAME}
paths:
- path: /
service:
identifier: app
port: *http
- host: &s3Host ${HOSTNAME}
paths:
- path: /
service:
identifier: app
port: *s3
tls:
- hosts: [*host, *s3Host]
persistence:
data:
existingClaim: minio-data
globalMounts:
- path: /data