cluster
This commit is contained in:
Submodule application updated: a6b37beb0c...bfd802911d
@@ -171,28 +171,12 @@ func CreateApp(objectID string, clustername string, ControlPlane string, Platfor
|
||||
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",
|
||||
Name: "controlPlane.proxy.extraSANs[0]",
|
||||
Value: app.Namespace + ".bugx.ir",
|
||||
},
|
||||
{
|
||||
Name: "exportKubeConfig.secret.name",
|
||||
Value: app.Namespace + "kubeconfig",
|
||||
Name: "exportKubeConfig.server",
|
||||
Value: "https://" + app.Namespace + ".bugx.ir",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -97,6 +97,7 @@ func Connect(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
w.Header().Set("Content-Type", "application/x-yaml")
|
||||
w.Header().Set("Content-Disposition", `attachment; filename="`+clusterName+`.yaml"`)
|
||||
w.Write(decoded)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user