File tree 5 files changed +25
-9
lines changed 5 files changed +25
-9
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,13 @@ replace (
110
110
k8s.io/kubernetes => k8s.io/kubernetes v1.14.1
111
111
)
112
112
113
- replace github.com/operator-framework/operator-lifecycle-manager => github.com/operator-framework/operator-lifecycle-manager v0.0.0-20190605231540-b8a4faf68e36
113
+ replace (
114
+ // Indirect operator-sdk dependencies use git.apache.org, which is frequently
115
+ // down. The github mirror should be used instead.
116
+ // Locking to a specific version (from 'go mod graph'):
117
+ git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999
118
+ github.com/operator-framework/operator-lifecycle-manager => github.com/operator-framework/operator-lifecycle-manager v0.0.0-20190605231540-b8a4faf68e36
119
+ )
114
120
115
121
// Remove when controller-tools v0.2.2 is released
116
122
// Required for the bugfix https://github.com/kubernetes-sigs/controller-tools/pull/322
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ cloud.google.com/go v0.37.2 h1:4y4L7BdHenTfZL0HervofNTHh9Ad6mNX72cQvl+5eH0=
6
6
cloud.google.com/go v0.37.2 /go.mod h1:H8IAquKe2L30IxoupDgqTaQvKSwF/c8prYHynGIWQbA =
7
7
contrib.go.opencensus.io/exporter/ocagent v0.4.12 h1:jGFvw3l57ViIVEPKKEUXPcLYIXJmQxLUh6ey1eJhwyc =
8
8
contrib.go.opencensus.io/exporter/ocagent v0.4.12 /go.mod h1:450APlNTSR6FrvC3CTRqYosuDstRB9un7SOx2k/9ckA =
9
- git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999 /go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg =
10
- git.apache.org/thrift.git v0.12.0 /go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg =
11
9
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8 =
12
10
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 /go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8 =
13
11
github.com/Azure/go-autorest v11.7.0+incompatible h1:gzma19dc9ejB75D90E5S+/wXouzpZyA+CV+/MJPSD/k =
@@ -38,6 +36,7 @@ github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMx
38
36
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc /go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc =
39
37
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf /go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0 =
40
38
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 /go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c =
39
+ github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999 /go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ =
41
40
github.com/apache/thrift v0.12.0 /go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ =
42
41
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6 /go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8 =
43
42
github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf /go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY =
Original file line number Diff line number Diff line change @@ -57,9 +57,15 @@ replace (
57
57
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver kubernetes-1.14.1
58
58
)
59
59
60
- // Pinned to v2.10.0 (kubernetes-1.14.1) so https://proxy.golang.org can
61
- // resolve it correctly.
62
- replace github.com/prometheus/prometheus => github.com/prometheus/prometheus d20e84d0fb64aff2f62a977adc8cfb656da4e286
60
+ replace (
61
+ // Indirect operator-sdk dependencies use git.apache.org, which is frequently
62
+ // down. The github mirror should be used instead.
63
+ // Locking to a specific version (from 'go mod graph'):
64
+ git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999
65
+ // Pinned to v2.10.0 (kubernetes-1.14.1) so https://proxy.golang.org can
66
+ // resolve it correctly.
67
+ github.com/prometheus/prometheus => github.com/prometheus/prometheus d20e84d0fb64aff2f62a977adc8cfb656da4e286
68
+ )
63
69
`
64
70
65
71
func PrintGoMod () error {
Original file line number Diff line number Diff line change @@ -38,13 +38,11 @@ func (s *GoMod) GetInput() (input.Input, error) {
38
38
const goModTmpl = `module {{ .Repo }}
39
39
40
40
require (
41
- github.com/coreos/prometheus-operator v0.31.1 // indirect
42
41
github.com/operator-framework/operator-sdk master
43
42
github.com/spf13/pflag v1.0.3
44
43
k8s.io/api v0.0.0-20190612125737-db0771252981
45
44
k8s.io/apimachinery v0.0.0-20190612125636-6a5db36e93ad
46
45
k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
47
- k8s.io/kube-openapi v0.0.0-20190603182131-db7b694dc208 // indirect
48
46
sigs.k8s.io/controller-runtime v0.2.0
49
47
)
50
48
@@ -58,6 +56,10 @@ replace (
58
56
)
59
57
60
58
replace (
59
+ // Indirect operator-sdk dependencies use git.apache.org, which is frequently
60
+ // down. The github mirror should be used instead.
61
+ // Locking to a specific version (from 'go mod graph'):
62
+ git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999
61
63
github.com/coreos/prometheus-operator => github.com/coreos/prometheus-operator v0.31.1
62
64
// Pinned to v2.10.0 (kubernetes-1.14.1) so https://proxy.golang.org can
63
65
// resolve it correctly.
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ require (
61
61
gotest.tools v2.2.0+incompatible // indirect
62
62
k8s.io/apiserver v0.0.0-20181213151703-3ccfe8365421 // indirect
63
63
k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
64
- k8s.io/helm v2.14.1+incompatible // indirect
65
64
k8s.io/kube-openapi v0.0.0-20190603182131-db7b694dc208 // indirect
66
65
sigs.k8s.io/controller-runtime v0.2.0
67
66
)
@@ -79,6 +78,10 @@ replace (
79
78
)
80
79
81
80
replace (
81
+ // Indirect operator-sdk dependencies use git.apache.org, which is frequently
82
+ // down. The github mirror should be used instead.
83
+ // Locking to a specific version (from 'go mod graph'):
84
+ git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999
82
85
github.com/coreos/prometheus-operator => github.com/coreos/prometheus-operator v0.31.1
83
86
// Pinned to v2.10.0 (kubernetes-1.14.1) so https://proxy.golang.org can
84
87
// resolve it correctly.
You can’t perform that action at this time.
0 commit comments