Signing back into the Community for the first time? You'll need to reset your password to access your account.  Find out more.

Forum Discussion

txmoose's avatar
txmoose
New Contributor
2 months ago

Trouble getting document items in Kubernetes with 1P Connect Operator

Hey everyone, I'm trying to get a document out of 1P and into a k8s secret with the Connect Operator, version 1.8.1. I can get Login items but not Document items, even though there seems to be a discussion about this exact topic stating that Documents are supported as of version 1.3.0. Does anyone else have experience with this?

---
apiVersion: onepassword.com/v1
kind: OnePasswordItem
metadata:
  name: config-file-dot-yaml
  namespace: default
spec:
  itemPath: "vaults/dev/items/config-file.yaml"

This is the OnePasswordItem I have. The Document config-file.yaml is in the vault dev, and kubectl describe secret config-file-dot-yaml returns an event of "No items found with identifier 'config-file.yaml' "

 

Is there any examples out there of getting the document? Thanks!

    • txmoose's avatar
      txmoose
      New Contributor

      Hey, I guess I fully glossed over that lever to pull in the values file. Thanks for pointing it out. I think that helps!

      • Scott_1P's avatar
        Scott_1P
        Icon for 1Password Team rank1Password Team

        Awesome! Glad that might ease some of the friction. Report back how things go if you're so inclined! :) 

  • txmoose's avatar
    txmoose
    New Contributor

    So I put things down and came back to it today. It was working when I came back to it. I think my fight is that there seems to be some considerable lag syncing or indexing or something. Is there any documentation about reasonably how long I should expect a sync/index to take between creating a new entry in my dev vault and when 1P-Connect Server/Operator can see the item?