-
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.
# Description Add model changes for supporting AWS IRSA credential ## Type of change - This pull request adds or changes features of Radius and has an approved issue (issue link required). #7618 # Partially Fixes: #7618 --------- Signed-off-by: nithyatsu <nithyasu@microsoft.com>
- Loading branch information
Showing
27 changed files
with
686 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
pkg/ucp/api/v20231001preview/zz_generated_polymorphic_helpers.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...preview/AWSCredential_CreateOrUpdate.json → ...SCredential_AccessKey_CreateOrUpdate.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
14 changes: 14 additions & 0 deletions
14
...ource-manager/UCP/preview/2023-10-01-preview/examples/AWSCredential_AccessKey_Delete.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,14 @@ | ||
{ | ||
"operationId": "AwsCredentials_Delete", | ||
"title": "Delete an AWS AccessKey credential", | ||
"parameters": { | ||
"api-version": "2023-10-01-preview", | ||
"planeType": "aws", | ||
"planeName": "awscloud", | ||
"credentialName": "default" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...2023-10-01-preview/AWSCredential_Get.json → ...examples/AWSCredential_AccessKey_Get.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
2 changes: 1 addition & 1 deletion
2
...023-10-01-preview/AWSCredential_List.json → ...xamples/AWSCredential_AccessKey_List.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
2 changes: 1 addition & 1 deletion
2
...3-10-01-preview/AWSCredential_Update.json → ...mples/AWSCredential_AccessKey_Update.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
54 changes: 54 additions & 0 deletions
54
...ce-manager/UCP/preview/2023-10-01-preview/examples/AWSCredential_IRSA_CreateOrUpdate.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,54 @@ | ||
{ | ||
"operationId": "AwsCredentials_CreateOrUpdate", | ||
"title": "Create or update an AWS IRSA credential", | ||
"parameters": { | ||
"api-version": "2023-10-01-preview", | ||
"planeType": "aws", | ||
"planeName": "aws", | ||
"credentialName": "default", | ||
"Credential": { | ||
"location": "us-west-2", | ||
"properties": { | ||
"kind": "IRSA", | ||
"roleARN": "enterRoleARN", | ||
"storage": { | ||
"kind": "Internal" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default", | ||
"name": "default", | ||
"type": "System.AWS/credentials", | ||
"location": "us-west-2", | ||
"properties": { | ||
"kind": "IRSA", | ||
"roleARN": "enterRoleARN", | ||
"storage": { | ||
"kind": "Internal", | ||
"secretName": "aws-awscloud-default" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default", | ||
"name": "default", | ||
"type": "System.AWS/credentials", | ||
"location": "us-west-2", | ||
"properties": { | ||
"kind": "IRSA", | ||
"roleARN": "enterRoleARN", | ||
"storage": { | ||
"kind": "Internal", | ||
"secretName": "aws-awscloud-default" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...3-10-01-preview/AWSCredential_Delete.json → ...w/examples/AWSCredential_IRSA_Delete.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
28 changes: 28 additions & 0 deletions
28
.../ucp/resource-manager/UCP/preview/2023-10-01-preview/examples/AWSCredential_IRSA_Get.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,28 @@ | ||
{ | ||
"operationId": "AwsCredentials_Get", | ||
"title": "Get an AWS IRSA credential", | ||
"parameters": { | ||
"api-version": "2023-10-01-preview", | ||
"planeType": "aws", | ||
"planeName": "awscloud", | ||
"credentialName": "default" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default", | ||
"name": "default", | ||
"type": "System.AWS/credentials", | ||
"location": "us-west-2", | ||
"properties": { | ||
"kind": "IRSA", | ||
"roleArn": "enterRoleARN", | ||
"storage": { | ||
"kind": "Internal", | ||
"secretName": "aws-awscloud-default" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...ucp/resource-manager/UCP/preview/2023-10-01-preview/examples/AWSCredential_IRSA_List.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,31 @@ | ||
{ | ||
"operationId": "AwsCredentials_List", | ||
"title": "List AWS IRSA credentials", | ||
"parameters": { | ||
"api-version": "2023-10-01-preview", | ||
"planeType": "aws", | ||
"planeName": "awscloud" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default", | ||
"name": "default", | ||
"type": "System.AWS/credentials", | ||
"location": "us-west-2", | ||
"properties": { | ||
"kind": "IRSA", | ||
"roleArn": "enterRoleARN", | ||
"storage": { | ||
"kind": "Internal", | ||
"secretName": "aws-awscloud-default" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...p/resource-manager/UCP/preview/2023-10-01-preview/examples/AWSCredential_IRSA_Update.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,54 @@ | ||
{ | ||
"operationId": "AwsCredentials_Update", | ||
"title": "Update an AWS IRSA credential", | ||
"parameters": { | ||
"api-version": "2023-10-01-preview", | ||
"planeType": "aws", | ||
"planeName": "aws", | ||
"credentialName": "default", | ||
"Credential": { | ||
"location": "us-west-2", | ||
"properties": { | ||
"kind": "IRSA", | ||
"roleArn": "enterRoleARN", | ||
"storage": { | ||
"kind": "Internal" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default", | ||
"name": "default", | ||
"type": "System.AWS/credentials", | ||
"location": "us-west-2", | ||
"properties": { | ||
"kind": "IRSA", | ||
"roleArn": "enterRoleARN", | ||
"storage": { | ||
"kind": "Internal", | ||
"secretName": "aws-awscloud-default" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default", | ||
"name": "default", | ||
"type": "System.AWS/credentials", | ||
"location": "us-west-2", | ||
"properties": { | ||
"kind": "AccessKey", | ||
"roleArn": "enterRoleARN", | ||
"storage": { | ||
"kind": "Internal", | ||
"secretName": "aws-awscloud-default" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.