kustomizer 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/kustomize/transform/ref_fixup_transform.rb +7 -3
- data/lib/kustomize/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 488be81bc2cbf22fdb68614216b86dfe0aaed6ad370b7beca33b235917e4eac5
|
4
|
+
data.tar.gz: 17a614a19a36d59860ea5542b8939122539d599b81ef8cc6ed8aef9ab5eddbff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85192a2d5c5e92c6170b33bb030f42051c674d6ac294de6348b38eb6ae2ebe625d768f1687b5fad78d064c0388f0a5e919c83970f5f641a8f3906399556b452a
|
7
|
+
data.tar.gz: 22b1660cf1750b0869a09a43f8d9a2a331ddcbe1f2de38eb1026d2cd543feea66bb943a9c7596acba5996e1a8caa3f8186d4deceafe499ab9f980ab28a3be05a
|
data/Gemfile.lock
CHANGED
@@ -14,8 +14,7 @@ class Kustomize::Transform::RefFixupTransform < Kustomize::Transform
|
|
14
14
|
|
15
15
|
FINGERPRINT_LENS = Lens['metadata', 'annotations', 'kustomizer.covalenthq.com/effective-fingerprint']
|
16
16
|
|
17
|
-
|
18
|
-
"Deployment" => [
|
17
|
+
POD_TEMPLATE_LENSES = [
|
19
18
|
Lens["spec", "template", "spec", "containers", Access.all, "envFrom", Access.all, "configMapRef", "name"],
|
20
19
|
Lens["spec", "template", "spec", "containers", Access.all, "env", Access.all, "valueFrom", "configMapKeyRef", "name"],
|
21
20
|
Lens["spec", "template", "spec", "volumes", Access.all, "configMap", "name"],
|
@@ -23,7 +22,12 @@ class Kustomize::Transform::RefFixupTransform < Kustomize::Transform
|
|
23
22
|
Lens["spec", "template", "spec", "containers", Access.all, "env", Access.all, "valueFrom", "secretKeyRef", "name"],
|
24
23
|
Lens["spec", "template", "spec", "volumes", Access.all, "secret", "name"],
|
25
24
|
Lens["spec", "template", "spec", "volumes", Access.all, "secret", "secretName"]
|
26
|
-
|
25
|
+
]
|
26
|
+
|
27
|
+
KEY_REF_LENSES_BY_KIND = {
|
28
|
+
"Deployment" => POD_TEMPLATE_LENSES,
|
29
|
+
"StatefulSet" => POD_TEMPLATE_LENSES,
|
30
|
+
"DaemonSet" => POD_TEMPLATE_LENSES
|
27
31
|
}
|
28
32
|
|
29
33
|
def rewrite_all(rcs)
|
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.4
|
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-01-
|
11
|
+
date: 2021-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: accessory
|