Secrets sync only syncing items from "fields"
Opened this issue · 1 comments
Your environment
Operator Version: 1.8.1
Connect Server Version: 1.7.2
Kubernetes Version: 1.29.3
What happened?
Im setting up external DNS in my cluster with the pi-hole provider. I want to sync my pi-hole password from my vault so i added the following annotations to the helm chart:
"operator.1password.io/item-path" = "vaults/Servers/items/Pi-hole"
"operator.1password.io/item-name" = "pi-hole-secret"
That item in my vault has 3 keys. password
, old passwod
, and website
. When i looked at the secret i only got pw
, and old-password
as keys in the secret. When i got the item through the cli i noticed the website
get was seperated off into a URLs
section. I'm assuming thats why the whole item wasnt synced.
What did you expect to happen?
I'm expecting to have all the keys from the UI available to me in the UI in the secret.
Steps to reproduce
- Create a password item in 1password in standard login format with username, password and a website URL.
- Deploy a secret using either the annotations or a OnePasswordItem manifest (I tested both)
Notes & Logs
Just ran into something similar, seems the type of the item in 1password matters. If you use API credential
type it passes things through as-is, at least for the fields I've been playing with!