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
2 months agoNew Contributor
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!
- Scott_1P
1Password Team
Hey txmoose!
Does setting the polling interval env var on the K8s operator (default is 600 seconds) improve things at all for you? - txmooseNew 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?