update
This commit is contained in:
Submodule application updated: bc18395eae...a6b37beb0c
@@ -163,9 +163,37 @@ func CreateApp(objectID string, clustername string, ControlPlane string, Platfor
|
||||
Value: Memory,
|
||||
},
|
||||
{
|
||||
Name: "controlPlane.proxy.extraSANs[0]",
|
||||
Name: "controlPlane.ingress.enabled",
|
||||
Value: "true",
|
||||
},
|
||||
{
|
||||
Name: "controlPlane.ingress.host",
|
||||
Value: app.Namespace + ".bugx.ir",
|
||||
},
|
||||
{
|
||||
Name: "sync.toHost.serviceAccounts.enabled",
|
||||
Value: "true",
|
||||
},
|
||||
{
|
||||
Name: "sync.fromHost.nodes.enabled",
|
||||
Value: "true",
|
||||
},
|
||||
{
|
||||
Name: "sync.fromHost.nodes.clearImageStatus",
|
||||
Value: "true",
|
||||
},
|
||||
{
|
||||
Name: "exportKubeConfig.context",
|
||||
Value: app.Namespace + "-context",
|
||||
},
|
||||
{
|
||||
Name: "exportKubeConfig.server",
|
||||
Value: app.Namespace + ".bugx.ir",
|
||||
},
|
||||
{
|
||||
Name: "exportKubeConfig.secret.name",
|
||||
Value: app.Namespace + "kubeconfig",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
2
db/db.go
2
db/db.go
@@ -14,7 +14,7 @@ var (
|
||||
)
|
||||
|
||||
func InitDB() {
|
||||
clientOptions := options.Client().ApplyURI("mongodb://root:example@192.168.1.10:27017/")
|
||||
clientOptions := options.Client().ApplyURI("mongodb://root:example@192.168.2.177:27017/")
|
||||
client, err := mongo.Connect(context.TODO(), clientOptions)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user