Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Basic kubernetes controller used to merge virtualservice manifests as a workaround to an ongoing istio issue

Notifications You must be signed in to change notification settings

f4tal-err0r/mesh-route-controller

Repository files navigation

tests

mesh-route-generator

What is this?

This is a basic kubernetes controller that is built to handle a long running issue in current versions of istio (<= 1.14) that disallows more than one Kubernetes virtualservice from managing internal mesh gateway routes (istio/istio#22997). This issue will be resolved by HTTPRoute CRDs coming in the near future.

How does it work?

The controllers main logic actions on three specific events. Creation, Updates and Deletions of any virtualservice manifest in the cluster with the label bc-network: edge. This denotes paths that will be servicing inbound traffic. The routes are then merged and managed within the infra/mesh-routing virtualservice.

Compatibility

  • istio.io/v1beta1 api

  • Go 1.18+

Test/Build

You can run a skaffold build or skaffold dev for debugging in lower environments.

go test -v will run the test suite.

About

Basic kubernetes controller used to merge virtualservice manifests as a workaround to an ongoing istio issue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published