Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): introduces MeshFederation API #166

Conversation

bartoszmajsak
Copy link
Collaborator

@bartoszmajsak bartoszmajsak commented Jan 24, 2025

This PR extends MeshFederation Custom Resource with configuration for local Federation setup.

This configuration includes:

  • network name
  • trust domain
  • controlPlane's namespace
    • required to create certain mesh-wide resources
  • ingress configuration to be used for creating Federation Ingress Gateway
    • the default should be istio
    • support for openshift-router

It also defines export rules based on selectors (both label matching as
well as expressions)

Current assumptions

  • there should be only one instance of MeshFederation per namespace
  • metadata.name is used instead of originally proposed id to uniquely identify the local instance

Related Issues

API for #52 #143

Fixes #141

This PR extends `MeshFederation` Custom Resource with configuration for local Federation setup.

This configuration that includes:

- network name
- trust domain
- controlPlane's namespace
   - required to create certain mesh-wide resources
- ingress configuration to be used for creating Federation Ingress Gateway
   - the default should be `istio`
   - support for `openshift-router`

It also defines export rules based on selectors (both label matching as
well as expressions)

### Current assumptions

- there should be only one instance of `MeshFederation`  per namespace
- `metadata.name` is used instead of originally proposed `id` to uniquely identify the local instance

### Related Issues

API for openshift-service-mesh#52 openshift-service-mesh#143

Fixes openshift-service-mesh#141
@openshift-merge-bot openshift-merge-bot bot merged commit 45f2077 into openshift-service-mesh:master Jan 25, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API to configure local Federation
3 participants