Giter Site home page Giter Site logo

Comments (5)

Apollorion avatar Apollorion commented on June 13, 2024 6

I was getting the exact same issue you were, and this was how I got it working (Im on mac, not sure if that matters or not):

  1. download 1password-credentials.json
  2. cat 1password-credentials.json | openssl base64 | tr -d '\n' | pbcopy
  3. kubectl edit secret op-credentials

paste the following, important to note: I had to change data to stringData. Dont forget to paste your clipboard (the result of pbcopy).

apiVersion: v1
stringData:
  1password-credentials.json: PASTE_HERE
kind: Secret
metadata:
  name: op-credentials
  namespace: onepassword
type: Opaque

as for the token, I just did the following (note: no base64 encoding required):
kubectl create secret generic onepassword-token --from-literal=token=YOUR_NONBASE64ENCODED_TOKEN

from connect-helm-charts.

farcaller avatar farcaller commented on June 13, 2024

It looks like the OP_SESSION should be either a base64 string of the json (that is base64 inside of secret's base64) or a path to the json file.

That, at least, got me to

{"log_message":"(I) established incoming bus peer connection","timestamp":"2022-09-20T10:35:25.519162154Z","level":3}

but I'm still waiting for the web frontend to acknowledge the connect server's existence.

from connect-helm-charts.

farcaller avatar farcaller commented on June 13, 2024

After sitting like that for 1 hour it still didn't progress. No new error messages in the logs (other than the health check).

from connect-helm-charts.

ag-adampike avatar ag-adampike commented on June 13, 2024

I'm still waiting for the web frontend to acknowledge the connect server's existence.

Hey @farcaller. Thanks for bringing this to our attention. If by web front end, you mean 1Password.com, then that is expected behaviour until a request is made to the Connect server.

The credentials file contains encrypted credentials that are unlocked with the same bearer token that is used to authenticate a request. Therefore you won't see an update in 1Password.com until a valid request is sent to your Connect server.

If you're able to send a request to say, list the vaults, you should be able to confirm that it's working as expected and the tile in 1Password.com should update accordingly. 🙂

from connect-helm-charts.

jillianwilson avatar jillianwilson commented on June 13, 2024

It looks like @Apollorion and @ag-adampike have provided solutions for you so I'll be closing this ticket. But feel free to reopen if you are still having issues.

from connect-helm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.