Commit e830f5d 1 parent a848090 commit e830f5d Copy full SHA for e830f5d
File tree 2 files changed +4
-4
lines changed
resource_customizations/argoproj.io/Rollout
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ if obj.status ~= nil then
19
19
if obj .status .verifyingPreview ~= nil then
20
20
verifyingPreview = obj .status .verifyingPreview
21
21
end
22
- if verifyingPreview and obj .status .previewSelector ~= nil and obj .status .previewSelector == obj .status .currentPodHash then
23
- hs .status = " Healthy "
22
+ if verifyingPreview and obj .status .blueGreenStatus . previewSelector ~= nil and obj .status . blueGreenStatus .previewSelector == obj .status .currentPodHash then
23
+ hs .status = " Suspended "
24
24
hs .message = " The preview Service is serving traffic to the current pod spec"
25
25
return hs
26
26
end
@@ -36,7 +36,7 @@ if obj.status ~= nil then
36
36
return hs
37
37
end
38
38
39
- if obj .status .activeSelector ~= nil and obj .status .activeSelector == obj .status .currentPodHash then
39
+ if obj .status .blueGreenStatus . activeSelector ~= nil and obj .status . blueGreenStatus .activeSelector == obj .status .currentPodHash then
40
40
hs .status = " Healthy"
41
41
hs .message = " The active Service is serving traffic to the current pod spec"
42
42
return hs
Original file line number Diff line number Diff line change 4
4
message : The active Service is serving traffic to the current pod spec
5
5
inputPath : testdata/healthy_servingActiveService.yaml
6
6
- healthStatus :
7
- status : Healthy
7
+ status : Suspended
8
8
message : The preview Service is serving traffic to the current pod spec
9
9
inputPath : testdata/healthy_servingPreviewService.yaml
10
10
- healthStatus :
You can’t perform that action at this time.
0 commit comments