Skip to content

Commit

Permalink
drenv: update external-snapshotter addon to v8.2
Browse files Browse the repository at this point in the history
Update external-snapshotter addon crds & resources from v8.1.0 to v8.2

Signed-off-by: Parikshith <[email protected]>
  • Loading branch information
parikshithb authored and BenamarMk committed Feb 11, 2025
1 parent 8ed17cd commit b7c46ec
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions test/addons/external-snapshotter/cache
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ import os
from drenv import cache

os.chdir(os.path.dirname(__file__))
cache.refresh("crds", "addons/external-snapshotter-crds-8.1.0.yaml")
cache.refresh("controller", "addons/external-snapshotter-controller-8.1.0.yaml")
cache.refresh("crds", "addons/external-snapshotter-crds-8.2.yaml")
cache.refresh("controller", "addons/external-snapshotter-controller-8.2.yaml")
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
resources:
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/v8.1.0/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/v8.1.0/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/release-8.2/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/release-8.2/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml
namespace: kube-system
12 changes: 6 additions & 6 deletions test/addons/external-snapshotter/crds/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
resources:
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/v8.1.0/client/config/crd/groupsnapshot.storage.k8s.io_volumegroupsnapshotclasses.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/v8.1.0/client/config/crd/groupsnapshot.storage.k8s.io_volumegroupsnapshotcontents.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/v8.1.0/client/config/crd/groupsnapshot.storage.k8s.io_volumegroupsnapshots.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/v8.1.0/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/v8.1.0/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/v8.1.0/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/release-8.2/client/config/crd/groupsnapshot.storage.k8s.io_volumegroupsnapshotclasses.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/release-8.2/client/config/crd/groupsnapshot.storage.k8s.io_volumegroupsnapshotcontents.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/release-8.2/client/config/crd/groupsnapshot.storage.k8s.io_volumegroupsnapshots.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/release-8.2/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/release-8.2/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml
- https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/release-8.2/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml
4 changes: 2 additions & 2 deletions test/addons/external-snapshotter/start
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ from drenv import cache

def deploy(cluster):
print("Deploying crds")
path = cache.get("crds", "addons/external-snapshotter-crds-8.1.0.yaml")
path = cache.get("crds", "addons/external-snapshotter-crds-8.2.yaml")
kubectl.apply("--filename", path, context=cluster)

print("Waiting until crds are established")
kubectl.wait("--for=condition=established", "--filename", path, context=cluster)

print("Deploying snapshot-controller")
path = cache.get("controller", "addons/external-snapshotter-controller-8.1.0.yaml")
path = cache.get("controller", "addons/external-snapshotter-controller-8.2.yaml")
kubectl.apply("--filename", path, context=cluster)


Expand Down

0 comments on commit b7c46ec

Please sign in to comment.