Azure / Azure/azure-cli-extensions

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

Open
#9,354 2 comments 0 reactions 0 assignees View on GitHub
bug Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

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_

Contributor guide

Open the contributing guide

Research direction

Start at the `az k8s-configuration flux create` entry point and trace how Azure GitOps Flux v2 GitRepository settings are passed through the CLI and Azure API. Compare the supported fields with Flux’s `spec.recurseSubmodules`; done means the expected `--recurseSubmodules true` configuration is accepted and preserved when creating or patching a Git source.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, git, kubernetes, python
Domain
cli, cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.