Skip to content

Commit

Permalink
Restructure KubernetesConfiguration directories to a suite of services (
Browse files Browse the repository at this point in the history
#31523)

* This commit splits KubernetesConfiguration service into a service group consisting of 5 services -

- Flux Configuration Service (stable 2024-11-01 version)
- Extensions Service (stable 2024-11-02 and preview 2024-11-02-preview version)
- Private Link Scopes Service (preview 2024-11-01-preview)
- Operations Service (stable 2024-11-01)
- Source Control Configuration (stable version of retired service)

FluxConfiguration Service includes addition of a new provider field.

Signed-off-by: Dipti Pai <[email protected]>

* Fix LintDiff and avocado errors

Signed-off-by: Dipti Pai <[email protected]>

* fix semantic validation checks

Signed-off-by: Dipti Pai <[email protected]>

* Fix Operations Api lintdiff errors

Signed-off-by: Dipti Pai <[email protected]>

* remove operations in a cluster API

Signed-off-by: Dipti Pai <[email protected]>

* Remove associated example

Signed-off-by: Dipti Pai <[email protected]>

* Separate extensionTypes and add supressions.yaml for typespec requirement

Signed-off-by: Dipti Pai <[email protected]>

* Fix suppressions.yaml and address model validation errors in privatelinkscopes

Signed-off-by: Dipti Pai <[email protected]>

* Add supressions

Signed-off-by: Dipti Pai <[email protected]>

* add suppressions and fix specs

Signed-off-by: Dipti Pai <[email protected]>

* Suppress errors in readme

Signed-off-by: Dipti Pai <[email protected]>

* Fix model validation errors

Signed-off-by: Dipti Pai <[email protected]>

* Add suppression for default values in patch body

Signed-off-by: Dipti Pai <[email protected]>

* Fix track2 config for go sdk

Signed-off-by: Dipti Pai <[email protected]>

* Give unique module names

Signed-off-by: Dipti Pai <[email protected]>

* Update readme file namespaces and modules for go and typescript

Signed-off-by: Dipti Pai <[email protected]>

* Fix python readme files

Signed-off-by: Dipti Pai <[email protected]>

* Fix JS/TS operations readme

Signed-off-by: Dipti Pai <[email protected]>

* Remove source control configuration

Signed-off-by: Dipti Pai <[email protected]>

* add mising operations api again

Signed-off-by: Dipti Pai <[email protected]>

* python config

* python config

* fix lintdiff errors

Signed-off-by: Dipti Pai <[email protected]>

* Remove language specific readme files for operations service, keep readme.md for suppressions.

* add sdk-suppressins.yaml

* Update specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/extensionTypes/readme.go.md

removing track config for extensionTypes

Co-authored-by: Chenjie Shi <[email protected]>

* Update specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/extensionTypes/readme.go.md

Co-authored-by: Chenjie Shi <[email protected]>

* Update specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/extensions/readme.go.md

removing track config for extensions

Co-authored-by: Chenjie Shi <[email protected]>

* Update specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/extensions/readme.go.md

Co-authored-by: Chenjie Shi <[email protected]>

* Update specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/fluxConfigurations/readme.go.md

removing track config for fluxConfigurations

Co-authored-by: Chenjie Shi <[email protected]>

* Update specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/fluxConfigurations/readme.go.md

Co-authored-by: Chenjie Shi <[email protected]>

* Update specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/privateLinkScopes/readme.go.md

removing track config for pls

Co-authored-by: Chenjie Shi <[email protected]>

* Update specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/privateLinkScopes/readme.go.md

Co-authored-by: Chenjie Shi <[email protected]>

* Remove sdk-suppressions.yaml

* Make values for provider enum lowercase

* Make values for enum lowercase in patch definition as well

* revert enum value to lowercase

---------

Signed-off-by: Dipti Pai <[email protected]>
Co-authored-by: Dipti Pai <[email protected]>
Co-authored-by: msyyc <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: Chenjie Shi <[email protected]>
Co-authored-by: Qiaoqiao Zhang <[email protected]>
Co-authored-by: Wes Haggard <[email protected]>
  • Loading branch information
7 people authored Feb 19, 2025
1 parent 222020f commit f70fd39
Show file tree
Hide file tree
Showing 75 changed files with 9,141 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"clusterName": "my-cluster",
"extensionTypeName": "my-extension-type",
"api-version": "2024-11-01-preview"
},
"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": {
"properties": {
"allowMultipleInstances": true,
"defaultReleaseNamespace": "kube-system"
},
"id": "aaaaaaaaaaaaaaaaaa",
"name": "bbbbbbbbbbbbb",
"type": "ccccccccccccccccccccccccc"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"subscriptionId": "subId1",
"location": "westus2",
"extensionTypeName": "extensionType1",
"api-version": "2024-11-01-preview"
},
"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": {
"properties": {
"allowMultipleInstances": true,
"defaultReleaseNamespace": "kube-system"
},
"id": "aaaaaaaaaaaaaaaaaa",
"name": "bbbbbbbbbbbbb",
"type": "ccccccccccccccccccccccccc"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"clusterName": "my-cluster",
"extensionTypeName": "my-extension-type",
"versionNumber": "v1.3.2",
"api-version": "2024-11-01-preview"
},
"responses": {
"200": {
"headers": {},
"description": "Versions for the Extension Type",
"body": {
"id": "aaaa",
"name": "bbbb",
"type": "cccc",
"properties": {
"version": "1.1.0",
"unsupportedKubernetesVersions": {
"connectedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
},
{
"distributions": [
"GKE"
],
"unsupportedVersions": [
">1.22"
]
}
],
"appliances": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": [
"1.18..1.21"
]
}
],
"provisionedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
}
],
"managedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
}
]
},
"supportedClusterTypes": [
"connectedCluster"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"parameters": {
"subscriptionId": "subId1",
"location": "westus",
"extensionTypeName": "extensionType1",
"versionNumber": "1.20.0",
"api-version": "2024-11-01-preview"
},
"responses": {
"200": {
"headers": {},
"description": "Versions for the Extension Type",
"body": {
"id": "aaaa",
"name": "bbbb",
"type": "cccc",
"properties": {
"version": "1.1.0",
"unsupportedKubernetesVersions": {
"connectedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
},
{
"distributions": [
"GKE"
],
"unsupportedVersions": [
">1.22"
]
}
],
"appliances": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": [
"1.18..1.21"
]
}
],
"provisionedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
}
],
"managedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
}
]
},
"supportedClusterTypes": [
"connectedCluster"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"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": "2024-11-01-preview"
},
"responses": {
"200": {
"headers": {},
"description": "Versions for the Extension Type",
"body": {
"value": [
{
"id": "aaaa",
"name": "bbbb",
"type": "cccc",
"properties": {
"version": "1.1.0",
"unsupportedKubernetesVersions": {
"connectedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
},
{
"distributions": [
"GKE"
],
"unsupportedVersions": [
">1.22"
]
}
],
"appliances": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": [
"1.18..1.21"
]
}
],
"provisionedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
}
],
"managedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
}
]
},
"supportedClusterTypes": [
"connectedCluster"
]
}
},
{
"id": "aaaa",
"name": "bbbb",
"type": "cccc",
"properties": {
"version": "1.2.0",
"unsupportedKubernetesVersions": {
"connectedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
},
{
"distributions": [
"GKE"
],
"unsupportedVersions": [
">1.22"
]
}
],
"appliances": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": [
"1.18..1.21"
]
}
],
"provisionedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
}
],
"managedCluster": [
{
"distributions": [
"AKS"
],
"unsupportedVersions": []
}
]
},
"supportedClusterTypes": [
"connectedCluster"
]
}
}
],
"nextLink": null
}
}
}
}
Loading

0 comments on commit f70fd39

Please sign in to comment.