File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 57
57
const (
58
58
DefaultReleaseDownloadLinkBase = "gs://kubernetes-release/release"
59
59
DefaultRevision = "0"
60
+ DefaultSpecTemplatePath = "cmd/krel/templates/latest"
60
61
)
61
62
62
63
func IsSupported (field string , input , expected []string ) bool {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const (
58
58
59
59
// defaultSpecTemplatePath is path inside Google Cloud Build where package
60
60
// specs for kubeadm, kubectl, and kubelet are located.
61
- defaultSpecTemplatePath = workspaceDir + "/go/src/k8s.io/release/cmd/krel/templates/latest"
61
+ defaultSpecTemplatePath = workspaceDir + "/go/src/k8s.io/release/" + consts . DefaultSpecTemplatePath
62
62
63
63
// obsRoot is path inside Google Cloud Build where OBS project and packages
64
64
// are checked out.
Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ func DefaultOptions() *Options {
78
78
consts .ArchitecturePPC64 ,
79
79
consts .ArchitectureS390X ,
80
80
},
81
+ Channel : consts .ChannelTypeRelease ,
82
+ SpecOutputPath : "." ,
83
+ SpecTemplatePath : consts .DefaultSpecTemplatePath ,
81
84
}
82
85
}
83
86
You can’t perform that action at this time.
0 commit comments