Skip to content

Commit c903e5d

Browse files
poytekton-robot
authored andcommitted
config: prefixes image names with ko:// scheme
This allows `ko` to improve the experience with Go modules. See ko-build/ko#58 for more information.
1 parent f17245c commit c903e5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/controller.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
serviceAccountName: tekton-pipelines-controller
4343
containers:
4444
- name: tekton-pipelines-controller
45-
image: github.com/tektoncd/pipeline/cmd/controller
45+
image: ko://github.com/tektoncd/pipeline/cmd/controller
4646
args: [
4747
"-kubeconfig-writer-image", "github.com/tektoncd/pipeline/cmd/kubeconfigwriter",
4848
"-creds-image", "github.com/tektoncd/pipeline/cmd/creds-init",

config/webhook.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ spec:
4848
- name: webhook
4949
# This is the Go import path for the binary that is containerized
5050
# and substituted here.
51-
image: github.com/tektoncd/pipeline/cmd/webhook
51+
image: ko://github.com/tektoncd/pipeline/cmd/webhook
5252
env:
5353
- name: SYSTEM_NAMESPACE
5454
valueFrom:

0 commit comments

Comments
 (0)