kuber_kit 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b69eac4e6129cfa8a312b6066fc9d1a8164885928880add9c170ebb1a8914519
|
4
|
+
data.tar.gz: a38ea5783826d7366cf03eb6722132a9a1167b6a418d94d8be2442571f760d1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdb45aac937ba742197e8d5686ea18253fc0cb6093291bc34bc026b3a60f212cd347b9b54c16640561f33dc8e687e96f234b581402833604d26883ac852b3889
|
7
|
+
data.tar.gz: 337c593fd7826908f5b388829844ee0220e3851fb8117313afcd83f4ebd54b5cfac7747a4da497b6873eb995bc8d3d80a88776e845c5c45398b24ac4fc16b642
|
data/CHANGELOG.md
CHANGED
@@ -42,9 +42,11 @@ class KuberKit::Actions::ConfigurationLoader
|
|
42
42
|
load_configurations(configurations_path, configuration_name)
|
43
43
|
load_infrastructure(infra_path)
|
44
44
|
|
45
|
-
if load_inventory
|
45
|
+
if load_inventory || KuberKit.current_configuration.kubeconfig_path.is_a?(KuberKit::Core::ArtifactPath)
|
46
46
|
update_artifacts(KuberKit.current_configuration.artifacts.values)
|
47
|
+
end
|
47
48
|
|
49
|
+
if load_inventory
|
48
50
|
ui.create_task("Loading image definitions") do |task|
|
49
51
|
files = image_store.load_definitions(images_path)
|
50
52
|
|
@@ -16,10 +16,11 @@ class KuberKit::Shell::Commands::KubectlCommands
|
|
16
16
|
def kubectl_run(shell, command_list, kubeconfig_path: nil, namespace: nil, interactive: false)
|
17
17
|
command_parts = []
|
18
18
|
|
19
|
+
if kubeconfig_path.is_a?(KuberKit::Core::ArtifactPath)
|
20
|
+
kubeconfig_path = artifact_path_resolver.call(kubeconfig_path)
|
21
|
+
end
|
22
|
+
|
19
23
|
if kubeconfig_path
|
20
|
-
if kubeconfig_path.is_a?(KuberKit::Core::ArtifactPath)
|
21
|
-
kubeconfig_path = artifact_path_resolver.call(kubeconfig_path)
|
22
|
-
end
|
23
24
|
command_parts << "KUBECONFIG=#{kubeconfig_path}"
|
24
25
|
end
|
25
26
|
|
data/lib/kuber_kit/version.rb
CHANGED