Skip to main content

Resource

Resources are cloud instances such as clusters or registries.

They are defined either as dependencies of your project or as resources available globally to all your projects.

Define dependencies

Learn how to define resources as dependencies.

Configure global resources

Global resources are configured via the global field and its child fields.

Once you define a global resource in one of your projects, the resource is available in all other projects under its unique name.

Only global cluster resources can be used for deployment as per environment configurations.

Here is a sample configuration of global resources:

global:
my-cluster:
type: cluster
sku: flinkwerk/trial
my-registry:
type: registry
push_path: test/app
server: registry.gitlab.com
email: $REGISTRY_EMAIL
user: $REGISTRY_EMAIL
password: $REGISTRY_PASSWORD