dtk_crd_parser 0.0.121 → 0.0.122
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 +1 -1
- data/lib/crd_parser/component_def.rb +1 -1
- 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: 5b4278d81533d47cf65101b4cc5cad981c69f86c7bdde35ec39eb0b1842f4f0c
|
4
|
+
data.tar.gz: a43573b0beb9d8257b7b36655a074298209edbfd4e93da301a5a44374a536ece
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd17e3fc19d5ccd4f772f42c692f75cbe3cf7a691235e12eb1bbb315931c46173d20c89492cd1632d2d64c98e20e37d7c75fed5fb96de75c017df57664facc33
|
7
|
+
data.tar.gz: d84a00119b311cae023ebfe9c6cb288a5bae7d7567897b64ee0b6cd4c7bb5c2b62ffc3a267cf45ac511f134945be802adba0811ecc36eb5b6e498451ec010a8b
|
data/lib/crd_parser/component.rb
CHANGED
@@ -19,7 +19,7 @@ module DTK::CrdParser
|
|
19
19
|
component_instance_obj = client.get_component(component_instance[:name], component_instance[:namespace])
|
20
20
|
component_def = ComponentDef.create_from_kube(client, component_instance_obj, component_name)
|
21
21
|
component_attributes = getComponentAttributes(component_name, component_instance_obj[:spec][:components])
|
22
|
-
name_value =
|
22
|
+
name_value = BaseClass.destructureActionComponent(component_name)[:attributeName]
|
23
23
|
Logger.new('/proc/1/fd/1').info "Name value: #{name_value}"
|
24
24
|
attributes = []
|
25
25
|
attributes.push(Attribute.create_from_kube("name", name_value))
|
@@ -16,7 +16,7 @@ module DTK::CrdParser
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def self.create_from_kube(client, component_instance, component_def_name)
|
19
|
-
destructured_component =
|
19
|
+
destructured_component = BaseClass.destructureActionComponent(component_def_name)
|
20
20
|
module_ref = resolveModuleReference(component_instance[:references][:module_refs], component_def_name, destructured_component[:moduleName])
|
21
21
|
|
22
22
|
componentDef = client.get_componentdef("#{destructured_component[:moduleName]}-#{destructured_component[:componentName]}", module_ref[:namespace])
|