Skip to content

Commit

Permalink
fix CRD
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Luz Almeida <[email protected]>
  • Loading branch information
leoluz committed Aug 6, 2024
1 parent 5180035 commit 5f06593
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/accessrequest_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type AccessRequestSpec struct {
TargetRoleName string `json:"targetRoleName"`
// Application defines the Argo CD Application to assign the elevated
// permission
Application TargetApplication `json:"appProject"`
Application TargetApplication `json:"application"`
// Subjects defines the list of subjects for this access request
Subjects []Subject `json:"subjects"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
spec:
description: AccessRequestSpec defines the desired state of AccessRequest
properties:
appProject:
application:
description: |-
Application defines the Argo CD Application to assign the elevated
permission
Expand Down Expand Up @@ -84,7 +84,7 @@ spec:
to once the access is approved
type: string
required:
- appProject
- application
- duration
- subjects
- targetRoleName
Expand Down

0 comments on commit 5f06593

Please sign in to comment.