Skip to content

Commit 27b3c92

Browse files
authored
remove selected iam role field from resource status (#211)
Description of changes: This field was left over from previous PR. SelectedIAMRole is no longer needed
1 parent 46340f7 commit 27b3c92

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

apis/core/v1alpha1/resource_metadata.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,5 @@ type ResourceMetadata struct {
3232
OwnerAccountID *AWSAccountID `json:"ownerAccountID"`
3333
// Region is the AWS region in which the resource exists or will exist.
3434
Region *AWSRegion `json:"region"`
35-
// IAMRoleSelector is the selected IAMRoleSelector that is used to manage
36-
// the AWS resource. This will be nil if the default controller role is used.
37-
IAMRoleSelector *SelectedIAMRole `json:"iamRoleSelector,omitempty"`
3835
}
3936

40-
type SelectedIAMRole struct {
41-
// SelectorName is the k8s resource name of the IAMRoleSelector object
42-
SelectorName string `json:"selectorName"`
43-
// ResourceVersion is the metadata.resourceVersion of the selected
44-
// IAMRoleSelector object
45-
ResourceVersion string `json:"resourceVersion"`
46-
}

apis/core/v1alpha1/zz_generated.deepcopy.go

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

0 commit comments

Comments
 (0)