Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to the Credentials page.

  2. Click Create credentials > OAuth client ID.

  3. Select the Web application application type.

  4. Enter Name (e.g. Kloudfuse)

  5. Enter URL of the kloudfuse installation in the Authorized JavaScript Origins. Example: kloudfuse.yourcompany.com

  6. Enter URL with /oauth2/callback of the kloudfuse in the Authorized redirect URIs. Example: kloudfuse.yourcompany.com/oauth2/callback

  7. Click Create

  8. Copy the Client ID and Client Secret from the ‘OAuth Client’ modal. It is required for further steps.

...

  • Create 2 kubernetes secrets in kfuse namespace.

    • Create secret called kfuse-auth-users as mentioned here.

    • Create secret called kfuse-auth-google. Use these steps to base64 encoded values of client-id and client-secret from above. To generate cookie secret, use these steps.

Code Block
apiVersion: v1
data:
  client-id: <base 64 encoded google client id>
  client-secret: <base 64 encoded google client secret>
  cookie-secret: <base 64 encoded random value>
kind: Secret
metadata:
   name: kfuse-auth-google
type: Opaque
  • and refer it from your custom values.yaml by adding the following

...