kubernetes-deploy 0.11.0 → 0.11.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0614c3851898f064ec1dfbae1f25fdd1fda70740
|
4
|
+
data.tar.gz: 973f4a9d5007d95b10771b3dcc5e42564d36744e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5b60bf891dfd6aef2edb0b7ec7f7df576c56eb93a4c04747d705e1ff4b2e476e26725e6f21ed0e4ab04e594f1a20019b21f571870b4d25e9b11377c323eaac2
|
7
|
+
data.tar.gz: 683b10bf4f0dd1794fd819d53f8871623a75d0f4bb2fb7185584bf4b5113fa7d0e3022bf60e2a1d32d6e1523b16b7b95be5291fc3494b74ec2d4c0ae8a307a63
|
@@ -97,7 +97,8 @@ module KubernetesDeploy
|
|
97
97
|
|
98
98
|
all_pods = JSON.parse(raw_json)["items"]
|
99
99
|
all_pods.each_with_object([]) do |pod_data, relevant_pods|
|
100
|
-
next unless pod_data
|
100
|
+
next unless owners = pod_data.dig("metadata", "ownerReferences")
|
101
|
+
next unless owners.any? { |ref| ref["uid"] == rs_data["metadata"]["uid"] }
|
101
102
|
pod = Pod.new(
|
102
103
|
namespace: namespace,
|
103
104
|
context: context,
|