-
Notifications
You must be signed in to change notification settings - Fork 18
/
Makefile
12 lines (9 loc) · 1.43 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
APP_VERSION := $(shell yq e '.appVersion' ./Chart.yaml)
.PHONY: crds
crds:
curl -fsSL https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(APP_VERSION)/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml -o crds/snapshot.storage.k8s.io_volumesnapshotclasses.yaml
curl -fsSL https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(APP_VERSION)/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml -o crds/snapshot.storage.k8s.io_volumesnapshots.yaml
curl -fsSL https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(APP_VERSION)/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml -o crds/snapshot.storage.k8s.io_volumesnapshotcontents.yaml
curl -fsSL https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(APP_VERSION)/client/config/crd/groupsnapshot.storage.k8s.io_volumegroupsnapshotclasses.yaml -o crds/groupsnapshot.storage.k8s.io_volumegroupsnapshotclasses.yaml
curl -fsSL https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(APP_VERSION)/client/config/crd/groupsnapshot.storage.k8s.io_volumegroupsnapshotcontents.yaml -o crds/groupsnapshot.storage.k8s.io_volumegroupsnapshotcontents.yaml
curl -fsSL https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/$(APP_VERSION)/client/config/crd/groupsnapshot.storage.k8s.io_volumegroupsnapshots.yaml -o crds/groupsnapshot.storage.k8s.io_volumegroupsnapshots.yaml