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

Support SaaS based approval flow for clientIntents #569

Draft
wants to merge 40 commits into
base: main
Choose a base branch
from

Conversation

omris94
Copy link
Contributor

@omris94 omris94 commented Feb 26, 2025

Description

PLACEHOLDER

References

Include any links supporting this change such as a:

  • GitHub Issue/PR number addressed or fixed
  • StackOverflow post
  • Related pull requests/issues from other repos

If there are no references, simply delete this section.

Testing

Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.

Also include details of the environment this PR was developed in (language/platform/browser version).

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR and in github.com/otterize/docs

evyatarmeged and others added 30 commits January 26, 2025 11:37
…raphQL mutations and queries for applied intents requests
}

// ApprovedIntentsReconciler reconciles a Intents object
type ApprovedIntentsReconciler struct {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is essentially what was referred to as the Intents Reconciler

@@ -115,21 +86,39 @@ func NewIntentsReconciler(
//+kubebuilder:rbac:groups="apiextensions.k8s.io",resources=customresourcedefinitions,verbs=get;list;watch;update;create;patch
// +kubebuilder:rbac:groups=iam.cnrm.cloud.google.com,resources=iampartialpolicies,verbs=get;list;watch;create;update;patch;delete

// Reconcile is part of the main kubernetes reconciliation loop which aims to
// move the current state of the cluster closer to the desired state.
// Reconcile - main reconciliation loop
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explanation about how the "clientIntents to ApprovedClientIntents" lifecycle works

@omris94 omris94 requested a review from amitlicht February 26, 2025 15:30
@omris94 omris94 changed the title Support SaaS based approval flow of clientIntents Support SaaS based approval flow for clientIntents Feb 26, 2025
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.

3 participants