kubernetes-deploy 0.26.1 → 0.26.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9843cd4324ce81800fa02b9e84093523560c3b84d22f43da17d5f80f592b3c9
|
4
|
+
data.tar.gz: cdd79de172e2568e2a2cf2dc86fbc0248c173481903a6c936a762393eb9797bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7ffcb45240a99cb05259138b65134c1e50d6a0449368b4da1bb7765a65b5a45270fba91a5db7dd2d509af493b85b0fb04314dae23b595b561ebd00e56e402f6
|
7
|
+
data.tar.gz: bdcad6cd5291598baf26f954ead30c6b1ce2210cc210d8415290b626ed6533ccd06865a8ad00008eda02f003d855791f3a0aafcadb3cb065720983c442d07ec4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
## next
|
2
2
|
|
3
|
+
## 0.26.2
|
4
|
+
|
5
|
+
*Enhancements*
|
6
|
+
- kubernetes-render outputs results of rendering yml.erb files without passing them
|
7
|
+
through a yaml parser. ([#454](https://github.com/Shopify/kubernetes-deploy/pull/454))
|
8
|
+
|
9
|
+
*Bug fixes*
|
10
|
+
- Remove use of deprecated feature preventing use with Kuberentes 1.14 ([#460](https://github.com/Shopify/kubernetes-deploy/pull/460))
|
11
|
+
|
3
12
|
## 0.26.1
|
4
13
|
|
5
14
|
*Bug fixes*
|
@@ -19,7 +19,7 @@ module KubernetesDeploy
|
|
19
19
|
private
|
20
20
|
|
21
21
|
def fetch_crds
|
22
|
-
raw_json, _, st = kubectl.run("get", "CustomResourceDefinition",
|
22
|
+
raw_json, _, st = kubectl.run("get", "CustomResourceDefinition", output: "json", attempts: 5)
|
23
23
|
if st.success?
|
24
24
|
JSON.parse(raw_json)["items"]
|
25
25
|
else
|
@@ -68,9 +68,10 @@ module KubernetesDeploy
|
|
68
68
|
@logger.info("Rendering #{File.basename(filename)} ...")
|
69
69
|
file_content = File.read(File.join(@template_dir, filename))
|
70
70
|
rendered_content = @renderer.render_template(filename, file_content)
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
implicit = true
|
72
|
+
YAML.parse_stream(rendered_content, "<rendered> #{filename}") { |d| implicit = d.implicit }
|
73
|
+
stream.puts "---\n" if implicit
|
74
|
+
stream.puts rendered_content
|
74
75
|
@logger.info("Rendered #{File.basename(filename)}")
|
75
76
|
rescue Psych::SyntaxError => exception
|
76
77
|
raise InvalidTemplateError.new("Template is not valid YAML. #{exception.message}", filename: filename)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kubernetes-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katrina Verey
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|