This commit is contained in:
behrooz razzaghi
2025-06-08 14:28:18 +03:30
parent 92f6b5a9fd
commit 3f13dd031d
5 changed files with 1201 additions and 5 deletions

View File

@@ -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",
},
},
},
},

View File

@@ -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)

View File

@@ -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

File diff suppressed because it is too large Load Diff