Skip to content

Commit

Permalink
feat: update cms
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
  • Loading branch information
tty47 committed Jun 22, 2023
1 parent 3eb0198 commit 5735ce8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 25 deletions.
6 changes: 0 additions & 6 deletions deployment/base/config/config.yaml

This file was deleted.

11 changes: 3 additions & 8 deletions deployment/overlays/local/config/config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
mutualPeers:
- peers:
- nodeName: "da-bridge-0"
- nodeName: "da-bridge-1-0"
containerName: "da"
- nodeName: "da-full-0"
containerName: "da"
- peers:
- nodeName: "test-pod"
containerName: "pod"
- nodeName: "testing-pod-0"
containerName: "test"
- nodeName: "da-full-1-0"
containerName: "da"
11 changes: 3 additions & 8 deletions deployment/overlays/robusta-torch-1/config/config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
mutualPeers:
- peers:
- nodeName: "da-bridge-0"
- nodeName: "da-bridge-1-0"
containerName: "da"
- nodeName: "da-full-0"
containerName: "da"
- peers:
- nodeName: "test-pod"
containerName: "pod"
- nodeName: "testing-pod-0"
containerName: "test"
- nodeName: "da-full-1-0"
containerName: "da"
7 changes: 4 additions & 3 deletions pkg/k8s/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import (
)

var (
trustedPeerFile = "/tmp/TP-ADDR"
trustedPeers = "/home/celestia/config/"
trustedPeerFile = "/tmp/TP-ADDR"
//trustedPeers = "/home/celestia/config/"
trustedPeers = "/tmp/"
trusteedPeerPrefix = "/dns/$(hostname)/tcp/2121/p2p/"
)

Expand Down Expand Up @@ -55,7 +56,7 @@ fi`, trustedPeerFile, trusteedPeerPrefix)
// BulkTrustedPeerCommand generates the peers content in the files
func BulkTrustedPeerCommand(tp string) []string {
script := fmt.Sprintf(`#!/bin/sh
# create the folder if doesnt exists
# create the folder if doesnt exists
mkdir -p "%[3]s"
if [ ! -f "%[3]s" ];then
Expand Down

0 comments on commit 5735ce8

Please sign in to comment.