-
Notifications
You must be signed in to change notification settings - Fork 81
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
base: main
Are you sure you want to change the base?
Conversation
5006f11
to
208e040
Compare
api/v1/atlasipaccesslist_types.go
Outdated
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"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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
api/v1/atlasipaccesslist_types.go
Outdated
Items []AtlasIPAccessList `json:"items"` | ||
} | ||
|
||
func (ial *AtlasIPAccessList) AtlasProjectObjectKey() client.ObjectKey { |
There was a problem hiding this comment.
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.
208e040
to
9f70d8f
Compare
There was a problem hiding this 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
9f70d8f
to
a86a433
Compare
There was a problem hiding this 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.
4d87caa
to
998be22
Compare
998be22
to
02c1596
Compare
All Submissions:
closes #XXXX
in your comment to auto-close the issue that your PR fixes (if there is one).