mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
Use pod uid as instance uuid
Inject the pod uid as an environment variable and use it for the SYSTEM_UUID in the settings file defined by the configmap.
This commit is contained in:
@@ -144,7 +144,7 @@ data:
|
||||
|
||||
#Autoprovisioning should replace this
|
||||
CLUSTER_HOST_ID = socket.gethostname()
|
||||
SYSTEM_UUID = '00000000-0000-0000-0000-000000000000'
|
||||
SYSTEM_UUID = os.environ.get('MY_POD_UID', '00000000-0000-0000-0000-000000000000')
|
||||
|
||||
SESSION_COOKIE_SECURE = False
|
||||
CSRF_COOKIE_SECURE = False
|
||||
|
||||
Reference in New Issue
Block a user