microsoft / microsoft/aspire

Feature Request: GitOps-oriented Configuration Provider for Aspire

Open
#13,588 3 comments 0 reactions 0 assignees View on GitHub
area-integrations
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

Hi Aspire team 👋,

First of all, thank you for the work on .NET Aspire — it’s a very promising direction for .NET cloud-native applications.

I have a question regarding **configuration management** in Aspire, especially in **Kubernetes / GitOps-oriented environments**.

---

## Background

From the current documentation and samples, it seems that:

- Aspire encourages using:
- `IConfiguration` / `ConfigurationProvider`
- Environment variables
- Kubernetes-native mechanisms (ConfigMap / Secret)
- There is **no official centralized configuration service** comparable to systems like Apollo or Nacos
- Aspire appears to intentionally avoid UI-driven configuration platforms

This aligns well with GitOps and cloud-native best practices 👍

---

## The Gap I'm Seeing

In real-world projects, there is often a need for:

- A **central configuration source** (not necessarily a UI)
- Versioned configuration (snapshots / rollback)
- Environment / label–based configuration
- A **first-class `ConfigurationProvider`** that works well with:
- Aspire (local dev)
- Kubernetes (production)
- Git as the source of truth

At the moment, teams seem to either:
- Build a custom `ConfigurationProvider`
- Use third-party platforms that are not Aspire-first or Kubernetes-native
- Fall back to ad-hoc environment variable management

---

## My Question

Is there any **official plan or discussion** around:

- Providing an **Aspire-aligned configuration provider**
- Or a reference implementation for:
- GitOps-based configuration
- Kubernetes-friendly configuration distribution
- Optional lightweight config service (no UI required)

Even a **recommended pattern or reference architecture** would be very helpful.

---

## Why I'm Asking

Before investing time into building and open-sourcing such a provider myself, I wanted to understand:

- Whether this is something the Aspire team plans to address
- Or if custom/community solutions are the intended path

Thank you for your time and for all the great work on Aspire!

Best regards,

### Describe the solution you'd like

Create an component that provides a GitOps-oriented configuration provider for .NET Aspire, similar to Spring Cloud Config but designed for cloud-native environments.Aspire.GitOps.Configuration

Core Features
Git-based configuration storage: Store configuration files in Git repositories with versioning and rollback capabilities
Environment-specific overrides: Support for dev/staging/prod environments through Git branches or directory structures
Kubernetes-native integration: Seamless integration with ConfigMaps and Secrets for production deployments
Real-time configuration updates: Change token-based monitoring for hot configuration reloads

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.