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
6957f939
Commit
6957f939
authored
Nov 16, 2017
by
Shinya Maeda
Committed by
Kamil Trzcinski
Dec 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expand update_params to accept platform_kubernetes_attributes(api_url, etc)
parent
10f205f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
clusters_controller.rb
app/controllers/projects/clusters_controller.rb
+8
-1
No files found.
app/controllers/projects/clusters_controller.rb
View file @
6957f939
...
...
@@ -58,7 +58,14 @@ class Projects::ClustersController < Projects::ApplicationController
end
def
update_params
params
.
require
(
:cluster
).
permit
(
:enabled
)
params
.
require
(
:cluster
).
permit
(
:enabled
,
platform_kubernetes_attributes:
[
:namespace
,
:api_url
,
:token
,
:ca_cert
])
end
def
authorize_update_cluster!
...
...
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