kustomizer 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c26e9c88c31679ffb0f02a8467f32d09a515e3946c830c8f12bd43c7f5f2a063
4
- data.tar.gz: 9791c34a8675be353010c0d071b9e0a473b3a30ae5a5242b32d2658d31ec9dcb
3
+ metadata.gz: 023b75c0a7020b10c33f8e6431eea32389c4499842322a0791150355cd7ad85c
4
+ data.tar.gz: 8d2d291ba59e140084d933d850f7591af5cc4c81bf08062e7a2f72c4b41de4f1
5
5
  SHA512:
6
- metadata.gz: 9f7020ba34798dca0f89e2dba3a22d672efe21f87ae998d3ae7c9388aa8aa8e638b922b154a04f9fa4f2ae4ce205efd7493d64e99c7f1b7d49e7e4d1968f1dce
7
- data.tar.gz: 6ffde7fa3184ec41c5e49a04af80da0fbe4efcc8e5d6864071b5b0fde49d06d035683b18cb251730e52ba4f1aa868bdcaedd647fc6f0637917170df1a4b2da78
6
+ metadata.gz: e0c6f9ae99c782ea407ae60bf5412ed72ac1d8c34db8320ff0eb55e083f2c312692e01740b64dedf527f4ed7aeb7b0f2e02aa90b1ff81121adee93f723d9ff49
7
+ data.tar.gz: ca3e197729c66aabe8a30f39d55aba1368a26778623fd3803cd4684a215f2f013d43e618210ade08e5f53e24d74b76c4596d1fab51503a3665bd659bfa9b5de5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kustomizer (0.1.13)
4
+ kustomizer (0.1.14)
5
5
  accessory (~> 0.1.11)
6
6
  base32-multi
7
7
 
@@ -25,10 +25,16 @@ class Kustomize::Transform::ImageTransform < Kustomize::Transform
25
25
 
26
26
  TEMPLATE_POD_SPEC_LENS = Lens["spec", "template", "spec", "containers", Access.all, "image"]
27
27
 
28
+ TEMPLATE_CRONJOB_SPEC_LENS = TEMPLATE_POD_SPEC_LENS.map do |lens|
29
+ Lens["spec", "jobTemplate"] + lens
30
+ end
31
+
28
32
  LENS_BY_KIND = {
29
33
  "Deployment" => TEMPLATE_POD_SPEC_LENS,
30
34
  "DaemonSet" => TEMPLATE_POD_SPEC_LENS,
31
- "StatefulSet" => TEMPLATE_POD_SPEC_LENS
35
+ "StatefulSet" => TEMPLATE_POD_SPEC_LENS,
36
+ "Job" => TEMPLATE_POD_SPEC_LENS,
37
+ "CronJob" => TEMPLATE_CRONJOB_SPEC_LENS
32
38
  }
33
39
 
34
40
  def rewrite(rc_doc)
@@ -1,3 +1,3 @@
1
1
  module Kustomize
2
- VERSION = "0.1.13"
2
+ VERSION = "0.1.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kustomizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Levi Aul