Flux CD Setup Deployment Server
This workflow establishes the necessary connections and configurations in Digital.ai Release to communicate with your FluxCD deployment server.
Step 1: Choose Connection
- Task Type:
User Input Task
- Description: Prompts the user to select the FluxCD server instance (defined as a
fluxcd.APIServer
CI in Digital.ai Release) that needs to be configured for communication. - Properties:
FluxCD server
: Reference to thefluxcd.APIServer
CI in Digital.ai Release. Key properties of this CI include:-
URL
: URL of the FluxCD API server. -
Namespace
: Namespace where FluxCD controllers are running (for example,flux-system
). -
FluxCD Authentication Method
: Method for authenticationExample: Token, Client Certificate.
-
Other auth-specific properties like
Bearer Token
,Client Certificate
,Client Key
based on the chosen method.
-
Step 2: Test Connection
- Task Type:
Script Task
- Verifies the connection to the selected FluxCD deployment server using the provided credentials and settings from the
fluxcd.APIServer
CI.
Step 3: Setup Deployment Server
- Task Type:
Script Task
- Creates the necessary configuration items within Digital.ai Release that represent the connection to the FluxCD deployment server. This often involves setting up webhook event sources.
Step 4: Autoconfigure Deployment Server
- Task Type:
Script Task
- Generates and applies a FluxCD ConfigMap or other resources required to enable live event notifications from FluxCD back to Digital.ai Release. This allows Release to track deployment statuses.
Step 5: Autoconfig Response
- Task Type:
General Task
- Displays the message and results from the autoconfiguration step, confirming whether the setup for live event notifications was successful.