diff --git a/infrastructure/seaweedfs-app.yaml b/infrastructure/seaweedfs-app.yaml index 6903b9b..a3c2410 100644 --- a/infrastructure/seaweedfs-app.yaml +++ b/infrastructure/seaweedfs-app.yaml @@ -8,9 +8,64 @@ metadata: spec: project: default source: - repoURL: https://git.cloud-infra.prod.openmailserver.de/stabify/gitops.git - targetRevision: HEAD - path: infrastructure/seaweedfs + chart: seaweedfs + repoURL: https://seaweedfs.github.io/seaweedfs/helm + targetRevision: 3.59.0 + helm: + values: | + image: + registry: "docker.io" + repository: "chrislusf/seaweedfs" + tag: "4.06" + + volume: + replicas: 3 + persistence: + enabled: true + size: 10Gi + storageClass: longhorn + resources: {} + + master: + replicas: 3 + resources: {} + + filer: + replicas: 2 + ingress: + enabled: true + className: traefik + # Chart expects annotations as string. + annotations: | + cert-manager.io/cluster-issuer: letsencrypt-prod + hosts: + - host: filer.seaweedfs.apps.internal.k3s.stabify.de + paths: + - path: / + pathType: Prefix + tls: + - secretName: seaweedfs-filer-tls + hosts: + - filer.seaweedfs.apps.internal.k3s.stabify.de + + s3: + enabled: true + replicas: 2 + ingress: + enabled: true + className: traefik + # Chart expects annotations as string. + annotations: | + cert-manager.io/cluster-issuer: letsencrypt-prod + hosts: + - host: s3.apps.internal.k3s.stabify.de + paths: + - path: / + pathType: Prefix + tls: + - secretName: seaweedfs-s3-tls + hosts: + - s3.apps.internal.k3s.stabify.de destination: server: https://kubernetes.default.svc namespace: seaweedfs diff --git a/infrastructure/seaweedfs/Chart.yaml b/infrastructure/seaweedfs/Chart.yaml deleted file mode 100644 index 56c37cb..0000000 --- a/infrastructure/seaweedfs/Chart.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v2 -name: seaweedfs-bootstrap -description: Wrapper chart for SeaweedFS -type: application -version: 1.0.0 -appVersion: "3.59" -dependencies: - - name: seaweedfs - version: 3.59.0 - repository: https://seaweedfs.github.io/seaweedfs/helm diff --git a/infrastructure/seaweedfs/values.yaml b/infrastructure/seaweedfs/values.yaml deleted file mode 100644 index 69f4829..0000000 --- a/infrastructure/seaweedfs/values.yaml +++ /dev/null @@ -1,52 +0,0 @@ -seaweedfs: - image: - registry: "docker.io" - repository: "/chrislusf/seaweedfs" - tag: "4.06" - - volume: - replicas: 3 - persistence: - enabled: true - size: 10Gi - storageClass: longhorn - resources: {} - - master: - replicas: 3 - resources: {} - - filer: - replicas: 2 - ingress: - enabled: true - className: traefik - annotations: | - cert-manager.io/cluster-issuer: letsencrypt-prod - hosts: - - host: filer.seaweedfs.apps.internal.k3s.stabify.de - paths: - - path: / - pathType: Prefix - tls: - - secretName: seaweedfs-filer-tls - hosts: - - filer.seaweedfs.apps.internal.k3s.stabify.de - - s3: - enabled: true - replicas: 2 - ingress: - enabled: true - className: traefik - annotations: | - cert-manager.io/cluster-issuer: letsencrypt-prod - hosts: - - host: s3.apps.internal.k3s.stabify.de - paths: - - path: / - pathType: Prefix - tls: - - secretName: seaweedfs-s3-tls - hosts: - - s3.apps.internal.k3s.stabify.de