Skip to content

Commit

Permalink
ci: Set ClusterHealthPort in K8sHealth
Browse files Browse the repository at this point in the history
This sets a custom value for `cluster-health-port` in the K8sHealth test
suite, to ensure we support setting a custom health port (e.g. used in
OpenShift, which we do not test in our CI at the moment).

Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
  • Loading branch information
gandro authored and qmonnet committed Nov 30, 2021
1 parent c640c71 commit cfd9da2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/k8sT/Health.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ var _ = Describe("K8sHealthTest", func() {
kubectl = helpers.CreateKubectl(helpers.K8s1VMName(), logger)

ciliumFilename = helpers.TimestampFilename("cilium.yaml")
DeployCiliumAndDNS(kubectl, ciliumFilename)
DeployCiliumOptionsAndDNS(kubectl, ciliumFilename, map[string]string{
"clusterHealthPort": "9940", // tests use of custom port
})
})

AfterFailed(func() {
Expand Down

0 comments on commit cfd9da2

Please sign in to comment.