bugx
This commit is contained in:
Submodule application updated: f93574db8f...bc18395eae
@@ -106,7 +106,7 @@ func CreateApp(objectID string, clustername string, ControlPlane string, Platfor
|
||||
Name: uniqueClusterName,
|
||||
Namespace: namespace,
|
||||
Path: "vcluster-0.21.1",
|
||||
Cluster: "schoobus-onsite",
|
||||
Cluster: "bugx",
|
||||
Server: "https://kubernetes.default.svc",
|
||||
RepoURL: "http://192.168.2.20:8015/root/application.git",
|
||||
UserID: userID,
|
||||
@@ -140,7 +140,7 @@ func CreateApp(objectID string, clustername string, ControlPlane string, Platfor
|
||||
Parameters: []argoprojv1alpha1.HelmParameter{
|
||||
{
|
||||
Name: "controlPlane.advanced.defaultImageRegistry",
|
||||
Value: "192.168.2.43:31898",
|
||||
Value: "localhost:30516",
|
||||
},
|
||||
{
|
||||
Name: "controlPlane.distro.k8s.version",
|
||||
@@ -162,6 +162,10 @@ func CreateApp(objectID string, clustername string, ControlPlane string, Platfor
|
||||
Name: "controlPlane.distro.k8s.resources.requests.memory",
|
||||
Value: Memory,
|
||||
},
|
||||
{
|
||||
Name: "controlPlane.proxy.extraSANs[0]",
|
||||
Value: app.Namespace + ".bugx.ir",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
2
db/db.go
2
db/db.go
@@ -14,7 +14,7 @@ var (
|
||||
)
|
||||
|
||||
func InitDB() {
|
||||
clientOptions := options.Client().ApplyURI("mongodb://root:example@192.168.2.177:27017/")
|
||||
clientOptions := options.Client().ApplyURI("mongodb://root:example@192.168.1.10:27017/")
|
||||
client, err := mongo.Connect(context.TODO(), clientOptions)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
@@ -19,4 +19,4 @@ services:
|
||||
environment:
|
||||
ME_CONFIG_MONGODB_ADMINUSERNAME: root
|
||||
ME_CONFIG_MONGODB_ADMINPASSWORD: example
|
||||
ME_CONFIG_MONGODB_URL: mongodb://root:example@192.168.2.177:27017/
|
||||
ME_CONFIG_MONGODB_URL: mongodb://root:example@192.168.1.10:27017/
|
||||
1192
nginx-value.yaml
Normal file
1192
nginx-value.yaml
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user