Skip to content

Commit f7e615d

Browse files
committed
Remove ID from spec
1 parent 47c0e8c commit f7e615d

File tree

4 files changed

+2
-15
lines changed

4 files changed

+2
-15
lines changed

api/v1/atlasintegration_types.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ type AtlasThirdPartyIntegration struct {
5353
type AtlasThirdPartyIntegrationSpec struct {
5454
ProjectDualReference `json:",inline"`
5555

56-
// ID of the integration in Atlas. May be omitted to create a new one.
57-
// +kubebuilder:validation:Optional
58-
ID *string `json:"id"`
59-
6056
// Type of the integration
6157
// +kubebuilder:validation:Enum:=DATADOG;MICROSOFT_TEAMS;NEW_RELIC;OPS_GENIE;PAGER_DUTY;PROMETHEUS;SLACK;VICTOR_OPS;WEBHOOK
6258
// +kubebuilder:validation:Required

api/v1/status/integration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
type AtlasThirdPartyIntegrationStatus struct {
99
api.Common `json:",inline"`
1010

11-
// ID of the 3rd party integration resource in Atlas
11+
// ID of the third party integration resource in Atlas
1212
ID string `json:"id"`
1313
}
1414

api/v1/zz_generated.deepcopy.go

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/atlas.mongodb.com_atlasthirdpartyintegrations.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ spec:
8787
required:
8888
- id
8989
type: object
90-
id:
91-
description: ID of the integration in Atlas. May be omitted to create
92-
a new one.
93-
type: string
9490
microsoftTeams:
9591
properties:
9692
apiKeySecret:
@@ -287,7 +283,7 @@ spec:
287283
type: object
288284
type: array
289285
id:
290-
description: ID of the 3rd party integration resource in Atlas
286+
description: ID of the third party integration resource in Atlas
291287
type: string
292288
observedGeneration:
293289
description: |-

0 commit comments

Comments
 (0)