Fix 'Delete VM' JT to actually delete VMs and remove unnecessary CNV … (#162)
This commit is contained in:
committed by
GitHub
parent
120fe3068f
commit
d80cc0ac7a
@@ -7,29 +7,6 @@ controller_components:
|
|||||||
- job_templates
|
- job_templates
|
||||||
- workflow_job_templates
|
- workflow_job_templates
|
||||||
|
|
||||||
controller_credential_types:
|
|
||||||
# Ideally, we would not need to use this and could just re-use the OCP credential for the inventory plugin
|
|
||||||
- name: OCPV inventory credential
|
|
||||||
kind: cloud
|
|
||||||
inputs:
|
|
||||||
fields:
|
|
||||||
- id: host
|
|
||||||
type: string
|
|
||||||
label: OpenShift or Kubernetes API Endpoint
|
|
||||||
secret: false
|
|
||||||
- id: bearer_token
|
|
||||||
type: string
|
|
||||||
label: API authentication bearer token
|
|
||||||
secret: true
|
|
||||||
- id: verify_ssl
|
|
||||||
type: boolean
|
|
||||||
label: Verify SSL
|
|
||||||
injectors:
|
|
||||||
env:
|
|
||||||
K8S_AUTH_HOST: "{% raw %}{ { host }}{% endraw %}"
|
|
||||||
K8S_AUTH_API_KEY: "{% raw %}{ { bearer_token }}{% endraw %}"
|
|
||||||
K8S_AUTH_VERIFY_SSL: "{% raw %}{ { verify_ssl }}{% endraw %}"
|
|
||||||
|
|
||||||
controller_credentials:
|
controller_credentials:
|
||||||
- name: OpenShift Credential
|
- name: OpenShift Credential
|
||||||
organization: Default
|
organization: Default
|
||||||
@@ -40,22 +17,13 @@ controller_credentials:
|
|||||||
bearer_token: CHANGEME
|
bearer_token: CHANGEME
|
||||||
verify_ssl: false
|
verify_ssl: false
|
||||||
|
|
||||||
- name: OCP-V Inventory Credential
|
|
||||||
organization: Default
|
|
||||||
credential_type: OCPV inventory credential
|
|
||||||
state: exists
|
|
||||||
inputs:
|
|
||||||
host: CHANGEME
|
|
||||||
bearer_token: CHANGEME
|
|
||||||
verify_ssl: false
|
|
||||||
|
|
||||||
controller_inventory_sources:
|
controller_inventory_sources:
|
||||||
- name: OpenShift CNV Inventory
|
- name: OpenShift CNV Inventory
|
||||||
inventory: Demo Inventory
|
inventory: Demo Inventory
|
||||||
source: scm
|
source: scm
|
||||||
source_project: Ansible official demo project
|
source_project: Ansible official demo project
|
||||||
source_path: openshift/inventory.kubevirt.yml
|
source_path: openshift/inventory.kubevirt.yml
|
||||||
credential: OCP-V Inventory Credential
|
credential: OpenShift Credential
|
||||||
update_on_launch: false
|
update_on_launch: false
|
||||||
|
|
||||||
controller_templates:
|
controller_templates:
|
||||||
@@ -138,7 +106,7 @@ controller_templates:
|
|||||||
notification_templates_error: Telemetry
|
notification_templates_error: Telemetry
|
||||||
survey_enabled: true
|
survey_enabled: true
|
||||||
extra_vars:
|
extra_vars:
|
||||||
state: absent
|
instance_state: absent
|
||||||
survey:
|
survey:
|
||||||
name: ''
|
name: ''
|
||||||
description: ''
|
description: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user