diff --git a/deployment/base/config/config.yaml b/deployment/base/config/config.yaml deleted file mode 100644 index e85d8ad..0000000 --- a/deployment/base/config/config.yaml +++ /dev/null @@ -1,6 +0,0 @@ -mutualPeers: - - peers: - - nodeName: "da-bridge-1-0" - containerName: "da" - - nodeName: "da-full-1-0" - containerName: "da" \ No newline at end of file diff --git a/deployment/overlays/local/config/config.yaml b/deployment/overlays/local/config/config.yaml index fb3370b..e85d8ad 100644 --- a/deployment/overlays/local/config/config.yaml +++ b/deployment/overlays/local/config/config.yaml @@ -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" \ No newline at end of file + - nodeName: "da-full-1-0" + containerName: "da" \ No newline at end of file diff --git a/deployment/overlays/robusta-torch-1/config/config.yaml b/deployment/overlays/robusta-torch-1/config/config.yaml index fb3370b..e85d8ad 100644 --- a/deployment/overlays/robusta-torch-1/config/config.yaml +++ b/deployment/overlays/robusta-torch-1/config/config.yaml @@ -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" \ No newline at end of file + - nodeName: "da-full-1-0" + containerName: "da" \ No newline at end of file diff --git a/pkg/k8s/commands.go b/pkg/k8s/commands.go index c656873..76edabb 100644 --- a/pkg/k8s/commands.go +++ b/pkg/k8s/commands.go @@ -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/" ) @@ -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