dtk_crd_parser 0.0.72 → 0.0.73
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 +3 -3
- 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: 03d83f15d9822bd8817582f58dca6a960124033042e160197b1815c0c7294786
|
4
|
+
data.tar.gz: c6fd600e6240a28660c460019d82298c77ad1c3ef3d28fba646e8d5a74550bad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb1d42717faa2da12b4b6589853178dbde1265a6813e7711404770e1333ff5cd13773dde2275b2d149841ab8ba0ce2e2437bde178181451957cb5d30271184b6
|
7
|
+
data.tar.gz: 64b3aa3305bbc8f2fc08daae522c016a3d204c735566d178e3b8364b34edfe6b5ed96d389875b30c11686d60b2658cacb456c8036f7371c0fa319bc78fcde5c5
|
data/lib/crd_parser/component.rb
CHANGED
@@ -22,11 +22,11 @@ module DTK::CrdParser
|
|
22
22
|
attributes = []
|
23
23
|
if component_attributes
|
24
24
|
component_attributes.to_hash.each do |attribute_name, attribute_value|
|
25
|
-
Logger.new('/proc/1/fd/1').info component_def
|
25
|
+
Logger.new('/proc/1/fd/1').info component_def.attribute_type_info
|
26
26
|
encrypted = component_def.attribute_type_info
|
27
27
|
.select { |attribute|
|
28
|
-
attribute
|
29
|
-
}.first
|
28
|
+
attribute.name == attribute_name
|
29
|
+
}.first.encrypted || false
|
30
30
|
attributes.push Attribute.create_from_kube(attribute_name, attribute_value, {encrypted: encrypted})
|
31
31
|
end
|
32
32
|
end
|