Skip to content

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

Description

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

Activity

  1. added
    bugThis issue requires a change to an existing behavior in the product in order to be resolved.
    on Oct 29, 2025
  2. yonzhan commented on Oct 29, 2025

    @yonzhan
    Collaborator

    Thank you for opening this issue, we will look into it.

  3. zhoxing-ms commented on Nov 27, 2025

    @zhoxing-ms
    Contributor

    Sorry, I didn't understand how this issue is related to Azure CLI, but since I saw that az k8s-configuration was mentioned in the PR title, so I involved Bavneet Singh (@bavneetsingh16) to help me take a look at this issue

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

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