Skip to content

Commit 95db32c

Browse files
authored
Merge pull request #67 from hsanjuan/fix/65-set-bootstrappers
ipfs configuration: add default bootstrappers
2 parents 0c892ae + 6dc747b commit 95db32c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/scripts/ipfs.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ func setFlatfsShardFunc(conf *config.Config, n uint8) error {
203203
// applyIPFSClusterK8sDefaults Applies settings to the given Kubo configuration
204204
// which are customized specifically for running within a Kubernetes cluster.
205205
func applyIPFSClusterK8sDefaults(conf *config.Config, storageMax string, peers []peer.AddrInfo, rc config.RelayClient) {
206+
conf.Bootstrap = config.DefaultBootstrapAddresses
206207
conf.Addresses.API = config.Strings{"/ip4/0.0.0.0/tcp/5001"}
207208
conf.Addresses.Gateway = config.Strings{"/ip4/0.0.0.0/tcp/8080"}
208209
conf.Swarm.ConnMgr.HighWater = 2000

0 commit comments

Comments
 (0)