dapp 0.13.1 → 0.13.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 953875fd2962ef0556c4e9024c80766b1f21b00a
|
4
|
+
data.tar.gz: dbd4be0b9029832784a411227a8ccb5825e73fe7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 638074e5ff306047fca2b4c6ac54f4db5039476f962407fc29e013cc88bd25bc1910ef365bc827a47ec4f8161c960ff3f0ef96e45cd557181c398908bfef0001
|
7
|
+
data.tar.gz: 851a3da2f34d463d16359151eaeebe5d469455fe6a2654119f370463670a0dfb7c9050ab99c1fe0cf7b6cce756cee57e692323828454830f97c62e73e1bb6387
|
@@ -33,11 +33,7 @@ module Dapp
|
|
33
33
|
kube_flush_hooks_jobs(additional_values, set_options)
|
34
34
|
kube_run_deploy(additional_values, set_options)
|
35
35
|
ensure
|
36
|
-
|
37
|
-
log_info "Temporary chart directory: #{kube_tmp_chart_path}"
|
38
|
-
else
|
39
|
-
FileUtils.rm_rf(kube_tmp_chart_path)
|
40
|
-
end
|
36
|
+
FileUtils.rm_rf(kube_tmp_chart_path)
|
41
37
|
end
|
42
38
|
end
|
43
39
|
|
@@ -77,7 +73,8 @@ module Dapp
|
|
77
73
|
Dir.glob(kube_chart_secret_path.join('**/*')).each do |entry|
|
78
74
|
next unless File.file?(entry)
|
79
75
|
secret_relative_path = Pathname(entry).subpath_of(kube_chart_secret_path)
|
80
|
-
|
76
|
+
secret_data = secret.extract(IO.binread(entry).chomp("\n"))
|
77
|
+
File.open(kube_tmp_chart_secret_path(secret_relative_path), 'wb:ASCII-8BIT', 0400) {|f| f.write secret_data}
|
81
78
|
end
|
82
79
|
end
|
83
80
|
|
@@ -176,7 +173,7 @@ module Dapp
|
|
176
173
|
end
|
177
174
|
|
178
175
|
def kube_tmp_chart_path(*path)
|
179
|
-
@kube_tmp_path ||= Dir.mktmpdir('dapp-
|
176
|
+
@kube_tmp_path ||= Dir.mktmpdir('dapp-helm-chart-', options[:tmp_dir_prefix] || '/tmp')
|
180
177
|
make_path(@kube_tmp_path, *path).expand_path.tap { |p| p.parent.mkpath }
|
181
178
|
end
|
182
179
|
|
data/lib/dapp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Stolyarov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|