Skip to content

Commit f127363

Browse files
committed
cmd/gitmirror: push to prod namespace
Overlooked this -- the set-image command doesn't use a YAML file so needs to specify the namespace explicitly. Change-Id: I3602dbb31afc27df6087207b57b081975024021d Reviewed-on: https://go-review.googlesource.com/c/build/+/347411 Trust: Heschi Kreinick <[email protected]> Run-TryBot: Heschi Kreinick <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 7a062ca commit f127363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/gitmirror/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ push-staging: docker-staging
2323
docker push $(IMAGE_STAGING):$(VERSION)
2424

2525
deploy-prod: push-prod
26-
kubectl set image deployment/gitmirror-serving-deployment gitmirror=$(IMAGE_PROD):$(VERSION)
27-
kubectl set image deployment/gitmirror-mirroring-deployment gitmirror=$(IMAGE_PROD):$(VERSION)
26+
kubectl set image --namespace=prod deployment/gitmirror-serving-deployment gitmirror=$(IMAGE_PROD):$(VERSION)
27+
kubectl set image --namespace=prod deployment/gitmirror-mirroring-deployment gitmirror=$(IMAGE_PROD):$(VERSION)
2828

2929
deploy-staging: push-staging
3030
echo "no staging configuration"

0 commit comments

Comments
 (0)