mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 23:45:25 +02:00
39 lines
1017 B
YAML
39 lines
1017 B
YAML
---
|
|
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
|
kind: GitRepository
|
|
metadata:
|
|
name: external-snapshotter-source
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 1h
|
|
url: https://github.com./kubernetes-csi/external-snapshotter.git
|
|
ref:
|
|
tag: v4.1.0
|
|
ignore: |
|
|
# exclude all
|
|
/*
|
|
# include deploy crds dir
|
|
!/client/config/crd
|
|
---
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
|
kind: Kustomization
|
|
metadata:
|
|
name: external-snapshotter-crds
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 15m
|
|
prune: false
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: external-snapshotter-source
|
|
healthChecks:
|
|
- apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
name: volumesnapshotclasses.snapshot.storage.k8s.io
|
|
- apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
name: volumesnapshotcontents.snapshot.storage.k8s.io
|
|
- apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
name: volumesnapshots.snapshot.storage.k8s.io
|