kubes 0.7.8 → 0.7.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 +4 -4
- data/CHANGELOG.md +3 -0
- data/docs/_docs/helpers/google/gke.md +1 -1
- data/lib/kubes/compiler/decorator/hashable.rb +1 -1
- data/lib/kubes/compiler/shared/runtime_helpers.rb +1 -1
- data/lib/kubes/version.rb +1 -1
- data/spec/kubes/compiler/decorator/post/deployment_spec.rb +1 -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: 8ee8de54a6c00bee7cbcfec249f26c5adc0beaabe0ab5d47d87d2a26fb673f71
|
|
4
|
+
data.tar.gz: 5c2330ca0688b565f0db169e3c3ce776e51d59fc26375c2ebeee429939a81425
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77ca91f3c0ce775bb69f9ab3630fac958625426ee719186a1fc966262d633d31eaccf98fc7052e90f1c62f38c3ac0a365238cb17c769429c9100020a7d9e99c0
|
|
7
|
+
data.tar.gz: 8b8a284692016d2487bdcb281d757511f2bb5bc2d8db4614de0b1a9ff1c97075d38bf4a9eefa757c005f8244548d5a6ba606163315838f0f6600ad338ef38643
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
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.7.9] - 2021-11-07
|
|
7
|
+
- [#55](https://github.com/boltops-tools/kubes/pull/55) make helper methods available in variables files
|
|
8
|
+
|
|
6
9
|
## [0.7.8] - 2021-10-29
|
|
7
10
|
- [#54](https://github.com/boltops-tools/kubes/pull/54) fix configMap and secret hash when not first element in Array
|
|
8
11
|
|
|
@@ -9,7 +9,7 @@ module Kubes::Compiler::Decorator
|
|
|
9
9
|
name = @data.dig('metadata','name')
|
|
10
10
|
return @data unless name
|
|
11
11
|
|
|
12
|
-
#
|
|
12
|
+
# scope Kind so Secret and ConfigMap can have same name
|
|
13
13
|
md5 = md5(@data)
|
|
14
14
|
@data['metadata']['name'] = "#{name}-#{md5}"
|
|
15
15
|
Storage.store(@data['kind'], name, md5)
|
|
@@ -3,9 +3,9 @@ module Kubes::Compiler::Shared
|
|
|
3
3
|
include Kubes::Compiler::Shared::Helpers
|
|
4
4
|
|
|
5
5
|
def load_runtime_helpers
|
|
6
|
-
load_custom_variables # also load custom variables
|
|
7
6
|
load_plugin_helpers
|
|
8
7
|
load_custom_helpers
|
|
8
|
+
load_custom_variables # also load custom variables
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
@@custom_helpers_loaded = false
|
data/lib/kubes/version.rb
CHANGED
|
@@ -137,7 +137,7 @@ describe Kubes::Compiler::Decorator::Post do
|
|
|
137
137
|
end
|
|
138
138
|
|
|
139
139
|
context "order" do
|
|
140
|
-
# spec to fix issue
|
|
140
|
+
# spec to fix issue https://github.com/boltops-tools/kubes/issues/49
|
|
141
141
|
describe "name first" do
|
|
142
142
|
let(:data) { fixture("configMap/volumes-name-first") }
|
|
143
143
|
it "run" do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kubes
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tung Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|