Skip to content

Commit

Permalink
rename chart to sriov-network-operator-chart
Browse files Browse the repository at this point in the history
this will allow to publish a separate package
for the chart named: sriov-network-operator-chart

eg: ghcr.io/k8snetworkplumbingwg/sriov-network-operator-chart

Signed-off-by: adrianc <[email protected]>
  • Loading branch information
adrianchiris committed Jun 6, 2024
1 parent 005a9e3 commit 60be1a8
Show file tree
Hide file tree
Showing 26 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ uninstall: manifests kustomize
# Generate manifests e.g. CRD, RBAC etc.
manifests: controller-gen
$(CONTROLLER_GEN) $(CRD_OPTIONS) webhook paths="./..." output:crd:artifacts:config=$(CRD_BASES)
cp ./config/crd/bases/* ./deployment/sriov-network-operator/crds/
cp ./config/crd/bases/* ./deployment/sriov-network-operator-chart/crds/

check-manifests: manifests
@set +e; git diff --quiet config; \
Expand Down Expand Up @@ -274,4 +274,3 @@ chart-prepare-release: | $(YQ) ; ## prepare chart for release
.PHONY: chart-push-release
chart-push-release: ## push release chart
@GITHUB_TAG=$(GITHUB_TAG) GITHUB_TOKEN=$(GITHUB_TOKEN) GITHUB_REPO_OWNER=$(GITHUB_REPO_OWNER) hack/release/chart-push.sh

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: sriov-network-operator
name: sriov-network-operator-chart
version: 1.2.0
kubeVersion: '>= 1.16.0-0'
appVersion: 1.2.0
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions hack/release/chart-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ GITHUB_TOKEN=${GITHUB_TOKEN:-}
GITHUB_TAG=${GITHUB_TAG:-}

BASE=${PWD}
HELM_CHART=${BASE}/deployment/sriov-network-operator
HELM_CHART=${BASE}/deployment/sriov-network-operator-chart
HELM_CHART_VERSION=${GITHUB_TAG#"v"}
HELM_CHART_TARBALL="sriov-network-operator-${HELM_CHART_VERSION}.tgz"
HELM_CHART_TARBALL="sriov-network-operator-chart-${HELM_CHART_VERSION}.tgz"

# make sure helm is installed
set +e
Expand Down
4 changes: 2 additions & 2 deletions hack/release/chart-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ GITHUB_REPO_OWNER=${GITHUB_REPO_OWNER:-}

BASE=${PWD}
YQ_CMD="${BASE}/bin/yq"
HELM_VALUES=${BASE}/deployment/sriov-network-operator/values.yaml
HELM_CHART=${BASE}/deployment/sriov-network-operator/Chart.yaml
HELM_VALUES=${BASE}/deployment/sriov-network-operator-chart/values.yaml
HELM_CHART=${BASE}/deployment/sriov-network-operator-chart/Chart.yaml


if [ -z "$GITHUB_TAG" ]; then
Expand Down

0 comments on commit 60be1a8

Please sign in to comment.