Skip to content

Add support for recurseSubmodules on Git sources in Azure GitOps (Flux v2) / az k8s-configuration (patch GitRepository)˜ #9354

@FeliceSchena

Description

@FeliceSchena

I can’t find any supported way in Azure GitOps (Flux v2) to enable Git submodules for a Flux GitRepository source (i.e., set spec.recurseSubmodules: true). Flux upstream supports this field and it’s very useful when the cluster config repo references Helm charts or manifests via submodules. Is possible to expose and support recurseSubmodules in Azure GitOps (Flux v2) so we can configure it via Azure APIs/CLI/Portal.

Related command

Errors

Issue script & Debug output

Expected behavior

az k8s-configuration flux create \ --recurseSubmodules true

Environment Summary

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Service AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions