Skip to content

symdon-info/symdon-oauth2-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symdon OAuth2 Proxy

            +------Docker Compose-----+
	    |                         |
Browser --- | --- Nginx --- Mailhog   |
            |      |                  |
            |      | <Authentication> |
            |      |                  |
            |   oauth2_proxy          |
	    |      |                  |
	    +-------------------------+
                   |
                 Google


            +------Kubernetes--------------------------+
	    |                                          |
Browser --- | --- Nginx (Ingress) --- symdon-mailhog   |
            |      |                  (Service)        |
            |      | <Authentication> 	 |             |
            |      |                  Mailhog          |
            |   symdon-oauth2_proxy   (Pod)            |
	    |      |  (Service)                        |
            |   oauth2_proxy          	               |
	    |      |  (Pod)                            |
	    +------------------------------------------+
                   |
                 Google

Setup

$ cd secrets && for fname in `ls *.example`; do if [ ! -e $fname ]; then cp $fname `basename $fname .example`; fi done

Docker Compose

$ docker-compose up

Create ingress

$ helm upgrade ing --install stable/nginx-ingress
$ kubectl apply -f ingress/main.yml

Create secrets

$ kubectl apply -f secrets/k8s.yml

Kubernetes-Helm

Setup helm

$ helm init --history-max 200
$ helm repo update

Deploy mailhog

$ helm upgrade symdon-mailhog --install stable/mailhog

Deploy oauth2-proxy

$ helm upgrade symdon --install -f helm/oauth2-proxy.config.yml -f secrets/helm.yml stable/oauth2-proxy

Kubernetes Plain mainfest

$ kubectl apply -f k8s/main.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published