An open API service indexing awesome lists of open source software.

https://github.com/upbound/configuration-azure-network

Network fabric configuration
https://github.com/upbound/configuration-azure-network

Last synced: over 1 year ago
JSON representation

Network fabric configuration

Awesome Lists containing this project

README

          

# Azure Network Configuration

This repository contains an Upbound project, tailored for users establishing their initial control plane with [Upbound](https://cloud.upbound.io). This configuration deploys fully managed Azure network resources.

## Overview

The core components of a custom API in [Upbound Project](https://docs.upbound.io/learn/control-plane-project/) include:

- **CompositeResourceDefinition (XRD):** Defines the API's structure.
- **Composition(s):** Configures the Functions Pipeline
- **Embedded Function(s):** Encapsulates the Composition logic and implementation within a self-contained, reusable unit

In this specific configuration, the API contains:

- **an [Azure Network](/apis/xnetworks/definition.yaml) custom resource type.**
- **Composition:** Configured in [/apis/xnetworks/composition.yaml](/apis/xnetworks/composition.yaml),
- **Embedded Function:** The Composition logic is encapuslated within [embedded function](/functions/xnetwork/main.k)

## Testing

The configuration can be tested using:

- `up composition render --xrd=apis/xnetworks/definition.yaml apis/xnetworks/composition.yaml examples/network-xr.yaml` to render the composition
- `up test run tests/*` to run composition tests in `tests/test-xnetwork/`
- `up test run tests/* --e2e` to run end-to-end tests in `tests/e2etest-xnetwork/`

## Deployment

- Execute `up project run`
- Alternatively, install the Configuration from the [Upbound Marketplace](https://marketplace.upbound.io/configurations/upbound/configuration-azure-network)
- Check [examples](/examples/) for example XR(Composite Resource)

## Next steps

This repository serves as a foundational step. To enhance the configuration, consider:

1. create new API definitions in this same repo
2. editing the existing API definition to your needs

To learn more about how to build APIs for your managed control planes in Upbound, read the guide on [Upbound's docs](https://docs.upbound.io/).