Skip to content

Instantly share code, notes, and snippets.

@guillaumedossantos
Created May 27, 2020 15:20
Show Gist options
  • Save guillaumedossantos/d15e6fb25173b9a0fb0787e76d9a093b to your computer and use it in GitHub Desktop.
Save guillaumedossantos/d15e6fb25173b9a0fb0787e76d9a093b to your computer and use it in GitHub Desktop.
SSO for K8S Dashboard with Azure AD - 4
# ------------------- Oauth2_Proxy Service ------------------- #
apiVersion: v1
kind: Service
metadata:
labels:
k8s-app: oauth2-proxy
name: oauth2-proxy
namespace: kube-system
spec:
ports:
- name: http
port: 8080
protocol: TCP
targetPort: 8080
selector:
k8s-app: oauth2-proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment