Skip to content

Commit

Permalink
added reverse proxy and ingress to siteadmin-sp
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo diaz committed Jul 20, 2017
1 parent d1b3df2 commit 891a7fd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions container_files/etc/docker_config/docker_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ fi


sed -e "s/\${entityID}/$entityID/" -e "s/\${discoveryURL}/$discoveryURL/" /etc/docker_config/shibboleth2.xml > /etc/shibboleth/shibboleth2.xml
ln -s /etc/docker_config/proxy.conf /etc/httpd/conf.d/proxy.conf
/opt/bin/httpd-shib-foreground
2 changes: 2 additions & 0 deletions container_files/etc/docker_config/proxy.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ProxyPass / http://siteadmin-svc:3000/
ProxyPassReverse / http://siteadmin-svc:3000/
14 changes: 14 additions & 0 deletions siteadmin-ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: "siteadmin-ingress"
annotations:
zalando.org/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-1:823003027569:certificate/c846f0e4-1c48-4315-9b41-cf29cd487700
spec:
rules:
- host: "siteadmin.inc.testbed.tier.internet2.edu"
http:
paths:
- backend:
serviceName: "siteadmin-sp-svc"
servicePort: 80

0 comments on commit 891a7fd

Please sign in to comment.