fix: set S3_HOSTNAME to public domain, add minio ingress route
This commit is contained in:
@@ -36,7 +36,7 @@ spec:
|
||||
|
||||
s3:
|
||||
enabled: true
|
||||
hostname: minio.minio.svc.cluster.local
|
||||
hostname: mastodon.t0rt1k.tech
|
||||
endpoint: http://minio.minio.svc.cluster.local
|
||||
protocol: http
|
||||
bucket: mastodon
|
||||
|
||||
27
manifests/mastodon/ingress-minio.yaml
Normal file
27
manifests/mastodon/ingress-minio.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: mastodon-minio
|
||||
namespace: mastodon
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
traefik.ingress.kubernetes.io/router.priority: "20"
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
tls:
|
||||
- secretName: mastodon-tls
|
||||
hosts:
|
||||
- mastodon.t0rt1k.tech
|
||||
rules:
|
||||
- host: mastodon.t0rt1k.tech
|
||||
http:
|
||||
paths:
|
||||
- path: /mastodon/
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: minio
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user