-
-
Notifications
You must be signed in to change notification settings - Fork 171
/
helmrelease.yaml
119 lines (119 loc) · 3.37 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
119
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.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
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controllers:
minio:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: quay.io/minio/minio
tag: RELEASE.2024-06-04T19-20-08Z@sha256:c6b68f15862830b58d6d373cdc88dd9de93bbd30bfaa7a26f180bd284673cc7d
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
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 100m
limits:
memory: 2Gi
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [10000]
seccompProfile: { type: RuntimeDefault }
service:
app:
controller: minio
ports:
http:
port: 9001
s3:
port: 9000
serviceMonitor:
app:
serviceName: minio
endpoints:
- port: s3
scheme: http
path: /minio/v2/metrics/cluster
interval: 1m
scrapeTimeout: 10s
ingress:
app:
annotations:
external-dns.alpha.kubernetes.io/target: internal.turbo.ac
className: internal
hosts:
- host: "{{ .Release.Name }}.turbo.ac"
paths:
- path: /
service:
identifier: app
port: http
- host: s3.turbo.ac
paths:
- path: /
service:
identifier: app
port: s3
persistence:
config:
type: hostPath
hostPath: /eros/Minio
hostPathType: Directory
globalMounts:
- path: /data