File tree Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ type configureIpfsOpts struct {
1818}
1919
2020const (
21- // TODO: dockerize kubo and move this script to the container
2221 configureIpfs = `
2322#!/bin/sh
2423set -e
3635
3736echo '{{ .FlattenedConfig }}' > config.json
3837ipfs init -- config.json
39- MYSELF=$(ipfs id -f="<id>")
40-
41- # use 'next-to-last/3' as the sharding function
42- sed 's/next-to-last\/2/next-to-last\/3/g' /data/ipfs/config
4338
4439chown -R ipfs: /data/ipfs
4540`
@@ -126,7 +121,7 @@ for op in "${@}"; do
126121 exit 1
127122 ;;
128123 esac
129- done
124+ done
130125`
131126)
132127
@@ -233,17 +228,9 @@ func createTemplateConfig(
233228 identity , err = config .CreateIdentity (os .Stdout , []options.KeyGenerateOption {
234229 options .Key .Type (options .Ed25519Key ),
235230 })
236- // fall back to RSA
237231 if err != nil {
238- identity , err = config .CreateIdentity (os .Stdout , []options.KeyGenerateOption {
239- options .Key .Type (options .RSAKey ),
240- options .Key .Size (4096 ),
241- })
242- if err != nil {
243- return
244- }
232+ return
245233 }
246-
247234 // set keys + defaults
248235 conf .Identity = identity
249236
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const (
4747 // ipfsMountPath Defines where the IPFS volume is mounted.
4848 ipfsMountPath = "/data/ipfs"
4949 // ipfsImage Defines which image we should pull when running IPFS containers.
50- ipfsImage = "docker.io/ipfs/go-ipfs :v0.12.2 "
50+ ipfsImage = "docker.io/ipfs/kubo :v0.14.0 "
5151)
5252
5353// statefulSet Returns a mutate function that creates a statefulSet for the
You can’t perform that action at this time.
0 commit comments