Skip to content

Commit

Permalink
apply ingress route at end
Browse files Browse the repository at this point in the history
  • Loading branch information
strantalis committed Aug 13, 2024
1 parent 8ef0259 commit b3aed68
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/chart_platform_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ func (suite *PlatformChartIntegrationSuite) TestBasicDeployment() {
// Apply tls secret
k8s.RunKubectl(suite.T(), kubectlOptions, "create", "secret", "tls", "platform-tls", "--cert=../tls.crt", "--key=../tls.key")

traefikIngressCfg, err := filepath.Abs("traefik.yaml")
suite.Require().NoError(err)

k8s.KubectlApply(suite.T(), kubectlOptions, traefikIngressCfg)

// Install the chart
helm.Install(suite.T(), options, suite.chartPath, releaseName)

Expand All @@ -110,6 +105,11 @@ func (suite *PlatformChartIntegrationSuite) TestBasicDeployment() {
ingresses := k8s.ListIngresses(suite.T(), kubectlOptions, metav1.ListOptions{})
suite.Require().Len(ingresses, 0)

traefikIngressCfg, err := filepath.Abs("traefik.yaml")
suite.Require().NoError(err)

k8s.KubectlApply(suite.T(), kubectlOptions, traefikIngressCfg)

// Run bats tests
batsTestFile, err := filepath.Abs("bats/tutorial.bats")
suite.Require().NoError(err)
Expand Down

0 comments on commit b3aed68

Please sign in to comment.