Skip to content

Commit e8760e6

Browse files
committed
Update K8s version strategy URL
This changed recently to dl.k8s.io and is required to determine the version for kubectl when not specified. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent 47b65f5 commit e8760e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/get/get.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ var releaseLocations = map[string]ReleaseLocation{
133133
Method: http.MethodHead,
134134
},
135135
k8sVersionStrategy: {
136-
Url: "https://cdn.dl.k8s.io/release/stable.txt",
136+
Url: "https://dl.k8s.io/release/stable.txt",
137137
Timeout: time.Second * 10,
138138
Method: http.MethodGet,
139139
},

0 commit comments

Comments
 (0)