Versions Compared

Key

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

...

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

    Code Block
    python3 -c 'import os,base64; print(base64.b64encode(os.urandom(32)).decode())' 
    Code Block
    apiVersion: v1
    data:
      client-secret: <base 64 encoded client secret>
      client-id: <base 64 encoded client id>
      cookie-secret: <base 64 encoded cookie secret>
    kind: Secret
    metadata:
      name: kfuse-auth-okta
    type: Opaque
  • Update custom-values.yaml file to include following to refer to the config map and secrets we created.

    Code Block
    kfuse-auth:
      oauth2-proxy:
        config:
          existingSecret: "kfuse-auth-okta"
          existingConfig: "kfuse-auth-okta-config"

...