-
Notifications
You must be signed in to change notification settings - Fork 87
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-305560: Add Atlas Integration CRD #2184
base: main
Are you sure you want to change the base?
Conversation
a6b98f6
to
4bbdbcb
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.
Why there are rbac files if controller and rbac config are not set?
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.
These are autogenerated by kubebuilder
when you are ONLY auto generating the CRD.
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.
Indeed, but seems strange kubebuilder already generated rbac with all verbs when there are no annotations (in the controller) present
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.
I'd stick to the AtlasThirdPartyIntegration
name. Also, see comments from @helderjs
PROJECT
Outdated
namespaced: true | ||
domain: mongodb.com | ||
group: atlas | ||
kind: AtlasIntegration |
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.
kind: AtlasIntegration | |
kind: AtlasThirdPartyIntegration |
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.
Fixed now, PTAL
4bbdbcb
to
52fa6f0
Compare
5a26da1
to
5ff5b72
Compare
Signed-off-by: jose.vazquez <jose.vazquez@mongodb.com>
Signed-off-by: jose.vazquez <jose.vazquez@mongodb.com>
Signed-off-by: jose.vazquez <jose.vazquez@mongodb.com>
0f9f77c
to
befb2fd
Compare
type MicrosoftTeamsIntegration struct { | ||
// URLSecret is the name of a secret containing the microsoft teams secret URL | ||
// +kubebuilder:validation:Required | ||
URLSecret string `json:"urlSecret"` |
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.
blocking use LocalObjectReference
for handling local secret references
// CredentialsSecret is the name of a secret containing new relic's credentials: | ||
// account id, license key, read and write tokens | ||
// +kubebuilder:validation:Required | ||
CredentialsSecret string `json:"credentialsSecret"` |
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.
blocking same as above and elsewhere, use LocalObjectReference
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.
one comment regarding local secret references
Preview for the upcoming Atlas Integration CRD.
All Submissions: