mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
feat: add external-snapshotter
This commit is contained in:
38
cluster/core/infrastructure/external-snapshotter/crds.yaml
Normal file
38
cluster/core/infrastructure/external-snapshotter/crds.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||
kind: GitRepository
|
||||
metadata:
|
||||
name: external-snapshotter-source
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 30m
|
||||
url: https://github.com/kubernetes-csi/external-snapshotter.git
|
||||
ref:
|
||||
tag: v4.0.0
|
||||
ignore: |
|
||||
# exclude all
|
||||
/*
|
||||
# include deploy crds dir
|
||||
!/client/config/crd
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
|
||||
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
|
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- crds.yaml
|
@@ -3,6 +3,7 @@ kind: Kustomization
|
||||
resources:
|
||||
- cert-manager
|
||||
- descheduler
|
||||
- external-snapshotter
|
||||
- flux
|
||||
- intel-gpu-plugin
|
||||
- kube-prometheus-stack
|
||||
|
Reference in New Issue
Block a user