mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -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:
@@ -285,6 +285,10 @@ spec:
|
||||
env:
|
||||
- name: AWX_SKIP_MIGRATIONS
|
||||
value: "1"
|
||||
- name: MY_POD_UID
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.uid
|
||||
resources:
|
||||
requests:
|
||||
memory: "{{ task_mem_request }}Gi"
|
||||
|
||||
Reference in New Issue
Block a user