kubernetes_template_rendering 0.2.1 → 0.2.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 +9 -1
- data/catalog-info.yaml +26 -9
- data/lib/kubernetes_template_rendering/cli.rb +6 -3
- data/lib/kubernetes_template_rendering/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2a7b19edd63bd6d9b5c089a5588f3cda0bdfb789a1eae3a968f42189b5efd90
|
4
|
+
data.tar.gz: '081a8223e943d2bcba55b01da53f12700eb973a1c2785c672b7da576ebcb34d6'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4ad9b240eda9d206b133c035f9aadc89e096f853326b049ffa2108a3f021b4163967f7ebd359e42a40c040d356aafda41ff14a903bce79c71f96e8c649c7552
|
7
|
+
data.tar.gz: d4a0d30e0beb739bf95af62d022cb66124c90a8a8b00b59fdeccb3a790771e40fa807724cc5ce88cb455351c02bfb402ab9ca93b2bee1cd4a85975f513a996dc
|
data/CHANGELOG.md
CHANGED
@@ -4,10 +4,18 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
5
5
|
Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
-
## [0.2.
|
7
|
+
## [0.2.3] - 2025-03-25
|
8
|
+
### Fixed
|
9
|
+
- Fixed `--variable-override` to accept multiple arguments to override multiple variables
|
10
|
+
|
11
|
+
## [0.2.2] - 2024-06-17
|
8
12
|
### Fixed
|
9
13
|
- Fixed a bug allowing child process errors to be ignored while rendering.
|
10
14
|
|
15
|
+
## [0.2.1] - 2024-11-22
|
16
|
+
### Fixed
|
17
|
+
- Fixed a bug where attempting to use `activesupport` 8 was causing installation issues
|
18
|
+
|
11
19
|
## [0.2.0] - 2024-05-06
|
12
20
|
### Added
|
13
21
|
- Added support for passing `--source-repo` flag into command line so that the rendered manifest comments can include a link to the source repository.
|
data/catalog-info.yaml
CHANGED
@@ -1,19 +1,36 @@
|
|
1
|
+
# This file is partially auto-generated by the invoca-backstage-tools gem
|
2
|
+
# The following fields should not be edited manually as they are auto-generated
|
3
|
+
# based on the contents of the repo:
|
4
|
+
# - metadata.name
|
5
|
+
# - metadata.title
|
6
|
+
# - metadata.description
|
7
|
+
# - annotations.github.com/project-slug
|
8
|
+
# - invoca.com/version-repository-location
|
9
|
+
# - invoca.com/version-repository-name
|
10
|
+
# - spec.type
|
11
|
+
# - spec.owner
|
12
|
+
---
|
1
13
|
apiVersion: backstage.io/v1alpha1
|
2
14
|
kind: Component
|
3
15
|
metadata:
|
4
|
-
name: kubernetes_template_rendering
|
5
|
-
title:
|
6
|
-
description:
|
7
|
-
A Ruby gem that provides a way to render Kubernetes templates using ERB and Jsonnet.
|
16
|
+
name: kubernetes_template_rendering-gem
|
17
|
+
title: KubernetesTemplateRendering
|
18
|
+
description: Tool for rendering ERB and Jsonnet templates
|
8
19
|
annotations:
|
9
|
-
github.com/project-slug: invoca/kubernetes_template_rendering
|
10
|
-
backstage.io/adr-location: >-
|
11
|
-
https://github.com/Invoca/kubernetes_template_rendering/tree/main/docs/adrs
|
12
|
-
backstage.io/techdocs-ref: dir:.
|
13
20
|
buildkite.com/project-slug: invoca/kubernetes-template-rendering
|
21
|
+
github.com/project-slug: invoca/kubernetes_template_rendering
|
14
22
|
invoca.com/version-repository-location: rubygems
|
15
23
|
invoca.com/version-repository-name: kubernetes_template_rendering
|
24
|
+
backstage.io/adr-location: https://github.com/Invoca/kubernetes_template_rendering/tree/main/docs/adrs
|
25
|
+
backstage.io/techdocs-ref: dir:.
|
26
|
+
tags:
|
27
|
+
- ruby
|
28
|
+
- gem
|
29
|
+
- executable
|
30
|
+
- private
|
16
31
|
spec:
|
17
|
-
type:
|
32
|
+
type: library
|
18
33
|
lifecycle: production
|
19
34
|
owner: octothorpe
|
35
|
+
dependsOn:
|
36
|
+
- component:invoca-utils-gem
|
@@ -34,9 +34,12 @@ module KubernetesTemplateRendering
|
|
34
34
|
op.on("--[no-]prune", "enable/disable pruning of untouched resources") { args.prune = _1 }
|
35
35
|
op.on("--source-repo=SOURCE_REPO", "set the source repo for the rendered templates") { args.source_repo = _1 }
|
36
36
|
|
37
|
-
op.on("--variable-override=KEY:VALUE", "override a variable value set within definitions.yaml") do |
|
38
|
-
args.variable_overrides ||= {}
|
39
|
-
|
37
|
+
op.on("--variable-override=KEY:VALUE", "override a variable value set within definitions.yaml", Array) do |overrides|
|
38
|
+
args.variable_overrides ||= {} # Initialize as a Hash
|
39
|
+
overrides.each do |override|
|
40
|
+
key, value = override.split(":", 2)
|
41
|
+
args.variable_overrides[key] = value if key && value
|
42
|
+
end
|
40
43
|
end
|
41
44
|
|
42
45
|
op.on("-h", "--help") do
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kubernetes_template_rendering
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Octothorpe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "<"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '8'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "<"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '8'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jsonnet
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
rubygems_version: 3.
|
111
|
+
rubygems_version: 3.4.20
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Tool for rendering ERB and Jsonnet templates
|