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

Add support for external references #273

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

barney-s
Copy link
Member

@barney-s barney-s commented Feb 5, 2025

  • Add ReadOnly flag to resource. True indicates an external resource we want to read (no create/update/delete)
  • Reuse template to describe the external resource (gvkn). Reason: we could templatize the name part of the external resource
  • Use as much of existing resource reconcile flow as possible. Reason: we can optionally support ReadyWhen and IncludeWhen rules for the external resource

Fixes #72

@barney-s barney-s force-pushed the getter branch 3 times, most recently from 788e0d3 to 24ccf19 Compare February 5, 2025 17:46
@barney-s barney-s changed the title [WIP] Add support for external references Add support for external references Feb 5, 2025
@barney-s barney-s requested review from a-hilaly and justinsb February 5, 2025 18:21
@barney-s barney-s requested a review from matthchr February 6, 2025 19:04
- Add ReadOnly flag to resource. True indicates an external resource we want to read (no create/update/delete)
- Reuse template  to describe the external resource (gvkn). Reason: we could templatize the name part of the external resource
- Use as much of existing resource reconcile flow as possible. Reason: we can optionally support ReadyWhen and IncludeWhen rules for the external resource
- Rename WantToCreateResource() to ReadyToProcessResource() to reflect the fact that resources will not be created in case readOnly is set to true
- mark readonly resource as skipped on deletion
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

Successfully merging this pull request may close these issues.

Mega Feature: Add support for external references
1 participant