Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Integrate DAG editor in Airflow

未关闭
#593 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
git, kubernetes

调研方向

首先检查 operator 的 CRD 配置,以及 issue 中提到的现有 GitSync 和 Open Policy Agent 集成。评估 Airflow 代码编辑器如何适配 Docker 镜像、GitSync 和基于 PVC 的 DAG 存储。完成的标准是:有一个配置好的编辑器,具备基于角色的访问控制,并且为通过 UI 编写的 DAG 定义了配置和持久化路径。

由索引模型根据 Issue 内容生成。

描述

type/feature-new
Current Situation

We offer the customer to inject DAGs into airflow in two ways:

  1. Customers can mount a configMap into the Airflow pod and store the DAGs there.
  2. Customers can use GitSync to host DAGs in an git repository.

Both ways need a way to interact either with kubernetes itself or with git.

Proposed Situation

Customers can log into Airflow and edit DAGs in the Airflow UI.

To archive this, we'd need to include an editor in airflow dockerimage and make it configurable through the operators CRD. I'd propose https://github.com/andreax79/airflow-code-editor as an candidate.

Advantage

Now where https://github.com/stackabletech/airflow-operator/pull/573 is merged, we offer deeply integrated Open Policy Agent support, which would lead to the advantage to offer role based editor access to data engineers or product owners. There wouldn't be a need to have knowledge of kuberentes or git to modify, develop and deploy DAGs. In my opinion this would increase usability and accessibility of Airflow and could empower the customer.

Additionally, it would make the development process of DAGs much easier as we would move from develop -> deploy -> test to develop -> test.

Evaluation

I expect this to be a rather large feature. We'd need to think about roles and how to configure those for editor access without OPA too. We need to be able to integrate with GitSync and implement access, provisioning and usage of PVCs to store DAGs written in the Airflow UI. Role based access may also apply to files stored in PVCs. We introduce at least another dependency we might need to maintain.

主要语言
Rust
星标
32
派生
6
平均合并
2 天 1 小时
30 天内合并 PR
15

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

stackabletech/airflow-operator 的其他 Issue

查看 stackabletech/airflow-operator 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。