Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cryptocoryne
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
Cryptocoryne
Commits
13c14a89
Commit
13c14a89
authored
5 months ago
by
Hannes Feldt
Browse files
Options
Downloads
Patches
Plain Diff
fix
parent
1166978c
No related branches found
No related tags found
1 merge request
!4
L2SS-2098: Fix various issues happening during renewal
Pipeline
#103907
passed with warnings
5 months ago
Stage: prepare
Stage: lint
Stage: test
Stage: package
Stage: images
Stage: integration
Stage: publish
Stage: deploy
Pipeline: Cryptocoryne
#103908
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lofar_cryptocoryne/client.py
+10
-4
10 additions, 4 deletions
lofar_cryptocoryne/client.py
with
10 additions
and
4 deletions
lofar_cryptocoryne/client.py
+
10
−
4
View file @
13c14a89
...
@@ -3,12 +3,15 @@
...
@@ -3,12 +3,15 @@
"""
Various clients
"""
"""
Various clients
"""
import
socket
from
urllib.parse
import
urlparse
from
urllib.parse
import
urlparse
import
consul
import
josepy
as
jose
import
simple_acme_dns
from
acme
import
client
as
acme_client
from
acme
import
client
as
acme_client
from
acme
import
messages
from
acme
import
messages
import
simple_acme_dns
import
josepy
as
jose
import
consul
import
lofar_cryptocoryne.dns_client
as
desec
import
lofar_cryptocoryne.dns_client
as
desec
...
@@ -27,7 +30,10 @@ def get_service_certificates() -> [(str, [str])]:
...
@@ -27,7 +30,10 @@ def get_service_certificates() -> [(str, [str])]:
class
DnsClient
:
class
DnsClient
:
"""
DNS client
"""
"""
DNS client
"""
DNS_SERVERS
=
[
"
ns1.desec.io
"
,
"
ns2.desec.org
"
]
DNS_SERVERS
=
[
socket
.
gethostbyname
(
"
ns1.desec.io
"
),
socket
.
gethostbyname
(
"
ns2.desec.org
"
),
]
"""
Client to access the dns providers API
"""
"""
Client to access the dns providers API
"""
def
__init__
(
self
,
desec_client
:
desec
.
APIClient
):
def
__init__
(
self
,
desec_client
:
desec
.
APIClient
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment