FluxCD Setup Live Deployment Configuration
This workflow configures how Digital.ai Release monitors the live state of specific applications within your Kubernetes cluster using FluxCD. It collects relevant parameters from the user and then sets up the live deployment configuration accordingly.
Step 1: Get Configuration Details
- Task Type:
Script Task
- Description: Fetches details about the target FluxCD server based on a previously configured status webhook event source.
Step 2: Live Deployment Configuration Parameters
- Task Type:
User Input Task
- Description: Prompts the user for parameters to define the scope of the live deployment monitoring.
- Properties:
-
Configuration Name
: A descriptive name for this live deployment configuration in Digital.ai Release. -
Kind
: The kind of FluxCD resource to monitor (e.g.,Kustomization
,HelmRelease
, orAll Kinds
). -
Application
: The name of the application in FluxCD to monitor. A wildcard*
can be used to monitor all applications. -
Namespace
: The Kubernetes namespace(s) where the application(s) are deployed.
-
Step 3: Configure Digital.ai Release
- Task Type:
Script Task
- Description: Creates or updates a
fluxcd.DeploymentConfig
CI in Digital.ai Release based on the user's input. This CI stores the criteria for monitoring specific FluxCD-managed applications.
Step 4: Patch FluxCD Applications
- Task Type:
Script Task
- Description: Interacts with the FluxCD deployment server to apply necessary annotations or configurations to the target FluxCD resources (like Kustomizations or HelmReleases). This enables them to send status change notifications to the Digital.ai Release webhook.