Skip to content

Commit

Permalink
config: prefixes image names with ko:// scheme
Browse files Browse the repository at this point in the history
This allows `ko` to improve the experience with Go modules. See
ko-build/ko#58 for more information.
  • Loading branch information
poy committed Mar 11, 2020
1 parent fedf61a commit f744211
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
serviceAccountName: tekton-pipelines-controller
containers:
- name: tekton-pipelines-controller
image: github.com/tektoncd/pipeline/cmd/controller
image: ko://github.com/tektoncd/pipeline/cmd/controller
args: [
"-kubeconfig-writer-image", "github.com/tektoncd/pipeline/cmd/kubeconfigwriter",
"-creds-image", "github.com/tektoncd/pipeline/cmd/creds-init",
Expand Down
2 changes: 1 addition & 1 deletion config/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
- name: webhook
# This is the Go import path for the binary that is containerized
# and substituted here.
image: github.com/tektoncd/pipeline/cmd/webhook
image: ko://github.com/tektoncd/pipeline/cmd/webhook
env:
- name: SYSTEM_NAMESPACE
valueFrom:
Expand Down

0 comments on commit f744211

Please sign in to comment.