chore: deploy snapshotter via app instead

This commit is contained in:
shadowlegend 2025-04-09 16:44:39 +07:00
parent 578cd7b238
commit c0c44995d6
2 changed files with 43 additions and 2 deletions

View File

@ -159,3 +159,46 @@ spec:
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: longhorn-system namespace: longhorn-system
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: external-snapshotter-crd
namespace: argocd
spec:
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true
project: default
sources:
- repoURL: https://github.com/kubernetes-csi/external-snapshotter
targetRevision: v8.2.0
path: client/config/crd
destination:
server: https://kubernetes.default.svc
namespace: kube-system
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: external-snapshotter-crd
namespace: argocd
spec:
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true
project: default
sources:
- repoURL: https://github.com/kubernetes-csi/external-snapshotter
targetRevision: v8.2.0
path: deploy/kubernetes/snapshot-controller
destination:
server: https://kubernetes.default.svc
namespace: kube-system

View File

@ -3,8 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- https://github.com/kubernetes-csi/external-snapshotter/tree/v8.2.0/client/config/crd
- https://github.com/kubernetes-csi/external-snapshotter/tree/v8.2.0/deploy/kubernetes/snapshot-controller
- apps.yml - apps.yml
- https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/main/manifests/dragonfly-operator.yaml - https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/main/manifests/dragonfly-operator.yaml
- postgresql-image.yml - postgresql-image.yml