Skip to content

Commit 5bbeb87

Browse files
fix: update supported plans and software
1 parent a01042a commit 5bbeb87

File tree

3 files changed

+46
-66
lines changed

3 files changed

+46
-66
lines changed

go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 // indirect
2121
github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb // indirect
2222
github.com/cavaliergopher/cpio v1.0.1 // indirect
23-
github.com/cloudflare/circl v1.3.8 // indirect
23+
github.com/cloudflare/circl v1.3.9 // indirect
2424
github.com/cyphar/filepath-securejoin v0.2.5 // indirect
2525
github.com/emirpasic/gods v1.18.1 // indirect
2626
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
@@ -36,7 +36,7 @@ require (
3636
github.com/imdario/mergo v0.3.16 // indirect
3737
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
3838
github.com/kevinburke/ssh_config v1.2.0 // indirect
39-
github.com/klauspost/compress v1.17.8 // indirect
39+
github.com/klauspost/compress v1.17.9 // indirect
4040
github.com/klauspost/pgzip v1.2.6 // indirect
4141
github.com/mitchellh/copystructure v1.2.0 // indirect
4242
github.com/mitchellh/reflectwalk v1.0.2 // indirect
@@ -51,7 +51,7 @@ require (
5151
github.com/xanzy/ssh-agent v0.3.3 // indirect
5252
gitlab.com/digitalxero/go-conventional-commit v1.0.7 // indirect
5353
golang.org/x/crypto v0.24.0 // indirect
54-
golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect
54+
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
5555
golang.org/x/net v0.26.0 // indirect
5656
golang.org/x/sys v0.21.0 // indirect
5757
gopkg.in/warnings.v0 v0.1.2 // indirect

go.sum

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ github.com/caarlos0/testfs v0.4.4/go.mod h1:bRN55zgG4XCUVVHZCeU+/Tz1Q6AxEJOEJTli
3838
github.com/cavaliergopher/cpio v1.0.1 h1:KQFSeKmZhv0cr+kawA3a0xTQCU4QxXF1vhU7P7av2KM=
3939
github.com/cavaliergopher/cpio v1.0.1/go.mod h1:pBdaqQjnvXxdS/6CvNDwIANIFSP0xRKI16PX4xejRQc=
4040
github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA=
41-
github.com/cloudflare/circl v1.3.8 h1:j+V8jJt09PoeMFIu2uh5JUyEaIHTXVOHslFoLNAKqwI=
42-
github.com/cloudflare/circl v1.3.8/go.mod h1:PDRU+oXvdD7KCtgKxW95M5Z8BpSCJXQORiZFnBQS5QU=
41+
github.com/cloudflare/circl v1.3.9 h1:QFrlgFYf2Qpi8bSpVPK1HBvWpx16v/1TZivyo7pGuBE=
42+
github.com/cloudflare/circl v1.3.9/go.mod h1:PDRU+oXvdD7KCtgKxW95M5Z8BpSCJXQORiZFnBQS5QU=
4343
github.com/cyphar/filepath-securejoin v0.2.5 h1:6iR5tXJ/e6tJZzzdMc1km3Sa7RRIVBKAK32O2s7AYfo=
4444
github.com/cyphar/filepath-securejoin v0.2.5/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
4545
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -95,8 +95,8 @@ github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7
9595
github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
9696
github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4=
9797
github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
98-
github.com/klauspost/compress v1.17.8 h1:YcnTYrq7MikUT7k0Yb5eceMmALQPYBW/Xltxn0NAMnU=
99-
github.com/klauspost/compress v1.17.8/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
98+
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
99+
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
100100
github.com/klauspost/pgzip v1.2.6 h1:8RXeL5crjEUFnR2/Sn6GJNWtSQ3Dk8pq4CL3jvdDyjU=
101101
github.com/klauspost/pgzip v1.2.6/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs=
102102
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
@@ -170,8 +170,8 @@ golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2Uz
170170
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
171171
golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI=
172172
golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM=
173-
golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 h1:LoYXNGAShUG3m/ehNk4iFctuhGX/+R1ZpfJ4/ia80JM=
174-
golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI=
173+
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 h1:yixxcjnhBmY0nkL253HFVIm0JsFHwrHdT3Yh6szTnfY=
174+
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI=
175175
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
176176
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
177177
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=

main.go

+37-57
Original file line numberDiff line numberDiff line change
@@ -132,16 +132,6 @@ func generateEnterpriseDownloadsJSON(semVerTag string) enterpriseDownloadsJSON {
132132
d := enterpriseDownloadsJSON{
133133
Subscriptions: map[string]downloadsJSON{},
134134
}
135-
d.Subscriptions["Standard"] = downloadsJSON{
136-
Kubernetes: make(map[string]map[string]downloadJSON),
137-
Linux: make(map[string]map[string]downloadJSON),
138-
Windows: make(map[string]map[string]downloadJSON),
139-
}
140-
d.Subscriptions["Enterprise"] = downloadsJSON{
141-
Kubernetes: make(map[string]map[string]downloadJSON),
142-
Linux: make(map[string]map[string]downloadJSON),
143-
Windows: make(map[string]map[string]downloadJSON),
144-
}
145135
d.Subscriptions["Enterprise-Lite"] = downloadsJSON{
146136
Kubernetes: make(map[string]map[string]downloadJSON),
147137
Linux: make(map[string]map[string]downloadJSON),
@@ -155,15 +145,11 @@ func generateEnterpriseDownloadsJSON(semVerTag string) enterpriseDownloadsJSON {
155145
for subscription := range d.Subscriptions {
156146
d.Subscriptions[subscription].Linux["MinIO Object Store"] = map[string]downloadJSON{}
157147
d.Subscriptions[subscription].Windows["MinIO Object Store"] = map[string]downloadJSON{}
158-
if subscription == "Enterprise-Lite" || subscription == "Enterprise-Plus" {
159-
d.Subscriptions[subscription].Linux["MinIO KMS"] = map[string]downloadJSON{}
160-
d.Subscriptions[subscription].Linux["MinIO Catalog"] = map[string]downloadJSON{}
161-
d.Subscriptions[subscription].Linux["MinIO Firewall"] = map[string]downloadJSON{}
162-
d.Subscriptions[subscription].Linux["MinIO Cache"] = map[string]downloadJSON{}
163-
d.Subscriptions[subscription].Kubernetes["MinIO Enterprise Object Store"] = map[string]downloadJSON{}
164-
} else {
165-
d.Subscriptions[subscription].Kubernetes["MinIO Object Store"] = map[string]downloadJSON{}
166-
}
148+
d.Subscriptions[subscription].Linux["MinIO KMS"] = map[string]downloadJSON{}
149+
d.Subscriptions[subscription].Linux["MinIO Catalog"] = map[string]downloadJSON{}
150+
d.Subscriptions[subscription].Linux["MinIO Firewall"] = map[string]downloadJSON{}
151+
d.Subscriptions[subscription].Linux["MinIO Cache"] = map[string]downloadJSON{}
152+
d.Subscriptions[subscription].Kubernetes["MinIO Enterprise Object Store"] = map[string]downloadJSON{}
167153
}
168154

169155
for subscription := range d.Subscriptions {
@@ -183,55 +169,49 @@ PS> C:\minio.exe server F:\Data --console-address ":9001"`, arch),
183169
},
184170
}
185171
}
186-
if subscription == "Standard" || subscription == "Enterprise" {
187-
d.Subscriptions[subscription].Kubernetes["MinIO Object Store"][arch] = downloadJSON{
188-
Text: `wget https://dl.min.io/enterprise/operator.tar.gz
189-
tar xvf operator.tar.gz
190-
kubectl apply -k operator`,
191-
}
192-
} else {
193-
d.Subscriptions[subscription].Kubernetes["MinIO Enterprise Object Store"][arch] = downloadJSON{
194-
Text: `wget https://dl.min.io/enterprise/console.tar.gz
172+
173+
d.Subscriptions[subscription].Kubernetes["MinIO Enterprise Object Store"][arch] = downloadJSON{
174+
Text: `wget https://dl.min.io/enterprise/console.tar.gz
195175
tar xvf console.tar.gz
196176
kubectl apply -k console`,
197-
}
198-
d.Subscriptions[subscription].Linux["MinIO Cache"][arch] = downloadJSON{
199-
Bin: &dlInfo{
200-
Download: fmt.Sprintf("https://dl.min.io/enterprise/mincache/release/linux-%s/mincache", arch),
201-
Text: fmt.Sprintf(`wget https://dl.min.io/enterprise/mincache/release/linux-%s/mincache
177+
}
178+
d.Subscriptions[subscription].Linux["MinIO Cache"][arch] = downloadJSON{
179+
Bin: &dlInfo{
180+
Download: fmt.Sprintf("https://dl.min.io/enterprise/mincache/release/linux-%s/mincache", arch),
181+
Text: fmt.Sprintf(`wget https://dl.min.io/enterprise/mincache/release/linux-%s/mincache
202182
chmod +x mincache
203183
./mincache serve --config config.yaml`, arch),
204-
Checksum: fmt.Sprintf("https://dl.min.io/enterprise/mincache/release/linux-%s/mincache.sha256sum", arch),
205-
},
206-
}
207-
d.Subscriptions[subscription].Linux["MinIO Firewall"][arch] = downloadJSON{
208-
Bin: &dlInfo{
209-
Download: fmt.Sprintf("https://dl.min.io/enterprise/minwall/release/linux-%s/minwall", arch),
210-
Text: fmt.Sprintf(`wget https://dl.min.io/enterprise/minwall/release/linux-%s/minwall
184+
Checksum: fmt.Sprintf("https://dl.min.io/enterprise/mincache/release/linux-%s/mincache.sha256sum", arch),
185+
},
186+
}
187+
d.Subscriptions[subscription].Linux["MinIO Firewall"][arch] = downloadJSON{
188+
Bin: &dlInfo{
189+
Download: fmt.Sprintf("https://dl.min.io/enterprise/minwall/release/linux-%s/minwall", arch),
190+
Text: fmt.Sprintf(`wget https://dl.min.io/enterprise/minwall/release/linux-%s/minwall
211191
chmod +x minwall
212192
./minwall -c config.yaml`, arch),
213-
Checksum: fmt.Sprintf("https://dl.min.io/enterprise/minwall/release/linux-%s/minwall.sha256sum", arch),
214-
},
215-
}
216-
d.Subscriptions[subscription].Linux["MinIO KMS"][arch] = downloadJSON{
217-
Bin: &dlInfo{
218-
Download: fmt.Sprintf("https://dl.min.io/enterprise/minkms/release/linux-%s/minkms", arch),
219-
Text: fmt.Sprintf(`wget https://dl.min.io/enterprise/minkms/release/linux-%s/minkms
193+
Checksum: fmt.Sprintf("https://dl.min.io/enterprise/minwall/release/linux-%s/minwall.sha256sum", arch),
194+
},
195+
}
196+
d.Subscriptions[subscription].Linux["MinIO KMS"][arch] = downloadJSON{
197+
Bin: &dlInfo{
198+
Download: fmt.Sprintf("https://dl.min.io/enterprise/minkms/release/linux-%s/minkms", arch),
199+
Text: fmt.Sprintf(`wget https://dl.min.io/enterprise/minkms/release/linux-%s/minkms
220200
chmod +x minkms
221201
./minkms --help`, arch),
222-
Checksum: fmt.Sprintf("https://dl.min.io/enterprise/minkms/release/linux-%s/minkms.sha256sum", arch),
223-
},
224-
}
225-
d.Subscriptions[subscription].Linux["MinIO Catalog"][arch] = downloadJSON{
226-
Bin: &dlInfo{
227-
Download: fmt.Sprintf("https://dl.min.io/enterprise/mincat/release/linux-%s/mincat", arch),
228-
Text: fmt.Sprintf(`wget https://dl.min.io/enterprise/mincat/release/linux-%s/mincat
202+
Checksum: fmt.Sprintf("https://dl.min.io/enterprise/minkms/release/linux-%s/minkms.sha256sum", arch),
203+
},
204+
}
205+
d.Subscriptions[subscription].Linux["MinIO Catalog"][arch] = downloadJSON{
206+
Bin: &dlInfo{
207+
Download: fmt.Sprintf("https://dl.min.io/enterprise/mincat/release/linux-%s/mincat", arch),
208+
Text: fmt.Sprintf(`wget https://dl.min.io/enterprise/mincat/release/linux-%s/mincat
229209
chmod +x mincat
230210
./mincat --help`, arch),
231-
Checksum: fmt.Sprintf("https://dl.min.io/enterprise/mincat/release/linux-%s/mincat.sha256sum", arch),
232-
},
233-
}
211+
Checksum: fmt.Sprintf("https://dl.min.io/enterprise/mincat/release/linux-%s/mincat.sha256sum", arch),
212+
},
234213
}
214+
235215
d.Subscriptions[subscription].Linux["MinIO Object Store"][arch] = downloadJSON{
236216
Bin: &dlInfo{
237217
Download: fmt.Sprintf("https://dl.min.io/enterprise/minio/release/linux-%s/minio", arch),

0 commit comments

Comments
 (0)