Skip to content

Secrets not updated - operator runs into rate limit issues (receiving generic error message) #255

@dorthrithil

Description

@dorthrithil

Your environment

Operator Version: 1.10.1
Connect Server Version: Using service account
Kubernetes Version: 1.24.0

What happened?

I created 6 OnePasswordItems recently:

apiVersion: onepassword.com/v1
kind: OnePasswordItem
metadata:
  name: xxxxx
  namespace: xxxxx
spec:
  itemPath: "vaults/xxxxx/items/xxxxxx"

Now, I changed a value in 1Pwd and expected to see it reflected in the k8s Secret after some time. But that didn't happen. Instead I see rate limit errors in the pod logs of the operator. I wonder how I can hit the limits so frequently with just 6 items? I have a normal 1Pwd account type, it should have 1000 read and 100 write operations / h.

UPDATE: As pointed out in comment below vault/item lookup should be consistent. The vault lookup should mimic how we handle item lookup for consistency and to reduce unnecessary requests.

We should also look into the generic reconciliation error that may be appearing if the error is actually actually masking rate limit exceeded error messages.

What did you expect to happen?

Not hitting rate limits, see my Secret updated.

Notes & Logs

2026-02-16T21:16:27Z	ERROR	update_op_kubernetes_secrets_task	failed to retrieve 1Password item at path vaults/xxxxx/items/xxxxx for secret xxxxxx	{"error": "failed to 'getVaultID' for vaultNameOrID='xxxxx': failed to get vault by title \"xxxxx\": failed to GetVaultsByTitle using 1Password SDK: performing a vault operation: rate limit exceeded"}
github.com/1Password/onepassword-operator/pkg/onepassword.(*SecretUpdateHandler).updateKubernetesSecrets
	/workspace/pkg/onepassword/secret_update_handler.go:178
github.com/1Password/onepassword-operator/pkg/onepassword.(*SecretUpdateHandler).UpdateKubernetesSecretsTask
	/workspace/pkg/onepassword/secret_update_handler.go:47
main.main.func6
	/workspace/cmd/main.go:349
[same log for 5 other OnePasswordItems - repeats every 10 minutes]

2026-02-16T21:23:47Z	INFO	controller_onepassworditem	1Password rate limit hit. Requeuing after 15 minutes.	{"Request.Namespace": "xxxxxx", "Request.Name": "xxxxxxx"}
[same log for 5 other OnePasswordItems, repeats every 15 minutes]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as expected. Has never worked before. When it has, use "regression" instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions