Created
May 7, 2020 16:43
-
-
Save sebastien-prudhomme/c90af146c465305087d5f5a55990ca71 to your computer and use it in GitHub Desktop.
Application access control with OAuth2 Proxy deployed by Argo CD on Kubernetes
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
apiVersion: argoproj.io/v1alpha1 | |
kind: Application | |
metadata: | |
name: mongo-express-oauth2-proxy | |
namespace: argo-cd | |
finalizers: | |
- resources-finalizer.argocd.argoproj.io | |
spec: | |
project: default | |
source: | |
repoURL: https://kubernetes-charts.storage.googleapis.com/ | |
chart: oauth2-proxy | |
targetRevision: 2.4.1 | |
helm: | |
values: | | |
config: | |
clientID: ********.apps.googleusercontent.com | |
clientSecret: ******** | |
cookieSecret: ******** | |
configFile: | | |
pass_basic_auth = false | |
provider = "google" | |
silence_ping_logging = true | |
skip_provider_button = true | |
upstreams = [ "http://mongo-express:8081" ] | |
authenticatedEmailsFile: | |
enabled: true | |
restricted_access: | | |
********@gmail.com | |
ingress: | |
enabled: true | |
annotations: | |
cert-manager.io/cluster-issuer: letsencrypt | |
hosts: | |
- mongo.example.com | |
tls: | |
- secretName: mongo-tls | |
hosts: | |
- mongo.example.com | |
destination: | |
server: https://kubernetes.default.svc | |
namespace: mongo-express |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment