minfra-cli 2.2.0 → 3.0.0
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 +4 -4
- data/CHANGELOG.md +10 -6
- data/lib/minfra/cli/version.rb +1 -1
- data/lib/orchparty/kubernetes_application.rb +14 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec0639d81eca018b238482b84cc895bdb32ee7a1b5bb3d1d6696f1b042f61e23
|
4
|
+
data.tar.gz: b84403ebad45d5c4d12d2107c5c6c11e9f0ccfdaaa30a814144e9e2204e863d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c0da44b29f119c3cab74943f00e1371ce313fab2ecf05fc6f9e34eb5d64b90399cb985b2b48065904af01d905669ac4437ae0a627277b4a21bf53dab253b27e
|
7
|
+
data.tar.gz: 3459bae4cda6ec35edb67b31885bfe894faf4b973d13f53c17df1a055728667fb5c33ea45cce4aa95a28f601c0dea25e7000eb072258cc7fc9fcd1f0da722a63
|
data/CHANGELOG.md
CHANGED
@@ -1,15 +1,19 @@
|
|
1
|
+
# 3.0.0
|
2
|
+
* change: debug output on template errors
|
3
|
+
Incompatibility
|
4
|
+
* change: used_vars are turned into true yaml types when creating the value file
|
1
5
|
# 2.2.0
|
2
6
|
* fixing: should not modify l('env.roles')
|
3
7
|
* cleanup: removing template testing --debug flag, causing noise
|
4
8
|
* cleanup: removing Documentation hooks
|
5
9
|
* fixing: hiera lookup retrying on gpg memory error exceptions
|
6
|
-
*
|
10
|
+
* adding: gpgme dependency
|
7
11
|
# 2.1.0
|
8
|
-
*
|
9
|
-
* fixing setup dev
|
10
|
-
* colored errors
|
11
|
-
* wrapping hiera lookup errors of gpg
|
12
|
-
* adding HIERA_DEBUG_LOOKUPS=true
|
12
|
+
* adding: :all hook
|
13
|
+
* fixing: setup dev
|
14
|
+
* adding: colored errors and warnings
|
15
|
+
* change: wrapping hiera lookup errors of gpg
|
16
|
+
* adding: HIERA_DEBUG_LOOKUPS=true
|
13
17
|
# 2.0.1
|
14
18
|
Refactorings
|
15
19
|
* installing into Kernel only when 'exec' not at 'init' time
|
data/lib/minfra/cli/version.rb
CHANGED
@@ -196,6 +196,7 @@ module Orchparty
|
|
196
196
|
|
197
197
|
debug('Helm: template check: OK')
|
198
198
|
else
|
199
|
+
system("#{cmd} --debug")
|
199
200
|
error('Helm: template check: FAIL')
|
200
201
|
end
|
201
202
|
end
|
@@ -246,7 +247,19 @@ module Orchparty
|
|
246
247
|
output_chart_path: output_chart_path
|
247
248
|
)
|
248
249
|
used_vars.each do |variable, value|
|
249
|
-
|
250
|
+
if value.is_a?(Numeric) && value >= 1000000 # this is bad as conversion is done only in some cases
|
251
|
+
value = value.to_s # see https://github.com/helm/helm/issues/3001
|
252
|
+
end
|
253
|
+
yml = { variable => value}.to_yaml[4..-1]
|
254
|
+
yml = case
|
255
|
+
when yml.match(/!ruby\/object/)
|
256
|
+
{ variable => value.to_s}.to_yaml[4..-1]
|
257
|
+
when yml.match(/!ruby\/array:Hashie::Array/)
|
258
|
+
{ variable => value.to_a}.to_yaml[4..-1]
|
259
|
+
else
|
260
|
+
yml
|
261
|
+
end
|
262
|
+
helm_values.write(yml)
|
250
263
|
end
|
251
264
|
end
|
252
265
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minfra-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Schrammel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|