Skip to content
Snippets Groups Projects
Verified Commit 2e9ec84e authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(rook): replace vendored resources with native ones

This patch replaces the vendored resources with remote ones that should
simplify a rook update in the future.
parent 6cc20ba2
Branches
Tags
Loading
.DEFAULT_GOAL := install
.PHONY: install
install: operator-openshift.yaml crds.yaml common.yaml storageclass.yaml snapshotclass.yaml
perator-openshift.yaml:
curl https://raw.githubusercontent.com/rook/rook/v1.7.0/cluster/examples/kubernetes/ceph/operator-openshift.yaml > operator-openshift.yaml
crds.yaml:
curl https://raw.githubusercontent.com/rook/rook/v1.7.0/cluster/examples/kubernetes/ceph/crds.yaml > crds.yaml
common.yaml:
curl https://raw.githubusercontent.com/rook/rook/v1.7.0/cluster/examples/kubernetes/ceph/common.yaml > common.yaml
storageclass.yaml:
curl https://raw.githubusercontent.com/rook/rook/v1.7.0/cluster/examples/kubernetes/ceph/csi/rbd/storageclass.yaml > storageclass.yaml
snapshotclass.yaml:
curl https://raw.githubusercontent.com/rook/rook/v1.7.0/cluster/examples/kubernetes/ceph/csi/rbd/snapshotclass.yaml > snapshotclass.yaml
This diff is collapsed.
This diff is collapsed.
...@@ -2,9 +2,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1 ...@@ -2,9 +2,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: rook-ceph namespace: rook-ceph
resources: resources:
- crds.yaml - https://git.shivering-isles.com/github-mirror/rook/rook/-/raw/v1.7.1/cluster/examples/kubernetes/ceph/crds.yaml
- common.yaml - https://git.shivering-isles.com/github-mirror/rook/rook/-/raw/v1.7.1/cluster/examples/kubernetes/ceph/common.yaml
- operator-openshift.yaml - https://git.shivering-isles.com/github-mirror/rook/rook/-/raw/v1.7.1/cluster/examples/kubernetes/ceph/operator-openshift.yaml
- https://git.shivering-isles.com/github-mirror/rook/rook/-/raw/v1.7.1/cluster/examples/kubernetes/ceph/snapshotclass.yaml
- cluster-on-pvc.yaml - cluster-on-pvc.yaml
- storageclass.yaml - storageclass.yaml
- snapshotclass.yaml
This diff is collapsed.
---
# 1.17 <= K8s <= v1.19
# apiVersion: snapshot.storage.k8s.io/v1beta1
# K8s >= v1.20
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata:
name: csi-rbdplugin-snapclass
driver: rook-ceph.rbd.csi.ceph.com # driver:namespace:operator
parameters:
# Specify a string that identifies your cluster. Ceph CSI supports any
# unique string. When Ceph CSI is deployed by Rook use the Rook namespace,
# for example "rook-ceph".
clusterID: rook-ceph # namespace:cluster
csi.storage.k8s.io/snapshotter-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/snapshotter-secret-namespace: rook-ceph # namespace:cluster
deletionPolicy: Delete
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment