Files
gitops/infrastructure/seaweedfs-app.yaml

79 lines
2.0 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: seaweedfs
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
project: default
source:
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
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true