Skip to content

Commit afab4b7

Browse files
authored
add makefile configs for bbr helm chart (kubernetes-sigs#553)
1 parent 189f0dc commit afab4b7

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,10 @@ PHONY: inferencepool-helm-chart-push
298298
inferencepool-helm-chart-push: yq helm
299299
CHART=inferencepool EXTRA_TAG="$(EXTRA_TAG)" IMAGE_REGISTRY="$(IMAGE_REGISTRY)" YQ="$(YQ)" HELM="$(HELM)" ./hack/push-chart.sh
300300

301+
PHONY: bbr-helm-chart-push
302+
bbr-helm-chart-push: yq helm
303+
CHART=body-based-routing EXTRA_TAG="$(EXTRA_TAG)" IMAGE_REGISTRY="$(IMAGE_REGISTRY)" YQ="$(YQ)" HELM="$(HELM)" ./hack/push-chart.sh
304+
301305
##@ Release
302306

303307
.PHONY: release-quickstart

cloudbuild.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ steps:
2424
entrypoint: make
2525
args:
2626
- inferencepool-helm-chart-push
27+
- bbr-helm-chart-push
2728
env:
2829
- EXTRA_TAG=$_PULL_BASE_REF
2930
- GOTOOLCHAIN=auto

config/charts/body-based-routing/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ To install a body-based router named `body-based-router`, you can run the follow
1111
$ helm install body-based-router ./config/charts/body-based-routing
1212
```
1313

14+
To install via the latest published chart in staging (--version v0 indicates latest dev version), you can run the following command:
15+
16+
```txt
17+
$ helm install body-based-router oci://us-central1-docker.pkg.dev/k8s-staging-images/gateway-api-inference-extension/charts/body-based-router --version v0
18+
```
19+
1420
## Uninstall
1521

1622
Run the following command to uninstall the chart:

hack/push-chart.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ readonly semver_regex='^v([0-9]+)(\.[0-9]+){1,2}$'
3535
chart_version=${CHART_VERSION}
3636
if [[ ${EXTRA_TAG} =~ ${semver_regex} ]]
3737
then
38-
# This is a release branch, use the release version
39-
${YQ} -i '.inferenceExtension.image.tag=strenv(EXTRA_TAG)' config/charts/inferencepool/values.yaml
38+
${YQ} -i '.inferenceExtension.image.tag=strenv(EXTRA_TAG)' config/charts/${CHART}/values.yaml
4039
chart_version=${EXTRA_TAG}
4140
fi
4241

0 commit comments

Comments
 (0)