Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep reconciling after initial Secret creation #177

Open
michaelniemand opened this issue Oct 25, 2023 · 2 comments
Open

Keep reconciling after initial Secret creation #177

michaelniemand opened this issue Oct 25, 2023 · 2 comments

Comments

@michaelniemand
Copy link

Summary

After a secret has been initially created, the operator should keep reconciling to re-create a Secret if it has been deleted or changed

Use cases

The secret is always there and the app is kept in a workable state; even if someone deletes or manually changes the secret

Proposed solution

I am no programmer but there needs to be a loop that constantly reconciles onepassword items (desired state) and k8s secret objects (actual state)

Is there a workaround to accomplish this today?

delete and re-create the onepassword item

References & Prior Work

external-secrets does this

@michaelniemand
Copy link
Author

ok it seems the secret did get recreated 10 hours after deleting it
OP Item: lastTransitionTime: "2023-10-25T16:16:57Z"
Secret: creationTimestamp: "2023-10-26T06:14:34Z"

So the reconciliation period appears to be 10 hours? It would be great if that was configurable!

@fdaligand
Copy link

Have you checked the operator.pollingInterval parameter? The documentation is available here.

I encountered the same issue, but by reducing the polling interval, I noticed that my password changes take effect more quickly. I've opened an issue to propose adding information about this parameter to the documentation (#179 ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants