mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 20:07:37 -02:30
Use a DeploymentConfig in OpenShift
This commit is contained in:
@@ -111,8 +111,13 @@ userNames:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
{% if openshift_host is defined %}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: DeploymentConfig
|
||||||
|
{% else %}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Deployment
|
kind: DeploymentConfig
|
||||||
|
{% endif %}
|
||||||
metadata:
|
metadata:
|
||||||
name: awx
|
name: awx
|
||||||
namespace: {{ awx_kubernetes_namespace }}
|
namespace: {{ awx_kubernetes_namespace }}
|
||||||
|
|||||||
Reference in New Issue
Block a user