mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-02-06 09:16:28 +00:00
feat: add external-snapshotter
Signed-off-by: JJGadgets <git@jjgadgets.tech>
This commit is contained in:
@@ -22,6 +22,15 @@ spec:
|
||||
path: ./kube/3-deploy/1-core/01-networking/cilium
|
||||
dependsOn: []
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: biohazard-1-core-02-storage-1-external-snapshotter
|
||||
namespace: flux-system
|
||||
spec:
|
||||
path: ./kube/3-deploy/1-core/02-storage/1-external-snapshotter
|
||||
dependsOn: []
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
@@ -49,6 +58,7 @@ metadata:
|
||||
spec:
|
||||
path: ./kube/3-deploy/1-core/02-storage/rook-ceph/app
|
||||
dependsOn:
|
||||
- name: biohazard-1-core-02-storage-1-external-snapshotter
|
||||
- name: biohazard-1-core-02-storage-rook-ceph-crds
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
@@ -59,6 +69,7 @@ metadata:
|
||||
spec:
|
||||
path: ./kube/3-deploy/1-core/02-storage/rook-ceph/cluster
|
||||
dependsOn:
|
||||
- name: biohazard-1-core-02-storage-1-external-snapshotter
|
||||
- name: biohazard-1-core-02-storage-rook-ceph-app
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: GitRepository
|
||||
metadata:
|
||||
name: external-snapshotter-crds
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m0s
|
||||
url: https://github.com/kubernetes-csi/external-snapshotter.git
|
||||
ref:
|
||||
branch: release-6.2
|
||||
ignore: |
|
||||
# exclude all to whitelist
|
||||
/*
|
||||
# include CR
|
||||
!/client/config/crd
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: external-snapshotter-crds
|
||||
namespace: flux-system
|
||||
labels: # for my repo's Fluxtomization patching, can be ignored for those passing by
|
||||
kustomization.flux.home.arpa/name: "flux"
|
||||
kustomization.flux.home.arpa/default: "false"
|
||||
kustomization.flux.home.arpa/helmpatches: "false"
|
||||
substitution.flux.home.arpa/disabled: "true"
|
||||
prune.flux.home.arpa/disabled: "true"
|
||||
spec:
|
||||
interval: 5m
|
||||
prune: false
|
||||
wait: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: external-snapshotter-crds
|
||||
dependsOn: []
|
||||
@@ -0,0 +1,37 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: GitRepository
|
||||
metadata:
|
||||
name: external-snapshotter-controller
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m0s
|
||||
url: https://github.com/kubernetes-csi/external-snapshotter.git
|
||||
ref:
|
||||
branch: release-6.2
|
||||
ignore: |
|
||||
# exclude all to whitelist
|
||||
/*
|
||||
# include controller
|
||||
!/deploy/kubernetes/snapshot-controller
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: external-snapshotter-controller
|
||||
namespace: flux-system
|
||||
labels: # for my repo's Fluxtomization patching, can be ignored for those passing by
|
||||
kustomization.flux.home.arpa/name: "flux"
|
||||
kustomization.flux.home.arpa/default: "false"
|
||||
kustomization.flux.home.arpa/helmpatches: "false"
|
||||
substitution.flux.home.arpa/disabled: "true"
|
||||
prune.flux.home.arpa/disabled: "true"
|
||||
spec:
|
||||
interval: 5m
|
||||
prune: false
|
||||
wait: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: external-snapshotter-controller
|
||||
dependsOn:
|
||||
- name: external-snapshotter-crds
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- 1-crds.yaml
|
||||
- 2-controller.yaml
|
||||
Reference in New Issue
Block a user