Add auth-signin annotation

This commit is contained in:
Cole Mickens 2017-02-02 02:22:44 -08:00 committed by Manuel de Brito Fontes
parent 4c0a616f5c
commit 09e6aabce4
8 changed files with 158 additions and 24 deletions

View file

@ -0,0 +1,43 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: oauth2-proxy
labels:
k8s-app: oauth2proxy
spec:
replicas: 1
template:
metadata:
labels:
k8s-app: oauth2proxy
spec:
volumes:
- name: oauth2proxy-secret
secret:
secretName: oauth2proxy
containers:
- name: oauth2proxy
image: docker.io/colemickens/oauth2_proxy:latest
imagePullPolicy: Always
ports:
- containerPort: 4180
args:
- --provider=github
- --email-domain=*
---
apiVersion: v1
kind: Service
metadata:
labels:
k8s-app: oauth2proxy
name: oauth2proxy
spec:
ports:
- name: http
port: 4180
protocol: TCP
targetPort: 4180
selector:
k8s-app: oauth2proxy