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