BigW Consortium Gitlab

Commit 6957f939 by Shinya Maeda Committed by Kamil Trzcinski

Expand update_params to accept platform_kubernetes_attributes(api_url, etc)

parent 10f205f8
......@@ -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!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment