-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement controllers for AWS IRSA (#7739)
# Description Add convertor and controllers for the new IRSA credential type ## Type of change - This pull request adds or changes features of Radius and has an approved issue (issue link required). Partially Fixes: #7618 --------- Signed-off-by: nithyatsu <[email protected]> Signed-off-by: Nithya Subramanian <[email protected]>
- Loading branch information
Showing
22 changed files
with
250 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
pkg/ucp/api/v20231001preview/testdata/credentialresource-aws-irsa.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"id": "/planes/aws/aws/providers/System.AWS/credentials/default", | ||
"name": "default", | ||
"type": "System.AWS/credentials", | ||
"location": "west-us-2", | ||
"tags": { | ||
"env": "dev" | ||
}, | ||
"properties": { | ||
"roleARN": "arn:aws:iam::000000000000:role/role-name", | ||
"kind": "IRSA", | ||
"storage": { | ||
"kind": "Internal" | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
pkg/ucp/api/v20231001preview/testdata/credentialresourcedatamodel-aws-accesskey.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"id": "/planes/aws/aws/providers/System.AWS/credentials/default", | ||
"name": "default", | ||
"type": "System.AWS/credentials", | ||
"location": "west-us-2", | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-24T19:09:54.2403864Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-24T20:09:54.2403864Z" | ||
}, | ||
"tags": { | ||
"env": "dev" | ||
}, | ||
"properties": { | ||
"namespace": "radius-system", | ||
"kind": "AccessKey", | ||
"awsCredential": { | ||
"kind": "AccessKey", | ||
"accesskey": { | ||
"accessKeyId": "00000000-0000-0000-0000-000000000000", | ||
"secretAccessKey": "00000000-0000-0000-0000-000000000000" | ||
} | ||
}, | ||
"storage": { | ||
"kind": "Internal", | ||
"internalCredential": { | ||
"secretName": "aws-awscloud-default" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.