Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AKS: replace CloudError with ManagedClusterPodIdentityProvisioningError for AAD pod identity provisioning spec #15054

Merged
merged 1 commit into from
Jul 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3845,7 +3845,7 @@
"readOnly": true,
"properties": {
"error": {
"$ref": "#/definitions/CloudError",
"$ref": "#/definitions/ManagedClusterPodIdentityProvisioningError",
"description": "Pod identity assignment error (if any)."
}
}
Expand All @@ -3858,6 +3858,41 @@
],
"description": "Details about the pod identity assigned to the Managed Cluster."
},
"ManagedClusterPodIdentityProvisioningError": {
"type": "object",
"properties": {
"error": {
"$ref": "#/definitions/ManagedClusterPodIdentityProvisioningErrorBody",
"description": "Details about the error."
}
},
"description": "An error response from the pod identity provisioning."
},
"ManagedClusterPodIdentityProvisioningErrorBody": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"message": {
"type": "string",
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string",
"description": "The target of the particular error. For example, the name of the property in error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/ManagedClusterPodIdentityProvisioningErrorBody"
},
"description": "A list of additional details about the error."
}
},
"description": "An error response from the pod identity provisioning."
},
"ManagedClusterPodIdentityException": {
"properties": {
"name": {
Expand Down