kubes 0.8.8 → 0.8.9

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
  SHA256:
3
- metadata.gz: 1c88d1788b4ecebd40180a69bcf8be5d7f8e8128ee40b1a4d7d862bc279697dd
4
- data.tar.gz: 8a072ba5a27be585a0e278ec1aaff1b16e3240c9ad8a86caa97536d912832f67
3
+ metadata.gz: 1089172c4489c77f34abd1cc5df408e11467950f40ae67ee062377f078c131d1
4
+ data.tar.gz: 1c29e074651e78963aa1fbc83314e49b6da006c7902056c2ef108dd91302b8a7
5
5
  SHA512:
6
- metadata.gz: e2fb01f36269bc38b4123bc7321dc5f5787590af8b5ea74429aa0f494915378940ef7a22effd1edf67607c26a04ad040242009b0680b7e46a08747c257b8b357
7
- data.tar.gz: 5526ece8f8f78d7ca8fe9fac76ee4fb4171b6a9f505003382cafd9239a5d1d828b9c5fd2e61c1c3c3e01d1f7a5336cf72ed3f896128f15f5d46607eba1695a31
6
+ metadata.gz: ac9080b9f30461b48d4d4fbf5e6a9ca6be2a53385a0cde1b649e6da26c265ddb7adb7f3c66714ad179ebac3f3ae3ebd9ea112bc5a0f5e65beab7d51d30f9574d
7
+ data.tar.gz: c6424d462ba9c7b834fcf1944fd75275ae6fa8b6abf7ea7b29fa9575fa6f5ae0853529ca10b32e1eeff11ac094e2ee920008c326936e2c1bd5e153cb8dc3f915
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.8.9] - 2022-08-11
7
+ - [#64](https://github.com/boltops-tools/kubes/pull/64) extra variable layering
8
+ - add extra layering docs
9
+
6
10
  ## [0.8.8] - 2022-08-11
7
11
  - add Kubes.extra method
8
12
  - update managed_certificate and ingress apiVersion
@@ -0,0 +1,16 @@
1
+ ---
2
+ title: Extra Layering
3
+ ---
4
+
5
+ Setting KUBES_EXTRA will process extra layers.
6
+
7
+ ## Variables
8
+
9
+ Example
10
+
11
+ KUBES_EXTRA=2 kubes deploy
12
+
13
+ Will process:
14
+
15
+ .kubes/variables/dev.rb
16
+ .kubes/variables/dev-2.rb
@@ -8,3 +8,4 @@ Kubes supports layering files together so you can use the same Kubernetes files
8
8
  * [DSL Layering]({% link _docs/layering/dsl.md %})
9
9
  * [Mix Layering]({% link _docs/layering/mix.md %})
10
10
  * [Merge Behavior]({% link _docs/layering/merge-dsl.md %})
11
+ * [Extra Layering]({% link _docs/layering/extra.md %})
@@ -128,6 +128,7 @@
128
128
  <li><a href="{% link _docs/layering/mix.md %}">Mix</a></li>
129
129
  <li><a href="{% link _docs/layering/merge-dsl.md %}">Merge DSL</a></li>
130
130
  <li><a href="{% link _docs/layering/merge-options.md %}">Merge Options</a></li>
131
+ <li><a href="{% link _docs/layering/extra.md %}">Extra Layering</a></li>
131
132
  </ul>
132
133
  </li>
133
134
  <li><a href="{% link _docs/dsl.md %}">DSL</a>
@@ -59,14 +59,18 @@ module Kubes::Compiler::Shared
59
59
  layers = [
60
60
  "base.rb",
61
61
  "#{Kubes.env}.rb",
62
+ "#{Kubes.env}-#{Kubes.extra}.rb",
62
63
  "base/all.rb",
63
64
  "base/all/#{Kubes.env}.rb",
65
+ "base/all/#{Kubes.env}-#{Kubes.extra}.rb",
64
66
  "base/#{kind}.rb",
65
67
  "base/#{kind}/base.rb",
66
68
  "base/#{kind}/#{Kubes.env}.rb",
69
+ "base/#{kind}/#{Kubes.env}-#{Kubes.extra}.rb",
67
70
  "#{role}/#{kind}.rb",
68
71
  "#{role}/#{kind}/base.rb",
69
72
  "#{role}/#{kind}/#{Kubes.env}.rb",
73
+ "#{role}/#{kind}/#{Kubes.env}-#{Kubes.extra}.rb",
70
74
  ]
71
75
  if Kubes.app
72
76
  app_layers = ["#{Kubes.app}.rb"]
data/lib/kubes/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kubes
2
- VERSION = "0.8.8"
2
+ VERSION = "0.8.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.8
4
+ version: 0.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
@@ -368,6 +368,7 @@ files:
368
368
  - docs/_docs/intro/structure.md
369
369
  - docs/_docs/layering.md
370
370
  - docs/_docs/layering/dsl.md
371
+ - docs/_docs/layering/extra.md
371
372
  - docs/_docs/layering/merge-dsl.md
372
373
  - docs/_docs/layering/merge-options.md
373
374
  - docs/_docs/layering/mix.md