dtk_crd_parser 0.0.139 → 0.0.140
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
- 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: 8cbbd4b9bff874b95b147d5779af5b01e906997f
|
4
|
+
data.tar.gz: 921a589983fdd99fb0a8b8e9416bc37c0aa5bf6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c33143b3265f82f20f60028cc087402ce4750e7ab67c0b3d7b15073ac9c75f7547c2e9a58cf6acf8de457fae2c9efc838d3afc0a73a47c9eab50837cb4658013
|
7
|
+
data.tar.gz: d1cbe00cbae5978835f62447f29383506578fef768940a945238241816783df9989318fcd60519da0da213ea7f7057b72176392afeb98ff13c894781b718d2ed
|
data/lib/crd_parser/component.rb
CHANGED
@@ -17,7 +17,7 @@ module DTK::CrdParser
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def self.create_from_kube(client, component_instance, component_name)
|
20
|
-
|
20
|
+
component_name.gsub!('_', '-')
|
21
21
|
component_instance_obj = client.get_component(component_instance[:name], component_instance[:namespace])
|
22
22
|
component_def = ComponentDef.create_from_kube(client, component_instance_obj, component_name)
|
23
23
|
component_attributes = getComponentAttributes(component_name, component_instance_obj[:spec][:components])
|