diff --git a/infrastructure/04-longhorn/base/longhorn-ui-ingress.yaml b/infrastructure/04-longhorn/base/longhorn-ui-ingress.yaml deleted file mode 100644 index 9d41052..0000000 --- a/infrastructure/04-longhorn/base/longhorn-ui-ingress.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: traefik.io/v1alpha1 -kind: IngressRoute -metadata: - name: longhorn-frontend -spec: - entryPoints: - - web - - websecure - routes: - - match: Host(`longhorn.steffenillium.de`) - kind: Rule - services: - - name: longhorn-frontend - port: 80 diff --git a/infrastructure/04-longhorn/base/values.yaml b/infrastructure/04-longhorn/base/values.yaml deleted file mode 100644 index da8738b..0000000 --- a/infrastructure/04-longhorn/base/values.yaml +++ /dev/null @@ -1,64 +0,0 @@ -# Default values for longhorn. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. -persistence: - # -- Replica count of the default Longhorn StorageClass. - defaultClassReplicaCount: 1 - # -- Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort") - defaultDataLocality: "best-effort" - # -- Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: "Retain", "Delete") - reclaimPolicy: Delete - # -- Setting that allows you to enable live migration of a Longhorn volume from one node to another. - migratable: false - # -- Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled") - removeSnapshotsDuringFilesystemTrim: enabled - -preUpgradeChecker: - # -- Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions. - jobEnabled: false - # -- Setting that allows Longhorn to perform upgrade version checks after starting the Longhorn Manager DaemonSet Pods. Disabling this setting also disables `preUpgradeChecker.jobEnabled`. Longhorn recommends keeping this setting enabled. - upgradeVersionCheck: true - -csi: - # -- kubelet root directory. When unspecified, Longhorn uses the default value. - kubeletRootDir: ~ - # -- Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value ("3"). - attacherReplicaCount: 1 - # -- Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value ("3"). - provisionerReplicaCount: 1 - # -- Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value ("3"). - resizerReplicaCount: 1 - # -- Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3"). - snapshotterReplicaCount: 1 - -defaultSettings: - # -- Endpoint used to access the backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE") - backupTarget: NFS - # -- Setting that allows Longhorn to automatically create a default disk only on nodes with the label "node.longhorn.io/create-default-disk=true" (if no other disks exist). When this setting is disabled, Longhorn creates a default disk on each node that is added to the cluster. - createDefaultDiskLabeledNodes: false - # -- Default number of replicas for volumes created using the Longhorn UI. For Kubernetes configuration, modify the `numberOfReplicas` field in the StorageClass. The default value is "3". - defaultReplicaCount: 1 - - systemManagedComponentsNodeSelector: "region:local" - -longhornManager: - # -- Node selector for Longhorn Manager. Specify the nodes allowed to run Longhorn Manager. - nodeSelector: - "region": "local" - -longhornDriverDeployer: - # -- Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI. - nodeSelector: - "region": "local" - -longhornUI: - # -- Replica count for Longhorn UI. - replicas: 1 - # -- Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI. - nodeSelector: - "region": "local" - -metrics: - serviceMonitor: - # -- Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components. - enabled: false diff --git a/infrastructure/04-longhorn/kustomization.yaml b/infrastructure/04-longhorn/kustomization.yaml deleted file mode 100644 index 5f6ccb0..0000000 --- a/infrastructure/04-longhorn/kustomization.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -namespace: longhorn-system - -components: - - ../../components/local-region-selector.yaml - -resources: -- base/longhorn-ui-ingress.yaml - -helmCharts: -- name: longhorn - includeCRDs: true - version: 1.6.0 - releaseName: longhorn - repo: https://charts.longhorn.io - valuesFile: base/values.yaml diff --git a/infrastructure/04-minio/base/ui-ingress.yaml b/infrastructure/04-minio/base/ui-ingress.yaml new file mode 100644 index 0000000..a23839a --- /dev/null +++ b/infrastructure/04-minio/base/ui-ingress.yaml @@ -0,0 +1,14 @@ +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + name: minio-frontend +spec: + entryPoints: + - web-local + - websecure-local + routes: + - match: Host(`minio.steffenillium.de`) + kind: Rule + services: + - name: minio-operator + port: http diff --git a/infrastructure/04-minio/kustomization.yaml b/infrastructure/04-minio/kustomization.yaml new file mode 100644 index 0000000..01fbe79 --- /dev/null +++ b/infrastructure/04-minio/kustomization.yaml @@ -0,0 +1,11 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +namespace: longhorn-system + +components: + - ../../components/local-region-selector.yaml + +resources: +- base/ui-ingress.yaml +- https://github.com/minio/operator \ No newline at end of file