Skip to content

Commit

Permalink
Fixed missing interface for AtlasCustomRole CR (#1941)
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-karpukhin authored Nov 20, 2024
1 parent c5d1c77 commit 9d7ab67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/api/v1/atlascustomrole_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ type AtlasCustomRole struct {
Status status.AtlasCustomRoleStatus `json:"status,omitempty"`
}

func (in *AtlasCustomRole) Credentials() *api.LocalObjectReference {
return in.Spec.Credentials()
}

func (in *AtlasCustomRole) UpdateStatus(conditions []api.Condition, options ...api.Option) {
in.Status.Conditions = conditions
in.Status.ObservedGeneration = in.ObjectMeta.Generation
Expand Down

0 comments on commit 9d7ab67

Please sign in to comment.