From 5d849f0449db8be2c840d093205c8b37be6b834b Mon Sep 17 00:00:00 2001 From: Arie Peterson <arie@greenhost.nl> Date: Thu, 21 Nov 2019 17:01:51 +0100 Subject: [PATCH] Always use local_flux for now --- openappstack/cluster.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openappstack/cluster.py b/openappstack/cluster.py index 51cf07f4f..a3927bd87 100644 --- a/openappstack/cluster.py +++ b/openappstack/cluster.py @@ -41,6 +41,9 @@ class Cluster: self.domain = None # By default, use Let's Encrypt's live environment self.acme_staging = False + # Let the auto-update mechanism (flux) follow a cluster-local git repo, + # not one hosted on open.greenhost.net. + self.local_flux = True # Set this to False if the data needs to be (re)loaded from file self.data_loaded = False # Load data from inventory.yml and settings.yml @@ -147,6 +150,7 @@ class Cluster: settings['domain'] = self.domain settings['admin_email'] = 'admin@{0}'.format(self.domain) settings['acme_staging'] = self.acme_staging + settings['local_flux'] = self.local_flux settings['cluster_dir'] = self.cluster_dir file_contents = yaml.safe_dump(settings, default_flow_style=False) -- GitLab