dtk_crd_parser 0.0.132 → 0.0.133
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 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91599d1d0d409bd6d0caa65df69e3c7c090ef037
|
4
|
+
data.tar.gz: ed1394a1accf577206a99edbd204c161401ffd52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 725ff1733fdc05dc42ff282d4ad6e26c7cf95709a6185f62ec8dd725369caabf48991375f95f3fe106d2442ea0ffb0b30e296314f6607043693b47857ae33433
|
7
|
+
data.tar.gz: 26eb8dabc9fbe68ab65ba9f6d9ea0cba6ad5e661850f6490e1c6eeb77081129b748fad2c19db675fc030c44287bc7120d3d3fc8f75b3bcb47a7fd41285e3cea7
|
data/lib/crd_parser/component.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'logger'
|
2
|
+
|
1
3
|
module DTK::CrdParser
|
2
4
|
class Component < BaseClass
|
3
5
|
require_relative('component/attribute')
|
@@ -19,6 +21,7 @@ module DTK::CrdParser
|
|
19
21
|
component_instance_obj = client.get_component(component_instance[:name], component_instance[:namespace])
|
20
22
|
component_def = ComponentDef.create_from_kube(client, component_instance_obj, component_name)
|
21
23
|
component_attributes = getComponentAttributes(component_name, component_instance_obj[:spec][:components])
|
24
|
+
Logger.new('/proc/1/fd/1').Info("DEBUGGING: #{component_name}, #{component_attributes}")
|
22
25
|
attributes = []
|
23
26
|
if component_attributes
|
24
27
|
component_attributes.to_hash.each do |attribute_name, attribute_value|
|