minfra-cli 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec0639d81eca018b238482b84cc895bdb32ee7a1b5bb3d1d6696f1b042f61e23
4
- data.tar.gz: b84403ebad45d5c4d12d2107c5c6c11e9f0ccfdaaa30a814144e9e2204e863d4
3
+ metadata.gz: 6aee1958bcccfa6f91dc0d2b6e331478e9bb970353768a9d08083a982299c0d1
4
+ data.tar.gz: db65ab93061611f75d4cbe2016bf08800588cdbc3a1911aea60c498f2f15dc08
5
5
  SHA512:
6
- metadata.gz: 0c0da44b29f119c3cab74943f00e1371ce313fab2ecf05fc6f9e34eb5d64b90399cb985b2b48065904af01d905669ac4437ae0a627277b4a21bf53dab253b27e
7
- data.tar.gz: 3459bae4cda6ec35edb67b31885bfe894faf4b973d13f53c17df1a055728667fb5c33ea45cce4aa95a28f601c0dea25e7000eb072258cc7fc9fcd1f0da722a63
6
+ metadata.gz: 3a1b7e97a137c63e79b336cd83d20eedc4dfec249f41b36e7627359d449eed8c1db3890f83190bccd84a8987fed5d5df889deb6938b50d7ec5ec4b24f1f295a5
7
+ data.tar.gz: 8e0c012fd0cf40cd33e7d3edf7dcad792705d4a3e9f26ba1244f13d41d76656ffed49497bb821367f32c8ede8dc57c24645a7f333c0522126079cd2c49541f13
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ # 3.0.1
2
+ * fixing: dubblequotes in helm values should be escaped
1
3
  # 3.0.0
2
4
  * change: debug output on template errors
3
5
  Incompatibility
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Minfra
4
4
  module Cli
5
- VERSION = '3.0.0'
5
+ VERSION = '3.0.1'
6
6
  end
7
7
  end
@@ -247,6 +247,7 @@ module Orchparty
247
247
  output_chart_path: output_chart_path
248
248
  )
249
249
  used_vars.each do |variable, value|
250
+ value = value.gsub('"','\"') if value.is_a?(String)
250
251
  if value.is_a?(Numeric) && value >= 1000000 # this is bad as conversion is done only in some cases
251
252
  value = value.to_s # see https://github.com/helm/helm/issues/3001
252
253
  end
@@ -258,7 +259,7 @@ module Orchparty
258
259
  { variable => value.to_a}.to_yaml[4..-1]
259
260
  else
260
261
  yml
261
- end
262
+ end
262
263
  helm_values.write(yml)
263
264
  end
264
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: 3.0.0
4
+ version: 3.0.1
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-12 00:00:00.000000000 Z
11
+ date: 2024-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor