Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Reconciliation errors if a referenced secret is deleted. #216

Closed
stevendborrelli opened this issue Jan 31, 2022 · 0 comments · Fixed by #237
Closed

Reconciliation errors if a referenced secret is deleted. #216

stevendborrelli opened this issue Jan 31, 2022 · 0 comments · Fixed by #237
Assignees
Labels
bug Something isn't working

Comments

@stevendborrelli
Copy link

What happened?

If a secret is deleted before a terrajet resource is deleted, the following warning will be displayed and the resource will get stuck:

Warning CannotConnectToProvider 23s (x334 over 6m11s) managed/postgresql.azure.jet.crossplane.io/v1alpha1, kind=server cannot get a terraform workspace for resource: cannot create a new file producer: cannot get sensitive parameters: cannot get secret value for &{{myazurepgserver-admin-password all-in-one-selfservice} password}: cannot get secret data: Secret "myazurepgserver-admin-password" not found

How can we reproduce it?

  • Create resource with a secret
  • Delete referenced secret before deleting the resource
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants