From 6b6f00c53526ec433936863cfb2f380b73351da2 Mon Sep 17 00:00:00 2001 From: Shruti Mantri Date: Wed, 11 Dec 2024 20:07:13 +0530 Subject: [PATCH] feat: add blueprint for system.readOnly label (#19) * feat: add blueprint for system.readOnly label * Update system-readonly-label.yaml --------- Co-authored-by: Will Russell --- system-readonly-label.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 system-readonly-label.yaml diff --git a/system-readonly-label.yaml b/system-readonly-label.yaml new file mode 100644 index 0000000..9b2503e --- /dev/null +++ b/system-readonly-label.yaml @@ -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.