Created
May 27, 2020 15:29
-
-
Save guillaumedossantos/7964582c870abfdc253c28e581408ec5 to your computer and use it in GitHub Desktop.
SSO for K8S Dashboard with Azure AD - 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------- Oauth2_Proxy Ingress ------------------- # | |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: oauth2-proxy | |
namespace: kube-system | |
annotations: | |
ingress.kubernetes.io/force-ssl-redirect: "true" | |
spec: | |
tls: | |
- secretName: tls-forepaas.net | |
hosts: | |
- {{ kubedash_FQDN }} | |
rules: | |
- host: {{ kubedash_FQDN }} | |
http: | |
paths: | |
- backend: | |
serviceName: oauth2-proxy | |
servicePort: 8080 | |
path: /oauth2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment