dtk_crd_parser 0.0.169 → 0.0.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/crd_parser/component.rb +1 -6
- 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: 8cc6901965aaaa2f894d998389ab5b67c57f4c84cf9192d5e46274441b19adef
|
|
4
|
+
data.tar.gz: 35c9debf19d6755cea97695fcdc891a4ddcc55b8cd8b96954fe810d08bbdf7d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '09824110f22a9f33855d93ebedde4aa3e6b08d663a3356333b98da69ec5746ad60bf7deb7630257bcc8826858c301517b7e4e638b1ba1f717caed7c00911e820'
|
|
7
|
+
data.tar.gz: 8660231836c9792f67a0ae81e7069b36154cdeb685f790e96523857c6015e23ecb8974e6ef72c5006d13bbc7376e9b0ffc7ef35baed31a9be7beb4efcc6c4355
|
data/lib/crd_parser/component.rb
CHANGED
|
@@ -29,13 +29,8 @@ module DTK::CrdParser
|
|
|
29
29
|
attributes.push Attribute.create_from_kube(attribute_name, attribute_value, {encrypted: encrypted || false})
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
|
-
|
|
33
|
-
Logger.new('/proc/1/fd/1').error attributes
|
|
34
|
-
Logger.new('/proc/1/fd/1').error "SELECTED ATTRIBUTES"
|
|
35
|
-
Logger.new('/proc/1/fd/1').error attributes.find{|h| h.name == "tfstate"}.nil?
|
|
32
|
+
#set all attributes, not just ones with values
|
|
36
33
|
other_attrs = component_def.attribute_type_info.select {|attribute| attributes.find{|h| h.name.to_s == attribute.name.to_s }.nil?}
|
|
37
|
-
Logger.new('/proc/1/fd/1').error "OTHER ATTRIBUTES"
|
|
38
|
-
Logger.new('/proc/1/fd/1').error other_attrs
|
|
39
34
|
other_attrs.each do |attribute|
|
|
40
35
|
attributes.push Attribute.create_from_kube(attribute.name, "", {encrypted: attribute.encrypted || false})
|
|
41
36
|
end
|