mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 14:22:49 +00:00
Remove deployment_type
This commit is contained in:
@@ -29,7 +29,6 @@ Then you can create instances of AWX, for example:
|
|||||||
name: awx
|
name: awx
|
||||||
namespace: ansible-awx
|
namespace: ansible-awx
|
||||||
spec:
|
spec:
|
||||||
deployment_type: awx
|
|
||||||
tower_admin_user: test
|
tower_admin_user: test
|
||||||
tower_admin_email: test@example.com
|
tower_admin_email: test@example.com
|
||||||
tower_admin_password: changeme
|
tower_admin_password: changeme
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
metadata:
|
metadata:
|
||||||
name: awx
|
name: awx
|
||||||
spec:
|
spec:
|
||||||
deployment_type: awx
|
|
||||||
tower_admin_user: test
|
tower_admin_user: test
|
||||||
tower_admin_email: test@example.com
|
tower_admin_email: test@example.com
|
||||||
tower_admin_password: changeme
|
tower_admin_password: changeme
|
||||||
|
|||||||
@@ -26,9 +26,6 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
deployment_type:
|
|
||||||
type: string
|
|
||||||
pattern: "^(tower|awx)(-)?.*$"
|
|
||||||
external_database:
|
external_database:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: |
|
description: |
|
||||||
@@ -51,5 +48,3 @@ spec:
|
|||||||
username: <username to connect as>
|
username: <username to connect as>
|
||||||
password: <password to connect with>
|
password: <password to connect with>
|
||||||
type: Opaque
|
type: Opaque
|
||||||
required:
|
|
||||||
- deployment_type
|
|
||||||
|
|||||||
@@ -169,9 +169,6 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
deployment_type:
|
|
||||||
type: string
|
|
||||||
pattern: "^(tower|awx)(-)?.*$"
|
|
||||||
external_database:
|
external_database:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: |
|
description: |
|
||||||
@@ -194,5 +191,3 @@ spec:
|
|||||||
username: <username to connect as>
|
username: <username to connect as>
|
||||||
password: <password to connect with>
|
password: <password to connect with>
|
||||||
type: Opaque
|
type: Opaque
|
||||||
required:
|
|
||||||
- deployment_type
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ metadata:
|
|||||||
name: example-awx
|
name: example-awx
|
||||||
namespace: example-awx
|
namespace: example-awx
|
||||||
spec:
|
spec:
|
||||||
deployment_type: awx
|
|
||||||
tower_ingress_type: none
|
tower_ingress_type: none
|
||||||
tower_task_privileged: false
|
tower_task_privileged: false
|
||||||
|
|
||||||
|
|||||||
@@ -26,9 +26,6 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
deployment_type:
|
|
||||||
type: string
|
|
||||||
pattern: "^(tower|awx)(-)?.*$"
|
|
||||||
external_database:
|
external_database:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: |
|
description: |
|
||||||
@@ -51,5 +48,3 @@ spec:
|
|||||||
username: <username to connect as>
|
username: <username to connect as>
|
||||||
password: <password to connect with>
|
password: <password to connect with>
|
||||||
type: Opaque
|
type: Opaque
|
||||||
required:
|
|
||||||
- deployment_type
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ metadata:
|
|||||||
name: example-awx
|
name: example-awx
|
||||||
namespace: example-awx
|
namespace: example-awx
|
||||||
spec:
|
spec:
|
||||||
deployment_type: awx
|
|
||||||
tower_ingress_type: ingress
|
tower_ingress_type: ingress
|
||||||
tower_task_privileged: false
|
tower_task_privileged: false
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ metadata:
|
|||||||
"namespace": "example-awx"
|
"namespace": "example-awx"
|
||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
"deployment_type": "awx",
|
|
||||||
"tower_admin_email": "test@example.com",
|
"tower_admin_email": "test@example.com",
|
||||||
"tower_admin_password": "changeme",
|
"tower_admin_password": "changeme",
|
||||||
"tower_admin_user": "test",
|
"tower_admin_user": "test",
|
||||||
@@ -42,7 +41,6 @@ metadata:
|
|||||||
"namespace": "example-awx"
|
"namespace": "example-awx"
|
||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
"deployment_type": "awx",
|
|
||||||
"tower_admin_email": "test@example.com",
|
"tower_admin_email": "test@example.com",
|
||||||
"tower_admin_password": "changeme",
|
"tower_admin_password": "changeme",
|
||||||
"tower_admin_user": "test",
|
"tower_admin_user": "test",
|
||||||
|
|||||||
@@ -20,9 +20,6 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
spec:
|
spec:
|
||||||
properties:
|
properties:
|
||||||
deployment_type:
|
|
||||||
pattern: ^(tower|awx)(-)?.*$
|
|
||||||
type: string
|
|
||||||
external_database:
|
external_database:
|
||||||
description: |
|
description: |
|
||||||
If true you must supply a secret containing the location and credentials for
|
If true you must supply a secret containing the location and credentials for
|
||||||
@@ -45,8 +42,6 @@ spec:
|
|||||||
password: <password to connect with>
|
password: <password to connect with>
|
||||||
type: Opaque
|
type: Opaque
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
|
||||||
- deployment_type
|
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
version: v1beta1
|
version: v1beta1
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
---
|
---
|
||||||
- name: Include deployment type vars
|
|
||||||
include_vars: "{{ deployment_type }}.yml"
|
|
||||||
|
|
||||||
- name: Check for existing secret key
|
- name: Check for existing secret key
|
||||||
k8s_info:
|
k8s_info:
|
||||||
kind: Secret
|
kind: Secret
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
---
|
|
||||||
uwsgi_bash: "bash -c"
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
---
|
|
||||||
uwsgi_bash: "scl enable rh-postgresql10"
|
|
||||||
Reference in New Issue
Block a user