BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
fe0292cf
Commit
fe0292cf
authored
Nov 06, 2017
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove not used ingress and runner
parent
42744187
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
9 deletions
+1
-9
clusters_bundle.js
app/assets/javascripts/clusters/clusters_bundle.js
+0
-4
clusters_service.js
app/assets/javascripts/clusters/services/clusters_service.js
+0
-2
show.html.haml
app/views/projects/clusters/show.html.haml
+1
-3
No files found.
app/assets/javascripts/clusters/clusters_bundle.js
View file @
fe0292cf
...
@@ -28,8 +28,6 @@ export default class Clusters {
...
@@ -28,8 +28,6 @@ export default class Clusters {
const
{
const
{
statusPath
,
statusPath
,
installHelmPath
,
installHelmPath
,
installIngressPath
,
installRunnerPath
,
clusterStatus
,
clusterStatus
,
clusterStatusReason
,
clusterStatusReason
,
helpPath
,
helpPath
,
...
@@ -42,8 +40,6 @@ export default class Clusters {
...
@@ -42,8 +40,6 @@ export default class Clusters {
this
.
service
=
new
ClustersService
({
this
.
service
=
new
ClustersService
({
endpoint
:
statusPath
,
endpoint
:
statusPath
,
installHelmEndpoint
:
installHelmPath
,
installHelmEndpoint
:
installHelmPath
,
installIngresEndpoint
:
installIngressPath
,
installRunnerEndpoint
:
installRunnerPath
,
});
});
this
.
toggle
=
this
.
toggle
.
bind
(
this
);
this
.
toggle
=
this
.
toggle
.
bind
(
this
);
...
...
app/assets/javascripts/clusters/services/clusters_service.js
View file @
fe0292cf
...
@@ -8,8 +8,6 @@ export default class ClusterService {
...
@@ -8,8 +8,6 @@ export default class ClusterService {
this
.
options
=
options
;
this
.
options
=
options
;
this
.
appInstallEndpointMap
=
{
this
.
appInstallEndpointMap
=
{
helm
:
this
.
options
.
installHelmEndpoint
,
helm
:
this
.
options
.
installHelmEndpoint
,
ingress
:
this
.
options
.
installIngressEndpoint
,
runner
:
this
.
options
.
installRunnerEndpoint
,
};
};
}
}
...
...
app/views/projects/clusters/show.html.haml
View file @
fe0292cf
...
@@ -6,9 +6,7 @@
...
@@ -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
)
-
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
,
.edit-cluster-form.js-edit-cluster-form
{
data:
{
status_path:
status_path
,
install_helm_path:
'TODO'
,
install_helm_path:
install_applications_namespace_project_cluster_path
(
@cluster
.
project
.
namespace
,
@cluster
.
project
,
@cluster
,
:helm
),
install_ingress_path:
'TODO'
,
install_runner_path:
'TODO'
,
toggle_status:
@cluster
.
enabled?
?
'true'
:
'false'
,
toggle_status:
@cluster
.
enabled?
?
'true'
:
'false'
,
cluster_status:
@cluster
.
status_name
,
cluster_status:
@cluster
.
status_name
,
cluster_status_reason:
@cluster
.
status_reason
,
cluster_status_reason:
@cluster
.
status_reason
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment