Blueprints

Using system readOnly label to disable editing the flow from UI

Source

yaml
id: system-readonly-label
namespace: company.team

labels:
  system.readOnly: "true"

tasks:
  - id: log
    type: io.kestra.plugin.core.log.Log
    message: Hello from a read-only flow!

About this blueprint

Fail Error

This workflow sets the system.readOnly label to true. This makes the flow read only, and does not allow editing the flow from the UI. Thsi helps prevent modifications to critical workflows, such as production flows managed through CI/CD pipelines.

Log

More Related Blueprints

New to Kestra?

Use blueprints to kickstart your first workflows.

Get started with Kestra