sct 0.1.30 → 0.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2dc9c664ca89d649033d4fcfdcad7e8d72d78b448d800caa8c8097ec1ea7ed47
4
- data.tar.gz: f3cdba0dfbaacbf240e4f84f8530cb835308a19203999db78759b17d4eb18150
3
+ metadata.gz: 3c1f39b51de0143296086601cbc25b9231a26b19e40060c2b2c29e8e892f81f5
4
+ data.tar.gz: fa6f3eeefa34f3d206ef8286d192f433b4c733246ed53098d85974354e075ad8
5
5
  SHA512:
6
- metadata.gz: 56c7e96250c79f3fdb4de6fab3358e4e6eb443f813064d88e9353a766eccecc1ad1c7f2c2878716347676e3c24de1d09456763ccc2c857d13eb6cd4f058f7593
7
- data.tar.gz: 27543415be2aac23a5032b2b96bb7504dd12b5cc3d41f73c489251416d1d3bc3ddd83c8af71f7163b96b0bfe1c22a1f8f06e8c9992a5a54d279a89a40d3c90b6
6
+ metadata.gz: 1fbc414030f80a1df76973eaf2e034932b41dba42fffde054a14f8d641cd620432fca70460376ed7058816948953f4ba9a60e50018062293bdc0e45c6d5a355a
7
+ data.tar.gz: 598175bc1cc7f01e292e50c7a97bb18946279b3a12ab29d3c88dffb9df06572a8fe343e2c2b2804963e805d50ee10274cf0dec1ead47043a6d5ddff9969d31f9
@@ -294,7 +294,8 @@ module Cluster
294
294
  end
295
295
 
296
296
  def copy_proactive_accounts_file
297
- pod_id = pods().select {|pod| pod[:name].start_with?("proactive-config")}.first[:name]
297
+ container_name = "proactive-config"
298
+ pod_id = pods().select {|pod| pod[:name].start_with?(container_name)}.first[:name]
298
299
 
299
300
  begin
300
301
  UI.important("Checking ProActive accounts file...")
@@ -302,7 +303,7 @@ module Cluster
302
303
  rescue => e
303
304
  UI.important("Copying ProActive accounts file to deployments...")
304
305
  src_path = "#{Dir.home()}/development/spend-cloud/k8s/conf/proactive_accounts.ini"
305
- command = "kubectl cp #{src_path} #{pod_id}:/data/proactive_accounts.ini"
306
+ command = "kubectl cp #{src_path} #{pod_id}:/data/proactive_accounts.ini -c #{container_name}"
306
307
  run_command command
307
308
  end
308
309
 
@@ -1,3 +1,3 @@
1
1
  module Sct
2
- VERSION = "0.1.30"
2
+ VERSION = "0.1.31"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.30
4
+ version: 0.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reshad Farid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-27 00:00:00.000000000 Z
11
+ date: 2020-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored
@@ -241,8 +241,8 @@ metadata:
241
241
  post_install_message:
242
242
  rdoc_options: []
243
243
  require_paths:
244
- - shell/lib
245
244
  - cluster/lib
245
+ - shell/lib
246
246
  - sct/lib
247
247
  - sct_core/lib
248
248
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -256,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
256
256
  - !ruby/object:Gem::Version
257
257
  version: '0'
258
258
  requirements: []
259
- rubygems_version: 3.1.2
259
+ rubygems_version: 3.0.8
260
260
  signing_key:
261
261
  specification_version: 4
262
262
  summary: Spend Cloud Tool.