kdep 0.4.3 → 0.4.4

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: ff3707147a8d4a32a335ba5ea6637e05275705d0a91c0fec08bdf649b506ba34
4
- data.tar.gz: f3b17aeb70128be4e3b4ae9e3b46d359a11698657159a04f386a849daef6c468
3
+ metadata.gz: 43bdf0f4f94cbd1170fbffe7adf406ec3dc47b3a3c05a4c28d10fe56b53d7841
4
+ data.tar.gz: 71b4d6b94ccd86fecab7f87cee451edbda62065f9f7c4a6ad0c59569a521905f
5
5
  SHA512:
6
- metadata.gz: 5ca718ac0ff7e9f29fcafeecaae8a77e68abbaa90d6ac7c8dcea130523358e615775c8a6605becc1b7c46d9bee687f33ddf65d599eacf4d2ace92226ff7a7df2
7
- data.tar.gz: a1750b835fee48cd3de6926e8178e904872e24a92b0a7a95433725212c4daa71b5d4cbff678db9c81ae49f21a1f0d52a45b5e05b93497c31f6852e3a48fe7b00
6
+ metadata.gz: 7ad745df8ac27c8525dd7dd6693ab2d8353950ada764783532b42540cf4392dfa862a4ead9ec360a833bb301fd0448ed7acd636594be15aa08fcbcabe655e652
7
+ data.tar.gz: 9a6d018d56d79c6c5f6ee4120fcb3a2b5b13cef257578e22b717c1cf26772d6bdc9339dd03ce4b285e48a2cbcc01e3ff401f8af4bc060864c90f981e8dd6aa17
@@ -50,6 +50,17 @@ module Kdep
50
50
  exit 1
51
51
  end
52
52
 
53
+ # Inject tag from state.yml. Without this, image-based presets render
54
+ # `<image>:latest` — a tag Leadfy never publishes — and apply silently
55
+ # ships an unpullable CronJob/Deployment (the 2026-05-22 mcp-finan
56
+ # ingest outage). render and diff already do this; apply was the last
57
+ # command that ignored state.yml.
58
+ if (state_tag = Kdep::State.tag(deploy_dir))
59
+ config["tag"] = state_tag
60
+ else
61
+ @ui.warn("No state.yml in #{deploy_dir} -- applying with preset default tag (likely :latest). Run 'kdep bump' to establish state.")
62
+ end
63
+
53
64
  # Load preset resources and render
54
65
  preset = Kdep::Preset.new(config["preset"], deploy_dir)
55
66
  resources = preset.resources
data/lib/kdep/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kdep
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
@@ -7,6 +7,18 @@ spec:
7
7
  schedule: "<%= @config["schedule"] %>"
8
8
  <% if @config.key?("suspend") -%>
9
9
  suspend: <%= @config["suspend"] %>
10
+ <% end -%>
11
+ <% if @config["concurrency_policy"] -%>
12
+ concurrencyPolicy: <%= @config["concurrency_policy"] %>
13
+ <% end -%>
14
+ <% if @config.key?("starting_deadline_seconds") -%>
15
+ startingDeadlineSeconds: <%= @config["starting_deadline_seconds"] %>
16
+ <% end -%>
17
+ <% if @config.key?("successful_jobs_history_limit") -%>
18
+ successfulJobsHistoryLimit: <%= @config["successful_jobs_history_limit"] %>
19
+ <% end -%>
20
+ <% if @config.key?("failed_jobs_history_limit") -%>
21
+ failedJobsHistoryLimit: <%= @config["failed_jobs_history_limit"] %>
10
22
  <% end -%>
11
23
  jobTemplate:
12
24
  spec:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kdep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leadfy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-05-06 00:00:00.000000000 Z
11
+ date: 2026-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: envspec