Add example using helm repo to helm installation guide#3517
Conversation
|
Hi @avrittrohwer. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
|
/ok-to-test |
| Or use the charts pushed to `us-central1-docker.pkg.dev/k8s-staging-images/charts/kueue`: | ||
|
|
||
| ```bash | ||
| VERSION=v0.9.0 |
There was a problem hiding this comment.
Could you please add file path for this file here
Line 282 in 43b7374
to replace version on make prepare-release-branch.
There was a problem hiding this comment.
There was a problem hiding this comment.
There was a problem hiding this comment.
Tested with $ sed -r 's/--version="v[0-9]+\.[0-9]+\.[0-9]+/--version="v0.9.1/g' -i charts/kueue/README.md
$ gd
diff --git a/Makefile b/Makefile
index dcf8edbb..0e343dd8 100644
--- a/Makefile
+++ b/Makefile
@@ -280,6 +280,7 @@ artifacts: kustomize yq helm ## Generate release artifacts.
.PHONY: prepare-release-branch
prepare-release-branch: yq kustomize ## Prepare the release branch with the release version.
$(SED) -r 's/v[0-9]+\.[0-9]+\.[0-9]+/$(RELEASE_VERSION)/g' -i README.md -i site/hugo.toml -i charts/kueue/README.md
+ $(SED) -r 's/--version="v[0-9]+\.[0-9]+\.[0-9]+/--version="$(RELEASE_VERSION)/g' -i charts/kueue/README.md
$(YQ) e '.appVersion = "$(RELEASE_VERSION)"' -i charts/kueue/Chart.yaml
@$(call clean-manifests)
diff --git a/charts/kueue/README.md b/charts/kueue/README.md
index fbcb94d9..6609cec9 100644
--- a/charts/kueue/README.md
+++ b/charts/kueue/README.md
@@ -35,7 +35,7 @@ $ helm install kueue kueue/ --create-namespace --namespace kueue-system
Or use the charts pushed to `us-central1-docker.pkg.dev/k8s-staging-images/charts/kueue`:
```bash
-helm install kueue oci://us-central1-docker.pkg.dev/k8s-staging-images/charts/kueue --version="v0.9.0" --create-namespace --namespace=kueue-system
+helm install kueue oci://us-central1-docker.pkg.dev/k8s-staging-images/charts/kueue --version="v0.9.1" --create-namespace --namespace=kueue-system
Co-authored-by: Mykhailo Bobrovskyi <mikhail.bobrovsky@gmail.com>
|
/lgtm |
|
LGTM label has been added. DetailsGit tree hash: cd289c54937372a78e7a332152186be0b985facb |
|
/cc @mimowo |
| .PHONY: prepare-release-branch | ||
| prepare-release-branch: yq kustomize ## Prepare the release branch with the release version. | ||
| $(SED) -r 's/v[0-9]+\.[0-9]+\.[0-9]+/$(RELEASE_VERSION)/g' -i README.md -i site/hugo.toml | ||
| $(SED) -r 's/v[0-9]+\.[0-9]+\.[0-9]+/$(RELEASE_VERSION)/g' -i README.md -i site/hugo.toml -i charts/kueue/README.md |
There was a problem hiding this comment.
| $(SED) -r 's/v[0-9]+\.[0-9]+\.[0-9]+/$(RELEASE_VERSION)/g' -i README.md -i site/hugo.toml -i charts/kueue/README.md | |
| $(SED) -r 's/v[0-9]+\.[0-9]+\.[0-9]+/$(RELEASE_VERSION)/g' -i README.md -i site/hugo.toml |
Only one thing. Could you please revert?
|
/lgtm |
|
LGTM label has been added. DetailsGit tree hash: 5f54bd22df8539269f585de99f40e0d3ab481f11 |
mimowo
left a comment
There was a problem hiding this comment.
This is awesome, thank you!
/lgtm
/approve
/cherry-pick website
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: avrittrohwer, mbobrovskyi, mimowo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Do we need to cherry-pick this to the website? It looks like it’s just changes to the Helm docs. |
|
Helm docs are part of documentation, so it feels better to cherry-pick it. |
|
Ah, I see, we reference the link from "main" for helm, so it already displays the information for those who follow the link. |
…gs#3517) * Add example using helm repo to helm installation guide * Update charts/kueue/README.md Co-authored-by: Mykhailo Bobrovskyi <mikhail.bobrovsky@gmail.com> * Add kueue README.md to version replace sed * Fix sed replace for kueue helm readme * Remove kueue readme from other sed --------- Co-authored-by: Mykhailo Bobrovskyi <mikhail.bobrovsky@gmail.com>
What type of PR is this?
/kind documentation
What this PR does / why we need it:
Makes the helm OCI repo more discoverable.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?