Skip to content

Commit

Permalink
Get IP with RequiresApproval phase
Browse files Browse the repository at this point in the history
  • Loading branch information
KhizerJaan committed Sep 30, 2024
1 parent 6b53fb1 commit 50db7c8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ spec:
{{- if and (eq . "${SUBSCRIPTION_CSV}") (not \$installPlanName) -}}
{{- range \$installPlanItem.metadata.ownerReferences -}}
{{- if eq .uid "${subscriptionUID}" -}}
{{- \$installPlanName = \$installPlanItem.metadata.name -}}
{{- \$requiresApproval := \$installPlanItem.status.phase.RequiresApproval -}}
{{- if eq \$requiresApproval true -}}
{{- \$installPlanName = \$installPlanItem.metadata.name -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
Expand Down

0 comments on commit 50db7c8

Please sign in to comment.