Skip to content
Snippets Groups Projects
Verified Commit f6f8f0cb authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

name a variable fqdn instead of domain, improve dotenv docstring

parent b47b0dd1
No related branches found
No related tags found
No related merge requests found
......@@ -288,13 +288,13 @@ def create(clus, args): # pylint: disable=too-many-branches
'characters'), MAX_DOMAIN_LENGTH)
sys.exit(1)
domain = '{subdomain}.{domain}'.format(
fqdn = '{subdomain}.{domain}'.format(
subdomain=subdomain, domain=args.domain)
else:
domain = args.domain
fqdn = args.domain
subdomain = None
clus.domain = domain
clus.domain = fqdn
# Set acme_staging to False so we use Let's Encrypt's live environment
if args.acme_staging:
......
......@@ -205,7 +205,7 @@ LOCAL_FLUX={local_flux}
@property
def dotenv_file(self):
"""Path to the .env file that can be used by gitlab-ci"""
"""Path to the .env file with relevant environment variables"""
return os.path.join(self.cluster_dir, '.env')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment