Skip to content

Commit

Permalink
Add k8sIp to the fabricCA
Browse files Browse the repository at this point in the history
Signed-off-by: David VIEJO <[email protected]>
  • Loading branch information
dviejokfs committed May 18, 2023
1 parent e70299c commit 7681513
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions controllers/tests/ca_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,9 @@ var _ = Describe("Fabric Controllers", func() {
}
resources, err := getDefaultResources()
Expect(err).ToNot(HaveOccurred())
k8sIP, err := utils.GetPublicIPKubernetes(ClientSet)
Expect(err).ToNot(HaveOccurred())

fabricCa := &hlfv1alpha1.FabricCA{
TypeMeta: NewTypeMeta("FabricCA"),
ObjectMeta: v1.ObjectMeta{
Expand All @@ -824,6 +827,7 @@ var _ = Describe("Fabric Controllers", func() {
"localhost",
objName,
fmt.Sprintf("%s.%s", objName, FabricNamespace),
k8sIP,
},
Service: hlfv1alpha1.FabricCASpecService{
ServiceType: "NodePort",
Expand Down

0 comments on commit 7681513

Please sign in to comment.