Skip to content

Commit 80ccc2d

Browse files
committed
remove version prefix from airflow config
1 parent fd9726b commit 80ccc2d

2 files changed

Lines changed: 3 additions & 27 deletions

File tree

  • deploy/helm/airflow-operator/crds
  • rust/operator-binary/src/crd

deploy/helm/airflow-operator/crds/crds.yaml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3851,34 +3851,10 @@ spec:
38513851
38523852
Since git-sync v4.x.x this field is mapped to the flag `--ref`.
38533853
type: string
3854-
credentials:
3854+
credentialsSecret:
38553855
description: An optional secret used for git access.
38563856
nullable: true
3857-
oneOf:
3858-
- required:
3859-
- basicAuthSecretName
3860-
- required:
3861-
- sshPrivateKeySecretName
3862-
properties:
3863-
basicAuthSecretName:
3864-
description: |-
3865-
The name of the Secret used to access the repository via Basic Authentication if it is not public.
3866-
3867-
The referenced Secret must include two fields: `user` and `password`.
3868-
The `password` field can either be an actual password (not recommended) or a GitHub token,
3869-
as described in the git-sync [documentation].
3870-
3871-
[documentation]: https://github.com/kubernetes/git-sync/tree/v4.2.4?tab=readme-ov-file#manual
3872-
type: string
3873-
sshPrivateKeySecretName:
3874-
description: |-
3875-
The name of the Secret used for SSH access to the repository.
3876-
3877-
The referenced Secret must include two fields: `key` and `knownHosts`.
3878-
3879-
[documentation]: https://github.com/kubernetes/git-sync/tree/v4.2.4?tab=readme-ov-file#manual
3880-
type: string
3881-
type: object
3857+
type: string
38823858
depth:
38833859
default: 1
38843860
description: The depth of syncing, i.e. the number of commits to clone; defaults to 1.

rust/operator-binary/src/crd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ pub mod versioned {
206206

207207
/// Configuration that applies to all roles and role groups.
208208
/// This includes settings for authentication, git sync, service exposition and volumes, among other things.
209-
pub cluster_config: v1alpha2::AirflowClusterConfig,
209+
pub cluster_config: AirflowClusterConfig,
210210

211211
// no doc string - See ClusterOperation struct
212212
#[serde(default)]

0 commit comments

Comments
 (0)