dtk_crd_parser 0.0.75 → 0.0.76
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crd_parser/component.rb +2 -5
- 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: 962dc99161d1ae0f3930fcad3839c515231f491ff70b924c0fff6d1a66499771
|
4
|
+
data.tar.gz: 3f8bc07fac0f50a3d9a08b3da8b044fb231a984c2101ff51b251a97276d45d3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4555c7583dc3370531275c703bf3e884e098dc78e24d47a7ef080aa01d68042cc9c43660b01cf152c5d106485e5d592d4087909168ad2f2af2f3ebd33f7dbc0
|
7
|
+
data.tar.gz: 01b1399cefbd43781a45f8aeae405319df0b2c94a0e24044fe10833eaff205ca45ddbad6b9f7c8f7f4978dc1ed03eb33581ea91e3f50a4e87a74993aebad08cf
|
data/lib/crd_parser/component.rb
CHANGED
@@ -23,13 +23,10 @@ module DTK::CrdParser
|
|
23
23
|
if component_attributes
|
24
24
|
component_attributes.to_hash.each do |attribute_name, attribute_value|
|
25
25
|
Logger.new('/proc/1/fd/1').info attribute_name
|
26
|
-
|
26
|
+
encrypted = component_def.attribute_type_info
|
27
27
|
.select { |attribute|
|
28
28
|
attribute.name == attribute_name.to_s
|
29
|
-
}
|
30
|
-
Logger.new('/proc/1/fd/1').info encrypted_arr
|
31
|
-
Logger.new('/proc/1/fd/1').info encrypted_arr.first
|
32
|
-
encrypted=encrypted_arr.first[:encrypted]
|
29
|
+
}.first.encrypted
|
33
30
|
attributes.push Attribute.create_from_kube(attribute_name, attribute_value, {encrypted: encrypted})
|
34
31
|
end
|
35
32
|
end
|