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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/kustomize/transform/image_transform.rb +7 -1
- data/lib/kustomize/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 023b75c0a7020b10c33f8e6431eea32389c4499842322a0791150355cd7ad85c
|
4
|
+
data.tar.gz: 8d2d291ba59e140084d933d850f7591af5cc4c81bf08062e7a2f72c4b41de4f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0c6f9ae99c782ea407ae60bf5412ed72ac1d8c34db8320ff0eb55e083f2c312692e01740b64dedf527f4ed7aeb7b0f2e02aa90b1ff81121adee93f723d9ff49
|
7
|
+
data.tar.gz: ca3e197729c66aabe8a30f39d55aba1368a26778623fd3803cd4684a215f2f013d43e618210ade08e5f53e24d74b76c4596d1fab51503a3665bd659bfa9b5de5
|
data/Gemfile.lock
CHANGED
@@ -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)
|
data/lib/kustomize/version.rb
CHANGED