tests/integration: add tests for Docker outpost using TLS connection

This commit is contained in:
Jens Langhammer
2020-12-13 21:28:13 +01:00
parent 426cb33fab
commit 07082cb3aa
5 changed files with 112 additions and 7 deletions

View File

@ -140,7 +140,14 @@ class OutpostServiceConnection(models.Model):
class DockerServiceConnection(OutpostServiceConnection):
"""Service Connection to a Docker endpoint"""
url = models.TextField()
url = models.TextField(
help_text=_(
(
"Can be in the format of 'unix://<path>' when connecting to a local docker daemon, "
"or 'https://<hostname>:2376' when connecting to a remote system."
)
)
)
tls_verification = models.ForeignKey(
CertificateKeyPair,
null=True,