-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathminio.yaml
74 lines (74 loc) · 2.03 KB
/
minio.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
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: mastodon-minio
namespace: social
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://charts.min.io/
chart: minio
version: 5.4.0
sourceRef:
kind: HelmRepository
name: minio-charts
namespace: flux-system
interval: 5m
values:
image:
repository: quay.io/minio/minio
tag: RELEASE.2024-12-18T13-15-44Z@sha256:1dce27c494a16bae114774f1cec295493f3613142713130c2d22dd5696be6ad3
pullPolicy: IfNotPresent
mcImage:
repository: quay.io/minio/mc
tag: RELEASE.2023-01-11T03-14-16Z
pullPolicy: IfNotPresent
mode: standalone
rootUser: ${SECRET_MASTODON_ADMIN_S3_ACCESS_KEY}
rootPassword: ${SECRET_MASTODON_ADMIN_S3_SECRET_KEY}
users:
- accessKey: ${SECRET_MASTODON_S3_ACCESS_KEY}
secretKey: ${SECRET_MASTODON_S3_SECRET_KEY}
policy: readwrite
persistence:
enabled: true
existingClaim: "nfs-mastodon-pvc"
ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 40m
nginx.org/client-max-body-size: 40m
#nginx.ingress.kubernetes.io/configuration-snippet: |
# more_set_headers "Content-Security-Policy: \"default-src 'none'; form-action 'none'\"";
# more_set_headers "X-Content-Type-Options: nosniff";
ingressClassName: nginx-external
hosts:
- mfile.${SECRET_DOMAIN}
tls:
- secretName: mastodon-minio-cert
hosts:
- mfile.${SECRET_DOMAIN}
consoleIngress:
enabled: true
hosts:
- mmc.k.${SECRET_DOMAIN}
tls:
- secretName: mastodon-minio-console-cert
hosts:
- mmc.k.${SECRET_DOMAIN}
securityContext:
enabled: false
resources:
requests:
memory: 350Mi
cpu: 25m
limits:
memory: 1536Mi
tolerations:
- key: "arm"
operator: "Exists"
metrics:
serviceMonitor:
enabled: true