Event-Driven Ansible custom resources

The Event-Driven Ansible operator provides custom resources for deploying, configuring, and protecting a standalone Event-Driven Ansible instance on OpenShift Container Platform.

The EDA custom resource deploys and configures Event-Driven Ansible independently of the full Ansible Automation Platform deployment. Event-Driven Ansible enables event-driven automation workflows by connecting event sources to automation actions. Use this custom resource when you need to manage Event-Driven Ansible as a standalone component rather than through the AnsibleAutomationPlatform resource.

The EDABackup and EDARestore custom resources manage data protection for standalone Event-Driven Ansible deployments. A backup captures the Event-Driven Ansible database and configuration. A restore recreates the deployment from a previously created backup.

EDA [eda.ansible.com/v1alpha1]

The EDA custom resource deploys and configures a standalone Event-Driven Ansible instance for event-driven automation workflows.

Description

API Group eda.ansible.com
API Version v1alpha1
Kind EDA
Scope Namespaced

Specification

Field Type Description Default
automation_server_url String URL of the automation controller instance for Event-Driven Ansible to connect to. -
automation_server_ssl_verify String Enable or disable SSL verification for the automation controller connection. Set tono to disable. yes
database Object Database configuration. Containsdatabase_secret (String) specifying the name of a Kubernetes secret with external database connection details. -
api Object Event-Driven Ansible API pod configuration. Containsreplicas (Integer) andresource_requirements (Object). 1 replica
ui Object Event-Driven Ansible UI pod configuration. Containsreplicas (Integer) andresource_requirements (Object). 1 replica
scheduler Object Event-Driven Ansible scheduler pod configuration. Containsreplicas (Integer) andresource_requirements (Object). 1 replica
default_worker Object Event-Driven Ansible default worker pod configuration. Containsreplicas (Integer) andresource_requirements (Object). 1 replica
activation_worker Object Event-Driven Ansible activation worker pod configuration. Containsreplicas (Integer) andresource_requirements (Object). 1 replica
event_stream Object Event-Driven Ansible event stream pod configuration. Containsreplicas (Integer) andresource_requirements (Object). 1 replica
worker Object Event-Driven Ansible worker pod configuration. Containsreplicas (Integer) andresource_requirements (Object). 2 replicas

Example custom resource

apiVersion: eda.ansible.com/v1alpha1
kind: EDA
metadata:
  name: my-eda
spec:
  automation_server_ssl_verify: 'no'
  api:
    replicas: 2
  activation_worker:
    replicas: 2
  event_stream:
    replicas: 2

EDABackup and EDARestore [eda.ansible.com/v1alpha1]

The EDABackup and EDARestore custom resources manage backup and restore operations for standalone Event-Driven Ansible deployments.

EDABackup

API Group eda.ansible.com
API Version v1alpha1
Kind EDABackup
Scope Namespaced

EDABackup spec

Field Type Description Default
deployment_name String Name of theEDA instance to back up. Required. -
no_log Boolean Suppress logging of sensitive data during the backup process. true
backup_pvc String Name of the persistent volume claim (PVC) to use for backup storage. -
backup_storage_class String Kubernetes storage class for the backup PVC. -
backup_storage_requirements String Storage size for the backup PVC, for example7Gi. -
create_backup_pvc Boolean Set totrue to have the operator create the PVC automatically. false

Example EDABackup custom resource

apiVersion: eda.ansible.com/v1alpha1
kind: EDABackup
metadata:
  name: eda-backup
spec:
  deployment_name: my-eda
  backup_pvc: eda-backup-pvc
  backup_storage_requirements: 7Gi
  create_backup_pvc: true

EDARestore

API Group eda.ansible.com
API Version v1alpha1
Kind EDARestore
Scope Namespaced

EDARestore spec

Field Type Description Default
deployment_name String Name of theEDA instance to restore. Required. -
backup_name String Name of theEDABackup resource to restore from. Required. -
no_log Boolean Suppress logging of sensitive data during the restore process. true

Example EDARestore custom resource

apiVersion: eda.ansible.com/v1alpha1
kind: EDARestore
metadata:
  name: eda-restore
spec:
  deployment_name: my-eda
  backup_name: eda-backup