Skip to content

fix(airflow): give dagsGitSync a typed schema instead of free-form keys - #77

Open
abir-oumghar wants to merge 1 commit into
mainfrom
fix/airflow-gitsync-schema
Open

fix(airflow): give dagsGitSync a typed schema instead of free-form keys#77
abir-oumghar wants to merge 1 commit into
mainfrom
fix/airflow-gitsync-schema

Conversation

@abir-oumghar

@abir-oumghar abir-oumghar commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Description

Type the dags.gitSync values by their syntax instead of forcing strings: the field uses the key-value-scalar widget, so unquoted true/false is a boolean, an unquoted number is an int/float, and quotes force a string. The keys stay free (additionalProperties: true), so any git-sync value can be set without freezing the options. This fixes the earlier behaviour where every value was a string, and a boolean or a number could not be expressed.

Depends on the key-value-scalar widget in OKDP/okdp-control-plane-ui#108; merge and release that first.

Fixes #76

Type of Change

  • Bug fix

How to Test

  • kubocd package airflow.yaml: builds; the manifest carries the key-value-scalar widget the console reads.

Screenshots

Git sync parameters (deploy wizard), before / after:

image image

@abir-oumghar

Copy link
Copy Markdown
Contributor Author

Depends on #108 (object-fields widget), merge and release that one first, otherwise this falls back to the YAML editor.

@abir-oumghar
abir-oumghar force-pushed the fix/airflow-gitsync-schema branch from d3a8c09 to 73414db Compare September 1, 2026 13:53
@abir-oumghar
abir-oumghar requested review from SteBaum and removed request for SteBaum September 3, 2026 10:22
@abir-oumghar
abir-oumghar force-pushed the fix/airflow-gitsync-schema branch from 73414db to 81d9225 Compare September 3, 2026 16:24
@abir-oumghar
abir-oumghar force-pushed the fix/airflow-gitsync-schema branch from 81d9225 to 9124f98 Compare September 3, 2026 17:13
apiVersion: v1alpha1
name: airflow
tag: 3.2.1-p06
tag: 3.2.1-p07

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tag: 3.2.1-p07
1.0.0 # x-release-please-version

This is to avoid conflicts with changes related to release workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Airflow dagsGitSync accepts arbitrary keys, so a typo silently disables git-sync

2 participants