Skip to content

Commit

Permalink
Merge pull request #27 from adrianchiris/fix-repo-in-chart
Browse files Browse the repository at this point in the history
fix image repo in helm chart update
  • Loading branch information
adrianchiris authored Sep 5, 2024
2 parents e9dfc78 + 02944f5 commit 3f8b388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/release/chart-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -ex

# github tag e.g v1.2.3
GITHUB_TAG=${GITHUB_TAG:-}
# github repo owner e.g mellanox
# github repo owner e.g Mellanox
GITHUB_REPO_OWNER=${GITHUB_REPO_OWNER:-}

BASE=${PWD}
Expand All @@ -28,7 +28,7 @@ OPERATOR_TAG=${GITHUB_TAG}
# patch values.yaml in-place

# maintenance-operator image:
OPERATOR_REPO=${GITHUB_REPO_OWNER} # this is used to allow to release maintenance-operator from forks
OPERATOR_REPO=$(echo ${GITHUB_REPO_OWNER} | tr '[:upper:]' '[:lower:]') # this is used to allow to release maintenance-operator from forks
$YQ_CMD -i ".operator.image.repository = \"ghcr.io/${OPERATOR_REPO}/maintenance-operator\"" ${HELM_VALUES}

# patch Chart.yaml in-place
Expand Down

0 comments on commit 3f8b388

Please sign in to comment.