Skip to content

Commit

Permalink
change contour chart version
Browse files Browse the repository at this point in the history
  • Loading branch information
louiseschmidtgen committed Jun 13, 2024
1 parent 057adc4 commit 7fddaa7
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
Binary file added k8s/manifests/charts/contour-17.0.4.tgz
Binary file not shown.
Binary file removed k8s/manifests/charts/contour-18.1.2.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/k8s/pkg/k8sd/features/contour/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var (
chartContour = helm.InstallableChart{
Name: "ck-ingress",
Namespace: "projectcontour",
ManifestPath: path.Join("charts", "contour-18.1.2.tgz"),
ManifestPath: path.Join("charts", "contour-17.0.4.tgz"),
}
// chartGateway represents manifests to deploy Contour Gateway.
// This excludes shared CRDs.
Expand Down
3 changes: 1 addition & 2 deletions tests/integration/tests/test_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def test_gateway(session_instance: harness.Instance):
capture_output=True,
)

# TODO: test this
services = json.loads(p.stdout.decode())
LOG.info(f"services: {services}")
for svc in services["items"]:
Expand All @@ -70,7 +69,7 @@ def test_gateway(session_instance: harness.Instance):

assert gateway_http_port is not None, "No ingress nodePort found."

LOG.info(f"Gateway node port is {gateway_http_port}")
LOG.info(f"Gateway http port is {gateway_http_port}")
util.stubbornly(retries=5, delay_s=5).on(session_instance).until(
lambda p: "Welcome to nginx!" in p.stdout.decode()
).exec(["curl", f"localhost:{gateway_http_port}"])
3 changes: 1 addition & 2 deletions tests/integration/tests/test_ingress.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def test_ingress(session_instance: List[harness.Instance]):

ingress_http_port = None
services = json.loads(p.stdout.decode())
LOG.info(f"services: {services}")
for svc in services["items"]:
if "ingress" in svc["metadata"]["name"]:
LOG.info(f"Found service {svc['metadata']['name']}")
Expand All @@ -44,7 +43,7 @@ def test_ingress(session_instance: List[harness.Instance]):
break

assert ingress_http_port is not None, "No ingress nodePort found."
LOG.info(f"Found ingress nodePort: {ingress_http_port}")
LOG.info(f"Found http port: {ingress_http_port}")

manifest = MANIFESTS_DIR / "ingress-test.yaml"
session_instance.exec(
Expand Down

0 comments on commit 7fddaa7

Please sign in to comment.