Skip to content

yieldr/vulcand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0d1cdd9 · Feb 4, 2018

History

28 Commits
Jan 10, 2018
Jan 10, 2018
Oct 8, 2017
Jan 6, 2018
Jan 8, 2018
Oct 8, 2017
Jan 10, 2018
Jan 10, 2018
Feb 4, 2018
Jan 8, 2018
Oct 8, 2017
Jan 9, 2018
Jan 10, 2018

Repository files navigation

Vulcand

Yieldr's fork of Mailgun's vulcand built using vbundle to add custom middleware.

Usage

Kubernetes

Typically this project is deployed alongside vulcand-ingress or romulus as a Kubernetes Ingress Controller. See the referring projects for their specific usage examples.

Development

Build the binaries using make.

make build OS=linux

Then start docker compose

docker-compose up -d

When all services are up and running, you'll need to configure vulcan to route traffic to the upstream servers. A dummy upstream is included for convenience that simply displays the nginx default web page.

Frontends, backends and servers

The following configuration will create a new upstream backend (nginx), a server (nginx-srv) and a new frontend (nginx).

vctl backend upsert -id nginx
vctl server upsert -b nginx -id nginx-srv -url http://nginx:80
vctl frontend upsert -id nginx -b nginx -route 'PathRegexp("/.*")'

Middleware

This command will add oauth2 middleware to the nginx frontend.

vctl oauth2 upsert -f nginx -id nginx-oauth \
	-issuerUrl $ISSUER_URL \
	-clientId $CLIENT_ID \
	-clientSecret $CLIENT_SECRET \
	-redirectUrl http://localhost:8181/callback

About

Custom built of vulcand using vbundle

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published