-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from akkeris/COBRA-5020
COBRA-5020: Add "ignorelist" for ignoring specific labeled services
- Loading branch information
Showing
4 changed files
with
146 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# service-watcher-istio | ||
|
||
Watches for new Kubernetes services for Akkeris apps, and creates Istio VirtualService entries to expose them outside the cluster. | ||
|
||
## Environment Variables Descriptions | ||
|
||
- `NAMESPACE_BLACKLIST`: Do not create virtualservices for services in any namespace in this list. Should be a comma-separated string. | ||
- `IGNORE_LABELS`: Do not create virtualservices for any service with a label on this list. Should be a comma-separated string. | ||
|
||
## Example/Suggested Environment Variables | ||
|
||
This should give you a good starting point. If you find that undesired virtualservices are still being made, you can expand these lists with other namespaces or labels. | ||
|
||
**NAMESPACE_BLACKLIST** | ||
|
||
`flux,cattle-system,cattle-prometheus,kube-system,kube-public,testcafe,akkeris-system,istio-system,nginx-ingress-i,prometheus,sites-system,velero` | ||
|
||
**IGNORE_LABELS** | ||
|
||
`akkeris.io/container-ports` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters