Open Breee opened 3 months ago
I was wondering, what would be the behavior if in external_name.go the config is changed to config.NameAsIdentifier https://github.com/crossplane-contrib/provider-keycloak/blob/9be1e151a09440e0bbdd02c6c4f1e1294a41c11a/config/external_name.go#L26
Would it try to reconcile based on the name instead of the UUID? I was trying it myself, but did not figure out how to run a custom built version on my kind cluster
afaik config.NameAsIdentifier
would remove all "name" fields from the forProvider
and use the K8s object name as identifier.
that's not what we search i think -> we'll find a smooth way to get rid of the uuids in the future. To this date this does not exist.
Currently we have to import resources using keycloaks UUIDs, i.e.
It would be better to have something like:
to make it more resilient for disaster recovery