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

CLOUDP-268809: IP Access List CRD #2027

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

Conversation

helderjs
Copy link
Collaborator

@helderjs helderjs commented Jan 8, 2025

All Submissions:

  • Have you signed our CLA?
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if there is one).
  • Update docs/release-notes/release-notes-template.md if your changes should be included in the release notes for the next release.

@helderjs helderjs force-pushed the CLOUDP-268809-ip-access-list-crd branch from 5006f11 to 208e040 Compare January 8, 2025 20:23
Makefile Outdated Show resolved Hide resolved
Comment on lines 34 to 42
type AtlasIPAccessListSpec struct {
// Project is a reference to AtlasProject resource the user belongs to
// +kubebuilder:validation:Optional
Project *common.ResourceRefNamespaced `json:"projectRef,omitempty"`
// ExternalProject holds the Atlas project ID the user belongs to
// +kubebuilder:validation:Optional
ExternalProject *ExternalProjectReference `json:"externalProjectRef,omitempty"`
// Local credentials
api.LocalCredentialHolder `json:",inline"`
Copy link
Collaborator

@josvazg josvazg Jan 9, 2025

Choose a reason for hiding this comment

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

Please wait for and rebase after #1971 so this can use the dual reference struct and the reconciler common code.

Alternatively, you can already rebase and diff on top of that one, as done with #2025

Copy link
Collaborator

Choose a reason for hiding this comment

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

Holding this PR for this rebase

Items []AtlasIPAccessList `json:"items"`
}

func (ial *AtlasIPAccessList) AtlasProjectObjectKey() client.ObjectKey {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This code can be a common method for all users of dual project references.

@helderjs helderjs force-pushed the CLOUDP-268809-ip-access-list-crd branch from 208e040 to 9f70d8f Compare January 9, 2025 15:42
Copy link
Collaborator

@josvazg josvazg left a comment

Choose a reason for hiding this comment

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

Holding PR for the dual ref usage

@helderjs helderjs force-pushed the CLOUDP-268809-ip-access-list-crd branch from 9f70d8f to a86a433 Compare January 13, 2025 13:04
@helderjs helderjs requested a review from josvazg January 13, 2025 15:17
Copy link
Collaborator

@josvazg josvazg left a comment

Choose a reason for hiding this comment

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

I believe changes some other are still needed.

@helderjs helderjs force-pushed the CLOUDP-268809-ip-access-list-crd branch 2 times, most recently from 4d87caa to 998be22 Compare January 15, 2025 14:45
@helderjs helderjs requested a review from josvazg January 15, 2025 14:52
@helderjs helderjs force-pushed the CLOUDP-268809-ip-access-list-crd branch from 998be22 to 02c1596 Compare January 17, 2025 15:43
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