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

ExecutionConfig did not properly set defaultProvider when using executionIdRef #121

Open
fujin opened this issue Jun 27, 2024 · 6 comments

Comments

@fujin
Copy link

fujin commented Jun 27, 2024

I had to delete my Executions and ExecutionConfigs for the Execution to recreate, to propagate into the ExecutionConfig.

@Breee
Copy link
Collaborator

Breee commented Jun 27, 2024

hi, can you give an example?

Resolving only once is in fact by design of crossplane and the default behaviour to reduce overhead.

If you want to update references continously, you need a:

[...]
executionIdRef: 
  name: the-execution
  policy:
    resolve: Always
[...]

Can you try if that helps you please?

@fujin
Copy link
Author

fujin commented Jun 27, 2024

thanks! I'll try to reproduce, and try that, probably what we were missing.

@fujin
Copy link
Author

fujin commented Jun 27, 2024

Does the same behavior (resolving only once) apply to e.g. those using Selectors vs IdRefs?

@Breee
Copy link
Collaborator

Breee commented Jun 28, 2024

Can you Provide a minimal example for me?

@blakebarnett
Copy link

More background in this PR and the linked issues: crossplane/crossplane-runtime#328

It's a bit unintuitive that a Selector doesn't set policy.resolve to Always automatically, but seems it's necessary.

@Breee
Copy link
Collaborator

Breee commented Jul 10, 2024

Do you still need help @fujin ?

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

No branches or pull requests

3 participants