This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
user.sql.gcp.jet.crossplane.io not created and external-name changed on the fly #71
Labels
bug
Something isn't working
What happened?
I created a
user.sql.gcp.jet.crossplane.io
through a composition + patch, which looked like:a few moments later, same command:
external name changed from
[email protected]
tojet-db-claim-4
When I look at the
User
resource:I don't know why the resource is to be destroyed, but the message makes me wonder how am I supposed to set the resource lifecycle ?
Also, the
deletionPolicy
for theUser
resource is really limited:So there's no way to set de policy / lifecycle to delete in here....
Note: Crossplane and provider are run with
--debug
, and no specific logs or errors are generated at first.Then, the provider is complaining about the resource lifecycle:
Expected behaviour
The
User
resource should be created using the right External Name ([email protected]
) and there shouldn't be anylifecycle
issue.How can we reproduce it?
XRD
Composition
See how the value is hardcoded... it shouldn't change...
Claim
What environment did it happen in?
Crossplane version: 1.9.0
Provider version: provider-jet-gcp-controller:v0.2.0-preview
Running on Google GKE
The text was updated successfully, but these errors were encountered: