projects
/
arvados-k8s.git
/ blob
379b65aa3c8567485a00db8c6f4beff1d2e4ddcc
[arvados-k8s.git]
/
arvados
/
config
/
api-server
/
create-workbench-api-client.rb
1
# Copyright (C) The Arvados Authors. All rights reserved.
2
#
3
# SPDX-License-Identifier: Apache-2.0
4
5
include CurrentApiClient
6
act_as_system_user do
7
wb = ApiClient.new(:url_prefix => "{{ .Values.externalIP }}")
8
wb.save!
9
wb.update_attributes!(is_trusted: true)
10
end