mirror of
https://github.com/ansible/awx.git
synced 2026-05-21 07:47:44 -02:30
ConfigMap supervisor configs and launch scripts for k8s
This commit is contained in:
committed by
chris meyers
parent
99384b1db9
commit
346b9b9e3e
@@ -121,6 +121,26 @@ spec:
|
||||
- name: "{{ kubernetes_deployment_name }}-application-credentials"
|
||||
mountPath: "/etc/tower/conf.d/"
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-launch-awx-web
|
||||
mountPath: "/usr/bin/launch_awx.sh"
|
||||
subPath: "launch_awx.sh"
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-launch-awx-task
|
||||
mountPath: "/usr/bin/launch_awx_task.sh"
|
||||
subPath: "launch_awx_task.sh"
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-supervisor-web-config
|
||||
mountPath: "/supervisor.conf"
|
||||
subPath: supervisor.conf
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-supervisor-task-config
|
||||
mountPath: "/supervisor_task.conf"
|
||||
subPath: supervisor_task.conf
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-secret-key
|
||||
mountPath: "/etc/tower/SECRET_KEY"
|
||||
@@ -168,6 +188,26 @@ spec:
|
||||
- name: "{{ kubernetes_deployment_name }}-application-credentials"
|
||||
mountPath: "/etc/tower/conf.d/"
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-launch-awx-web
|
||||
mountPath: "/usr/bin/launch_awx.sh"
|
||||
subPath: "launch_awx.sh"
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-launch-awx-task
|
||||
mountPath: "/usr/bin/launch_awx_task.sh"
|
||||
subPath: "launch_awx_task.sh"
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-supervisor-web-config
|
||||
mountPath: "/supervisor.conf"
|
||||
subPath: supervisor.conf
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-supervisor-task-config
|
||||
mountPath: "/supervisor_task.conf"
|
||||
subPath: supervisor_task.conf
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-secret-key
|
||||
mountPath: "/etc/tower/SECRET_KEY"
|
||||
@@ -303,6 +343,37 @@ spec:
|
||||
path: 'credentials.py'
|
||||
- key: environment_sh
|
||||
path: 'environment.sh'
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-launch-awx-web
|
||||
configMap:
|
||||
name: {{ kubernetes_deployment_name }}-launch-awx
|
||||
items:
|
||||
- key: launch-awx-web
|
||||
path: 'launch_awx.sh'
|
||||
defaultMode: 0755
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-launch-awx-task
|
||||
configMap:
|
||||
name: {{ kubernetes_deployment_name }}-launch-awx
|
||||
items:
|
||||
- key: launch-awx-task
|
||||
path: 'launch_awx_task.sh'
|
||||
defaultMode: 0755
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-supervisor-web-config
|
||||
configMap:
|
||||
name: {{ kubernetes_deployment_name }}-supervisor-config
|
||||
items:
|
||||
- key: supervisor-web-config
|
||||
path: 'supervisor.conf'
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-supervisor-task-config
|
||||
configMap:
|
||||
name: {{ kubernetes_deployment_name }}-supervisor-config
|
||||
items:
|
||||
- key: supervisor-task-config
|
||||
path: 'supervisor_task.conf'
|
||||
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-secret-key
|
||||
secret:
|
||||
|
||||
Reference in New Issue
Block a user