apiVersion: admin.gloo.solo.io/v2
kind: Dashboard
metadata:
  name: settings
  namespace: gloo-mesh
spec:
  authz:
    multiClusterRbac: {}
  authn:
    oidc:
      caCertConfigmapName: oidc-root-ca
      userMapping:
        usernameClaim: "email"
        usernamePrefix: "oidc:"
      appUrl: http://localhost:8090/
      clientId: dashboard
      clientSecretName: dashboard
      issuerUrl: https://oidc:5557/dex
      scopes:
      - openid
      - profile
      - email
---
apiVersion: v1
kind: Secret
metadata:
  name: dashboard
  namespace: gloo-mesh
stringData:
  oidc-client-secret: ZXhhbXBsZS1hcHAtc2VjcmV0
