Skip to main content

Dependency

Dependencies are applications or resources required by your Flinkwerk project at runtime.

To automatically build and deploy such applications or resources via Flinkwerk, define them in your project configuration as follows.

dependencies:
erp:
type: helm
sku: bitnami/odoo
repository: https://charts.bitnami.com/bitnami
version: 20.2.3

Here, you are assigning the name erp to the required application and referenced Helm charts.

Upon executing flinkwerk deploy, this application will be deployed from scratch along with your project for a specific branch. A preview URL will be created automatically, which allows you to access the running application dependency.

If you wanted to define a resource dependency, e.g. a cluster, as a dependency of your project, configure the type to be cluster. Again, this cluster will be set up from scratch per branch every time you push new code to the branch and execute flinkwerk deploy for the branch.

note

Configure global resources if you want to define resources which will be constantly available to all your projects.