kustomizer 0.1.6 → 0.1.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 044c4518958413a91c1a8bc0a112220145ecdde5ab3bb043e64afe8bcffdcf40
|
4
|
+
data.tar.gz: a081394dfcd4f5e14055a93cb1561200ce2db26c7580e918a8ca31d30920d807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bb48c3fd80b552860a9f4c3f7e88076678abd0b1bf5c23d94c18fb9b2013dd0e410cbb97201c9717bccda3086f34af3f7f094a7deead4d23b27e20ddf3b97ad
|
7
|
+
data.tar.gz: 3556e7605c02544f12790ab150db65ba2a937216bffa61c93909dd0ca7e0186bc83bf4ef63e7a8d3faf628ea8ce14b228baf6976cb932380cb00fe3394a3f7af
|
data/Gemfile.lock
CHANGED
@@ -23,8 +23,12 @@ class Kustomize::Transform::ImageTransform < Kustomize::Transform
|
|
23
23
|
@new_digest = new_digest
|
24
24
|
end
|
25
25
|
|
26
|
+
TEMPLATE_POD_SPEC_LENS = Lens["spec", "template", "spec", "containers", Access.all, "image"]
|
27
|
+
|
26
28
|
LENS_BY_KIND = {
|
27
|
-
"Deployment" =>
|
29
|
+
"Deployment" => TEMPLATE_POD_SPEC_LENS,
|
30
|
+
"DaemonSet" => TEMPLATE_POD_SPEC_LENS,
|
31
|
+
"StatefulSet" => TEMPLATE_POD_SPEC_LENS
|
28
32
|
}
|
29
33
|
|
30
34
|
def rewrite(rc_doc)
|
@@ -26,6 +26,10 @@ class Kustomize::Transform::NamespaceTransform < Kustomize::Transform
|
|
26
26
|
|
27
27
|
"SealedSecret" => [
|
28
28
|
Lens["spec", "template", "metadata", "namespace"]
|
29
|
+
],
|
30
|
+
|
31
|
+
"ServiceMonitor" => [
|
32
|
+
Lens["spec", "namespaceSelector", "matchNames", Access.first]
|
29
33
|
]
|
30
34
|
}
|
31
35
|
|
data/lib/kustomize/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kustomizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Levi Aul
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: accessory
|