Skip to content
Snippets Groups Projects
Commit fe0292cf authored by Kamil Trzcińśki's avatar Kamil Trzcińśki
Browse files

Remove not used ingress and runner

parent 42744187
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -28,8 +28,6 @@ export default class Clusters {
const {
statusPath,
installHelmPath,
installIngressPath,
installRunnerPath,
clusterStatus,
clusterStatusReason,
helpPath,
Loading
Loading
@@ -42,8 +40,6 @@ export default class Clusters {
this.service = new ClustersService({
endpoint: statusPath,
installHelmEndpoint: installHelmPath,
installIngresEndpoint: installIngressPath,
installRunnerEndpoint: installRunnerPath,
});
 
this.toggle = this.toggle.bind(this);
Loading
Loading
Loading
Loading
@@ -8,8 +8,6 @@ export default class ClusterService {
this.options = options;
this.appInstallEndpointMap = {
helm: this.options.installHelmEndpoint,
ingress: this.options.installIngressEndpoint,
runner: this.options.installRunnerEndpoint,
};
}
 
Loading
Loading
Loading
Loading
@@ -6,9 +6,7 @@
 
- status_path = status_namespace_project_cluster_path(@cluster.project.namespace, @cluster.project, @cluster.id, format: :json) if can?(current_user, :admin_cluster, @cluster)
.edit-cluster-form.js-edit-cluster-form{ data: { status_path: status_path,
install_helm_path: 'TODO',
install_ingress_path: 'TODO',
install_runner_path: 'TODO',
install_helm_path: install_applications_namespace_project_cluster_path(@cluster.project.namespace, @cluster.project, @cluster, :helm),
toggle_status: @cluster.enabled? ? 'true': 'false',
cluster_status: @cluster.status_name,
cluster_status_reason: @cluster.status_reason,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment