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",
|
Value: app.Namespace + ".bugx.ir",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "sync.toHost.serviceAccounts.enabled",
|
Name: "controlPlane.proxy.extraSANs[0]",
|
||||||
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",
|
Value: app.Namespace + ".bugx.ir",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "exportKubeConfig.secret.name",
|
Name: "exportKubeConfig.server",
|
||||||
Value: app.Namespace + "kubeconfig",
|
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-Type", "application/x-yaml")
|
||||||
|
w.Header().Set("Content-Disposition", `attachment; filename="`+clusterName+`.yaml"`)
|
||||||
w.Write(decoded)
|
w.Write(decoded)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user