Skip to content

Commit

Permalink
Merge pull request Azure#4 from nikkomiu/feature/extension-types
Browse files Browse the repository at this point in the history
Extension Types
  • Loading branch information
jagpreetstamber authored Apr 15, 2023
2 parents 5da27b3 + e5de323 commit 063b42e
Show file tree
Hide file tree
Showing 9 changed files with 1,364 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"clusterName": "my-cluster",
"extensionTypeName": "my-extension-type",
"releaseTrain": "stable",
"api-version": "2023-05-01"
},
"responses": {
"200": {
"headers": {},
"description": "Details of the extension type",
"body": {
"id": "aaaa",
"name": "bbbb",
"type": "cccc",
"properties": {
"isSystemExtension": false,
"isManagedIdentityRequired": true,
"description": "My extension type!",
"publisher": "Microsoft",
"planInfo": {
"publisherId": "111111",
"planId": "222222",
"offerId": "3333333"
},
"supportedClusterTypes": [
"connectedClusters"
],
"supportedScopes": {
"defaultScope": "cluster",
"clusterScopeSettings": {
"allowMultipleInstances": true,
"defaultReleaseNamespace": "kube-system"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"subscriptionId": "subId1",
"location": "westus2",
"extensionTypeName": "extensionType1",
"releaseTrain": "stable",
"api-version": "2023-05-01"
},
"responses": {
"200": {
"headers": {},
"description": "Details of the extension type",
"body": {
"id": "aaaa",
"name": "bbbb",
"type": "cccc",
"properties": {
"isSystemExtension": false,
"isManagedIdentityRequired": true,
"description": "My extension type!",
"publisher": "Microsoft",
"planInfo": {
"publisherId": "myPublisherId",
"planId": "myPlanId",
"offerId": "myOfferId"
},
"supportedClusterTypes": [
"connectedClusters"
],
"supportedScopes": {
"defaultScope": "cluster",
"clusterScopeSettings": {
"allowMultipleInstances": true,
"defaultReleaseNamespace": "kube-system"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"clusterName": "my-cluster",
"extensionTypeName": "my-extension-type",
"releaseTrain": "stable",
"api-version": "2023-05-01"
},
"responses": {
"200": {
"headers": {},
"description": "Versions for the Extension Type",
"body": {
"id": "aaaa",
"name": "bbbb",
"type": "cccc",
"properties": {
"version": "1.1.0",
"unsupportedKubernetesVersions": {
"connectedCluster": [
{
"distribution": ["AKS"],
"unsupportedVersions": []
},
{
"distribution": ["GKE"],
"unsupportedVersions": [">1.22"]
}
],
"appliances": [
{
"distribution": ["AKS"],
"unsupportedVersions": ["1.18..1.21"]
}
],
"provisionedCluster": [
{
"distribution": ["AKS"],
"unsupportedVersions": []
}
],
"managedCluster": [
{
"distribution": ["AKS"],
"unsupportedVersions": []
}
]
},
"supportedClusterTypes": [
"connectedCluster"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"parameters": {
"subcriptionId": "subId1",
"location": "westus",
"extensionTypeName": "extensionType1",
"versionNumber": "1.20.0",
"releaseTrain": "stable",
"clusterType": "connectedCluster",
"api-version": "2023-05-01"
},
"responses": {
"200": {
"headers": {},
"description": "Versions for the Extension Type",
"body": {
"id": "aaaa",
"name": "bbbb",
"type": "cccc",
"properties": {
"version": "1.1.0",
"unsupportedKubernetesVersions": {
"connectedCluster": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": []
},
{
"distribution": [
"GKE"
],
"unsupportedVersions": [
">1.22"
]
}
],
"appliances": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": [
"1.18..1.21"
]
}
],
"provisionedCluster": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": []
}
],
"managedCluster": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": []
}
]
},
"supportedClusterTypes": [
"connectedCluster"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"clusterName": "my-cluster",
"extensionTypeName": "my-extension-type",
"releaseTrain": "stable",
"majorVersion": "2",
"showLatest": true,
"api-version": "2023-05-01"
},
"responses": {
"200": {
"headers": {},
"description": "Versions for the Extension Type",
"body": {
"value": [
{
"id": "aaaa",
"name": "bbbb",
"type": "cccc",
"properties": {
"version": "1.1.0",
"unsupportedKubernetesVersions": {
"connectedCluster": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": []
},
{
"distribution": [
"GKE"
],
"unsupportedVersions": [
">1.22"
]
}
],
"appliances": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": [
"1.18..1.21"
]
}
],
"provisionedCluster": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": []
}
],
"managedCluster": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": []
}
]
},
"supportedClusterTypes": [
"connectedCluster"
]
}
},
{
"id": "aaaa",
"name": "bbbb",
"type": "cccc",
"properties": {
"version": "1.2.0",
"unsupportedKubernetesVersions": {
"connectedCluster": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": []
},
{
"distribution": [
"GKE"
],
"unsupportedVersions": [
">1.22"
]
}
],
"appliances": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": [
"1.18..1.21"
]
}
],
"provisionedCluster": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": []
}
],
"managedCluster": [
{
"distribution": [
"AKS"
],
"unsupportedVersions": []
}
]
},
"supportedClusterTypes": [
"connectedCluster"
]
}
}
]
}
}
}
}
Loading

0 comments on commit 063b42e

Please sign in to comment.