Skip to content

Git-sync: Support multiple repositories in one AirflowCluster #721

@Maleware

Description

@Maleware

Current Situation

We have in our CRD's the possibility to configure git-sync using:

  clusterConfig:
    dagsGitSync:
      # Define your repository here. Currently, the public stackable
      - repo: https://github.com/stackabletech/airflow-operator
        branch: "main"
        gitFolder: "tests/templates/kuttl/mount-dags-gitsync/dags"
        depth: 10
        wait: 20s
        # You may uncomment this line, if your repository is private
        # In this case, please fill in config/airflow-git-credentials.yaml
        # credentialsSecret: airflow-git-credentials
        gitSyncConf:
          --rev: HEAD

As of now, we only support one git-sync although this is already, thankfully, a list.

Favoured Situation

Currently, customers would need either support multiple repositories or support multiple branches per repository but ideally both. If we'd need to decide, I'd rather take multiple repositories as this would suffice for ( in my opinion ) much more brought audience.

Metadata

Metadata

Assignees

Projects

Status

Development: In Progress

Status

Selected for Development

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions