FluxCD Delete Live Deployment Configuration
This workflow removes a live deployment configuration from Digital.ai Release. It stops the monitoring of a specific FluxCD application's state by Release.
Step 1: Configure Digital.ai Release
- Task type:
Script Task
- Description: Deletes the specified
fluxcd.DeploymentConfig
CI from Digital.ai Release. This involves identifying the configuration to delete based on its ID and removing it from the associated event source. - Properties:
Status Webhook Event Source ID
: ID of the parent event source CI.Live Deployment Configuration ID
: ID of thefluxcd.DeploymentConfig
CI to be deleted.
Step 2: Patch FluxCD applications
- Task type:
Script Task
- Description: Updates FluxCD by removing any specific annotations or configurations on applications that were previously added to send notifications to the now-deleted live deployment configuration in Release. This ensures no orphaned notification settings.
- Properties:
Status Webhook Event Source ID
: Used to determine the scope of patching on the FluxCD side.