Skip to content

Commit

Permalink
Use ko:// prefix for dashboard image
Browse files Browse the repository at this point in the history
Latest ko version requires this prefix.

Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
  • Loading branch information
barthy1 authored and tekton-robot committed Oct 2, 2020
1 parent c153cfe commit e43ff02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion overlays/installer/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ resources:
- ../../../base/300-service.yaml
images:
- name: dashboardImage
newName: github.com/tektoncd/dashboard/cmd/dashboard
newName: ko://github.com/tektoncd/dashboard/cmd/dashboard
patchesJson6902:
- target:
group: apps
Expand Down
2 changes: 1 addition & 1 deletion scripts/installer
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ patch() {
replace "namespace: tekton-dashboard" "namespace: $INSTALL_NAMESPACE"

if [ "$OPENSHIFT" == "true" ] && [ "$IMAGE_STREAM" == "true" ]; then
replace "image: github.com/tektoncd/dashboard/cmd/dashboard" "image: $INSTALL_NAMESPACE/tekton-dashboard"
replace "image: ko://github.com/tektoncd/dashboard/cmd/dashboard" "image: $INSTALL_NAMESPACE/tekton-dashboard"
fi
}

Expand Down

0 comments on commit e43ff02

Please sign in to comment.