Add automatic deprovisioning support, only enabled for openshift

* Implement a config watcher for service restarts
* If the configmap bind point changes then restart all services
This commit is contained in:
Matthew Jones
2017-10-12 14:14:30 -04:00
parent 0e97dc4b84
commit c819560d39
8 changed files with 95 additions and 2 deletions

View File

@@ -12,7 +12,10 @@ data:
# Container environments don't like chroots
AWX_PROOT_ENABLED = False
# Automatically deprovision pods that go offline
AWX_AUTO_DEPROVISION_INSTANCES = True
#Autoprovisioning should replace this
CLUSTER_HOST_ID = socket.gethostname()
SYSTEM_UUID = '00000000-0000-0000-0000-000000000000'