Skip to content

Commit

Permalink
chore(ci): Check kind registry for kustomize
Browse files Browse the repository at this point in the history
  • Loading branch information
gansheer committed Oct 25, 2023
1 parent a9b0e33 commit 924ddfb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions e2e/install/kustomize/operator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ func TestOperatorBasic(t *testing.T) {
Expect(operatorPod.Spec.Containers[0].SecurityContext.AllowPrivilegeEscalation).To(Equal(kubernetes.DefaultOperatorSecurityContext().AllowPrivilegeEscalation))

Eventually(Platform(ns)).ShouldNot(BeNil())
registry := os.Getenv("KIND_REGISTRY")
if registry != "" {
platform := Platform(ns)()
Expect(platform.Spec.Build.Registry).ShouldNot(BeNil())
Expect(platform.Spec.Build.Registry.Address).To(Equal(registry))
}

})
}

Expand Down

0 comments on commit 924ddfb

Please sign in to comment.