Skip to content

Commit

Permalink
Add script for update numaflow crds
Browse files Browse the repository at this point in the history
Signed-off-by: chandankumar4 <chandan.kr404@gmail.com>
  • Loading branch information
chandankumar4 committed May 22, 2024
1 parent 459ad6c commit adc6670
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
SHELL:=/bin/bash

# Latest version of Numaflow
NUMAFLOW_VERSION=v1.2.1

# Update the numaflow CRDs
.PHONY: update-crds
update-crds:
NUMAFLOW_VERSION=${NUMAFLOW_VERSION} ./scripts/numaflow-release.sh
4 changes: 4 additions & 0 deletions scripts/numaflow-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Download numaflow CRDs
wget -O charts/numaflow/crds/isbsvcs.yaml https://raw.githubusercontent.com/numaproj/numaflow/${NUMAFLOW_VERSION}/config/base/crds/full/numaflow.numaproj.io_interstepbufferservices.yaml
wget -O charts/numaflow/crds/pipelines.yaml https://raw.githubusercontent.com/numaproj/numaflow/${NUMAFLOW_VERSION}/config/base/crds/full/numaflow.numaproj.io_pipelines.yaml
wget -O charts/numaflow/crds/vertices.yaml https://raw.githubusercontent.com/numaproj/numaflow/${NUMAFLOW_VERSION}/config/base/crds/full/numaflow.numaproj.io_vertices.yaml

0 comments on commit adc6670

Please sign in to comment.