diff --git a/argocd/applications/external-snapshotter.yaml b/argocd/applications/external-snapshotter.yaml new file mode 100644 index 0000000..b69fc4b --- /dev/null +++ b/argocd/applications/external-snapshotter.yaml @@ -0,0 +1,21 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: external-snapshotter + namespace: argocd +spec: + project: k-space.ee + source: + # also depends on git@git.k-space.ee:secretspace/kube.git + repoURL: git@git.k-space.ee:k-space/kube.git + targetRevision: HEAD + path: external-snapshotter + destination: + server: 'https://kubernetes.default.svc' + namespace: kube-system + syncPolicy: + automated: + prune: true + syncOptions: + - CreateNamespace=true diff --git a/external-snapshotter/README.md b/external-snapshotter/README.md new file mode 100644 index 0000000..dd4303e --- /dev/null +++ b/external-snapshotter/README.md @@ -0,0 +1,4 @@ +# external-snapshotter + +https://github.com/kubernetes-csi/external-snapshotter/tree/master + diff --git a/external-snapshotter/application.yml b/external-snapshotter/application.yml new file mode 100644 index 0000000..3523c66 --- /dev/null +++ b/external-snapshotter/application.yml @@ -0,0 +1,14 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +namespace: kube-system + +# Pull in the VolumeSnapshot CRDs +resources: + - https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml + - https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml + - https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml + +# Pull in the Snapshot Controller’s RBAC and Deployment + - https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml + - https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml