providers/proxy: fix k8s integration tests

This commit is contained in:
Jens Langhammer 2020-11-04 14:02:29 +01:00
parent c04d0a373a
commit 6c72a9e2e8
2 changed files with 4 additions and 2 deletions

View file

@ -23,7 +23,7 @@ class TestControllers(TestCase):
external_host="http://localhost",
authorization_flow=Flow.objects.first(),
)
service_connection = KubernetesServiceConnection.objects.get(local=True)
service_connection = KubernetesServiceConnection.objects.first()
outpost: Outpost = Outpost.objects.create(
name="test",
type=OutpostType.PROXY,
@ -44,7 +44,7 @@ class TestControllers(TestCase):
external_host="http://localhost",
authorization_flow=Flow.objects.first(),
)
service_connection = KubernetesServiceConnection.objects.get(local=True)
service_connection = KubernetesServiceConnection.objects.first()
outpost: Outpost = Outpost.objects.create(
name="test",
type=OutpostType.PROXY,

View file

@ -1,4 +1,6 @@
#!/bin/bash -xe
wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash
VERSION=3.8.5
wget https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tgz