kubes 0.9.2 → 0.9.3
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/lib/kubes/compiler/shared/helpers/config_map_helper.rb +6 -1
- data/lib/kubes/version.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: edae65d07f29eedd785441b4c1d125d26639fb6f19cf1b70df170bcd76c2cf15
|
|
4
|
+
data.tar.gz: 40ac1292d4b6913b650f418733f84506084ffb183841c69881103a882b7edf8a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d77eefb3b34963ff4b1441b274051f009123aca06295fbe31f42e755d06a601f86ebc335140714fd1b638e37181d3a4397e0164ec4fa8c3f6b8c89664a2d96e4
|
|
7
|
+
data.tar.gz: 674d50dd8e780b9aa751fc1fac16831a1bdb431e80a306ffd61552d075aa6e5bcbe644f868b2f8273f0df5a6a20ef91eb35f002384b0767dbf2b3c1024cc870c
|
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.9.3] - 2022-10-20
|
|
7
|
+
- [#69](https://github.com/boltops-tools/kubes/pull/69) improve config map multiple files support
|
|
8
|
+
|
|
6
9
|
## [0.9.2] - 2022-10-10
|
|
7
10
|
- [#68](https://github.com/boltops-tools/kubes/pull/68) kubes docker name
|
|
8
11
|
- KUBES_IMAGE_TAG env var override ability
|
|
@@ -2,8 +2,13 @@ module Kubes::Compiler::Shared::Helpers
|
|
|
2
2
|
module ConfigMapHelper
|
|
3
3
|
def config_map_files(options={})
|
|
4
4
|
indent = options[:indent] || 2
|
|
5
|
+
# /path/to/app/.kubes/resources/shared/config_map.yaml:7:in `__tilt_4660'
|
|
6
|
+
line = caller[0]
|
|
7
|
+
path = line.split(':').first
|
|
8
|
+
basename = File.basename(path).sub(/.erb$/,'').sub(/.yaml$/, '').sub(/.rb$/, '')
|
|
9
|
+
filename = options[:name] || basename
|
|
5
10
|
|
|
6
|
-
shared_config_map = "#{Kubes.root}/.kubes/resources/shared
|
|
11
|
+
shared_config_map = "#{Kubes.root}/.kubes/resources/shared/#{filename}"
|
|
7
12
|
layers = [
|
|
8
13
|
[shared_config_map, "base.txt"],
|
|
9
14
|
[shared_config_map, "#{Kubes.env}.txt"],
|
data/lib/kubes/version.rb
CHANGED
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.9.
|
|
4
|
+
version: 0.9.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tung Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-10-
|
|
11
|
+
date: 2022-10-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|