seira 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/seira/secrets.rb +1 -1
- data/lib/seira/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a66eccb73df5cd20cda9716c793546964c39698a
|
4
|
+
data.tar.gz: a9aa6dd6d05feff2597790ed469ad532beb19ef3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36eb393a778a70f2147012d9cbe9698c5293bfc743a9349e5cd2053df7a09d8fcd7cd0c28566fb607d710cee97da9a873210617066ea5c4c77a820245ad1c6e7
|
7
|
+
data.tar.gz: afcbbed1d2388ef1c635aa010a30f486ddacf3d11e2e100018f22e964c621a626661bde901d54b1c612562eeeac135003fabab145576f3034bb20204f1e95ecc
|
data/lib/seira/secrets.rb
CHANGED
@@ -47,7 +47,7 @@ module Seira
|
|
47
47
|
|
48
48
|
def copy_secret_across_namespace(key:, to:, from:)
|
49
49
|
puts "Copying the #{key} secret from namespace #{from} to #{to}."
|
50
|
-
json_string = kubectl("get secret #{key} -o json", context:
|
50
|
+
json_string = kubectl("get secret #{key} -o json -n #{from}", context: :none, return_output: true)
|
51
51
|
secrets = JSON.parse(json_string)
|
52
52
|
|
53
53
|
# At this point we would preferably simply do a write_secrets call, but the metadata is highly coupled to old
|
data/lib/seira/version.rb
CHANGED