Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: config setup for hetzner k8s #417

Merged
merged 10 commits into from
Nov 15, 2024
6 changes: 2 additions & 4 deletions cmd/beekeeper/cmd/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ func (c *command) setupCluster(ctx context.Context, clusterName string, cfg *con

// fund bootnode node group if cluster is started
if startCluster {
err = fund(ctx, fundAddresses, chainNodeEndpoint, walletKey, fundOpts, c.log)
if err != nil {
if err = fund(ctx, fundAddresses, chainNodeEndpoint, walletKey, fundOpts, c.log); err != nil {
return nil, fmt.Errorf("funding node group bootnode: %w", err)
}
c.log.Infof("bootnode node group funded")
Expand All @@ -159,8 +158,7 @@ func (c *command) setupCluster(ctx context.Context, clusterName string, cfg *con

// fund other node groups if cluster is started
if startCluster {
err = fund(ctx, fundAddresses, chainNodeEndpoint, walletKey, fundOpts, c.log)
if err != nil {
if err = fund(ctx, fundAddresses, chainNodeEndpoint, walletKey, fundOpts, c.log); err != nil {
return nil, fmt.Errorf("fund other node groups: %w", err)
}
c.log.Infof("node groups funded")
Expand Down
14 changes: 9 additions & 5 deletions config/beekeeper-local.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
#config-dir: $HOME/.beekeeper
#config-git-repo: ""
#config-git-branch: main
#config-git-username: <GitHub username>
#config-git-password: <GitHub Personal Access Token>
enable-k8s: true
in-cluster: false
geth-url: http://geth-swap.localhost
bzz-token-address: 0x6aab14fe9cccd64a502d23842d916eb5321c26e7
kubeconfig: "~/.kube/config"
geth-url: http://geth-swap.localhost #http://geth-swap.bee-playground.testnet.internal
bzz-token-address: 0x6aab14fe9cccd64a502d23842d916eb5321c26e7 #0x543dDb01Ba47acB11de34891cD86B675F04840db Sepolia
eth-account: 0x62cab2b3b55f341f10348720ca18063cdb779ad5
wallet-key: 4663c222787e30c1994b59044aa5045377a6e79193a8ead88293926b535c722d
kubeconfig: "~/.kube/config"
# config-dir: ""
log-verbosity: "info"
tracing-enable: false
tracing-endpoint: tempo-tempo-distributed-distributor.observability:6831
tracing-endpoint: 10.10.11.199:6831
# tracing-host: 127.0.0.1
# tracing-port: 6831
tracing-service-name: beekeeper
Expand Down
Loading