Skip to content

Commit

Permalink
Use latest release of csi-addons
Browse files Browse the repository at this point in the history
We have a proper release now, so we can use it instead of following main
and get more stable builds.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
  • Loading branch information
nirs committed Jul 2, 2023
1 parent abca759 commit 1f31ef6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions test/addons/csi-addons/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ resources:
- ${base_url}/crds.yaml
- ${base_url}/rbac.yaml
- ${base_url}/setup-controller.yaml

images:
- name: quay.io/csiaddons/k8s-controller
newTag: ${image_tag}
4 changes: 2 additions & 2 deletions test/addons/csi-addons/start
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import sys
import drenv
from drenv import kubectl

# Using main till a release is available with lastSyncTime.
VERSION = "main"
VERSION = "v0.7.0"
BASE_URL = f"https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/{VERSION}/deploy/controller"


Expand All @@ -19,6 +18,7 @@ def deploy(cluster):
with drenv.kustomization(
"kustomization.yaml",
base_url=BASE_URL,
image_tag=VERSION,
) as kustomization:
kubectl.apply("--kustomize", kustomization, context=cluster)

Expand Down

0 comments on commit 1f31ef6

Please sign in to comment.