๐Ÿ“ฆ sorend / route-patch-controller

A controller to patch openshift routes for which configuration is wrong

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching โš–๏ธ MIT License
๐Ÿ“ฅ Clone https://github.com/sorend/route-patch-controller.git
HTTPS git clone https://github.com/sorend/route-patch-controller.git
SSH git clone git@github.com:sorend/route-patch-controller.git
CLI gh repo clone sorend/route-patch-controller
Soren A D Soren A D disable devservice c5d70c3 2 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ deploy
๐Ÿ“ gradle
๐Ÿ“ src
๐Ÿ“„ .dockerignore
๐Ÿ“„ .gitignore
๐Ÿ“„ build.gradle
๐Ÿ“„ gradle.properties
๐Ÿ“„ gradlew
๐Ÿ“„ gradlew.bat
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ settings.gradle
๐Ÿ“„ README.md

openshift-route-patch-controller -- a controller for patching Openshift Routes if there are multiple ingress controllers.

There is a bug in Openshift, so when you run multiple Ingress controllers (more external endpoints), then routes will be created on the default ingress controller instead of the ingress controller designated to the namespace.

This controller patches routes .spec.host which are created for the wrong ingress controller.

Installation

See deploy

If you want the controller to watch only specific namespaces, then you can set the environment: SERVICE_NAMESPACE_LABEL_SELECTOR=business-project=bankdata.