Skip to content

Commit

Permalink
feat: add blueprint for system.readOnly label (#19)
Browse files Browse the repository at this point in the history
* feat: add blueprint for system.readOnly label

* Update system-readonly-label.yaml

---------

Co-authored-by: Will Russell <[email protected]>
  • Loading branch information
shrutimantri and wrussell1999 authored Dec 11, 2024
1 parent 26580a9 commit 6b6f00c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions system-readonly-label.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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!

extend:
title: Using system readOnly label to disable editing the flow from UI
description: >-
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.
tags:
- Error
- Fail
ee: false
demo: false
meta_description: This workflow uses system.readOnly label to prevent edits to the flow from the UI.

0 comments on commit 6b6f00c

Please sign in to comment.