Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
feat(minio): enable minion (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
truxnell committed Apr 5, 2022
1 parent e0f9d56 commit fb45add
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 45 deletions.
18 changes: 18 additions & 0 deletions k8s/clusters/hegira/flux/orchestration/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,21 @@ spec:
sourceRef:
kind: GitRepository
name: home-cluster

---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: services-minio
namespace: flux-system
spec:
dependsOn:
- name: services-namespace
- name: network-system-traefik
interval: 5m
path: "./k8s/manifests/services/minio"
prune: true
wait: true
sourceRef:
kind: GitRepository
name: home-cluster
17 changes: 10 additions & 7 deletions k8s/manifests/services/minio/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ spec:
volumeSpec:
nfs:
server: "${NAS_ADDRESS}"
path: /volume1/Minio/.minio
path: /volume1/minio/.minio
mountPath: /root/.minio
data:
enabled: true
type: custom
volumeSpec:
nfs:
server: "${NAS_ADDRESS}"
path: /volume1/Minio
path: /volume1/minio
mountPath: /data

service:
Expand All @@ -65,18 +65,21 @@ spec:
enabled: true
ingressClassName: "traefik"
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
external-dns.alpha.kubernetes.io/target: ingress.${INGRESS_DOMAIN}
kubernetes.io/ingress.class: traefik
cert-manager.io/cluster-issuer: ${CLUSTER_CERT}
external-dns/is-public: "false"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: network-rfc1918-ips@kubernetescrd
traefik.ingress.kubernetes.io/router.middlewares: network-system-rfc1918-ips@kubernetescrd
hajimari.io/enable: "true"
hajimari.io/icon: storage
hosts:
- host: &host-minio "minio.${INGRESS_DOMAIN}"
- host: &host-minio "minio.${CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
port: 9001
- host: &host-s3 "s3.${INGRESS_DOMAIN}"
- host: &host-s3 "s3.${CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
Expand Down
1 change: 0 additions & 1 deletion k8s/manifests/services/minio/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./secret.sops.yaml
- ./helmrelease.yaml
37 changes: 0 additions & 37 deletions k8s/manifests/services/minio/secret.sops.yaml

This file was deleted.

0 comments on commit fb45add

Please sign in to comment.