Assigning applications to products
Manually or declaratively connect applications to Products
After creating products, the next step is to assign applications to it. Assigning applications to products groups these applications into a single cohesive entity, enabling efficient management for promotions and deployments.
There are two methods of assigning applications to a product:
-
Declarative assignment Defines an annotation with the Product name in the application’s manifest. If the Product doesn’t exist, Codefresh automatically creates it for you.
The annotation is committed and saved in Git as part of the application definition.
Fully GitOps-compatible, this is the preferred method.
For how-to instructions, see Connect applications to products with annotations. -
Manual assignment
A one-click action for quick assignment within Product Settings.
Unlike other UI actions, manual assignment does not require a commit action. Applications assigned to a product are not stored in the product’s resource definition.
Recommended for testing purposes and not as the preferred method.
For how-to instructions, see Manually assign unassigned applications.
You can always unassign an application from a product, for declaratively assigned applications by removing the annotation, and for manually assigned applications, by removing them through Product Settings.
Related articles
Configuring promotion flows and triggers for products
Configuring version and promotable properties for products
Tracking product releases
Product Dashboard
Creating products