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

[Hub Generated] Review request for Microsoft.KubernetesConfiguration to add version preview/2020-07-01-preview #9805

Merged
merged 70 commits into from
Mar 1, 2021
Merged
Show file tree
Hide file tree
Changes from 65 commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
e0889b2
Add Microsoft.KubernetesConfiguration to azure api specs
NarayanThiru Apr 6, 2020
8771184
Revert "Add Microsoft.KubernetesConfiguration to azure api specs"
NarayanThiru Apr 6, 2020
f1658a8
Adds base for updating Microsoft.KubernetesConfiguration from version…
NarayanThiru Jun 1, 2020
fd1b910
Updates readme
NarayanThiru Jun 1, 2020
3a2ca1f
Updates API version in new specs and examples
NarayanThiru Jun 1, 2020
4174549
Add resource type 'Extensions'
NarayanThiru Jun 8, 2020
00d4315
Merge branch 'master' into dev-kubernetesconfiguration-Microsoft.Kube…
NarayanThiru Jun 8, 2020
dd3b674
Updates for Configuration settings, etc.
NarayanThiru Jun 10, 2020
e46e391
Fix validation errors
NarayanThiru Jun 10, 2020
ab09413
Move extensions spec to separate file
NarayanThiru Jun 11, 2020
cf0afed
Fix validation errors
NarayanThiru Jun 11, 2020
9c3a64b
Fix validation errors
NarayanThiru Jun 11, 2020
b06bddd
Remove empty error objects in examples
NarayanThiru Jun 11, 2020
54124f1
Fix statuses array def & references
NarayanThiru Jun 11, 2020
f3acbf4
Fix statuses in examples
NarayanThiru Jun 11, 2020
aedc722
Fix error in list example
NarayanThiru Jun 11, 2020
fb6aeb2
Fix spellcheck errors
NarayanThiru Jun 11, 2020
a3bad8a
Prettier fixes
NarayanThiru Jun 11, 2020
834f75d
Update readme files
NarayanThiru Jun 11, 2020
97b68e6
Remove statuses in List & fix Autorest errors
NarayanThiru Jun 11, 2020
992615c
Update ErrorDefinition
NarayanThiru Jun 12, 2020
22a3942
Update ErrorDefinition reference
NarayanThiru Jun 12, 2020
5d23f9b
Fix API version
NarayanThiru Jun 12, 2020
f7b5f05
Fix Readme file for Java
NarayanThiru Jun 12, 2020
06b7060
Update readme files
NarayanThiru Jun 15, 2020
4f34a7b
Merge remote-tracking branch 'upstream/master'
NarayanThiru Jun 15, 2020
92eb480
Fix Linter issue
NarayanThiru Jun 16, 2020
c249570
Updated OperationsList example to address review comment
NarayanThiru Jun 18, 2020
e9dfa6d
Merge remote-tracking branch 'upstream/master'
NarayanThiru Jul 17, 2020
9d01635
Merge branch 'master' into dev-kubernetesconfiguration-Microsoft.Kube…
NarayanThiru Jul 17, 2020
f19bedf
Merge remote-tracking branch 'upstream/master'
NarayanThiru Jul 31, 2020
6e63fe8
Merge branch 'master' into dev-kubernetesconfiguration-Microsoft.Kube…
NarayanThiru Jul 31, 2020
d4e20da
Updated the spec - new property and property name changes
NarayanThiru Jul 31, 2020
9faae76
Fix validation errors - 1
NarayanThiru Jul 31, 2020
701228c
Fix validation errors - 2
NarayanThiru Jul 31, 2020
c3fde95
Fix validation errors - 3
NarayanThiru Jul 31, 2020
0cf5e13
Fix validation errors - 4
NarayanThiru Jul 31, 2020
6aed2ab
Fix validation errors - 5
NarayanThiru Jul 31, 2020
aaa59ab
Fix Prettier & LintDiff errors
NarayanThiru Aug 1, 2020
12253dd
Fix Prettier & LintDiff errors - 2
NarayanThiru Aug 3, 2020
42d8195
Fix Prettier & LintDiff errors - 3
NarayanThiru Aug 3, 2020
7eb71f1
Fix Prettier & LintDiff errors - 4
NarayanThiru Aug 3, 2020
d6179eb
Fix Prettier issues, etc.
NarayanThiru Aug 3, 2020
e2fa8a9
Change AutoUpgrade to boolean type
NarayanThiru Aug 3, 2020
d3f18e7
Change AutoUpgrade to boolean type in examples
NarayanThiru Aug 3, 2020
1833347
Change AutoUpgrade to boolean type in Update example
NarayanThiru Aug 3, 2020
a8deded
Update Enum definitions
NarayanThiru Aug 4, 2020
7c4aa7e
Fix examples
NarayanThiru Aug 4, 2020
9a39f4a
Remove whitespaces
NarayanThiru Aug 4, 2020
669a367
Added Created & LastModified to config.
NarayanThiru Aug 4, 2020
3d15cbc
Fix list example
NarayanThiru Aug 5, 2020
6070e69
Add customLocationSettings
NarayanThiru Aug 5, 2020
ade14ff
Change type of additionalProperties of CustomLocationSettings
NarayanThiru Aug 6, 2020
4a26bf1
Fix Prettier & LintDiff errors
NarayanThiru Aug 6, 2020
a9c4b61
Remove customLocationSettings
NarayanThiru Aug 10, 2020
8d6235f
Fix Error object for List
NarayanThiru Aug 11, 2020
bdc2d88
Add Extension Identity
NarayanThiru Aug 11, 2020
dee3d51
Fix spelling error
NarayanThiru Aug 11, 2020
54105e8
update 2020-07-01=preview swagger
safeermohammed Feb 23, 2021
67e77fb
Merge branch 'master' into dev-kubernetesconfiguration-Microsoft.Kube…
safeermohammed Feb 23, 2021
50a26af
fix syntax errors
safeermohammed Feb 23, 2021
9d67766
Merge branch 'dev-kubernetesconfiguration-Microsoft.KubernetesConfigu…
safeermohammed Feb 23, 2021
1001201
update 2020-07-01=preview swagger
safeermohammed Feb 24, 2021
2b18037
update 2020-07-01=preview swagger
safeermohammed Feb 24, 2021
d699edf
update 2020-07-01=preview swagger
safeermohammed Feb 24, 2021
201ff1e
fixing identity property to include inside properties
safeermohammed Feb 26, 2021
638afcb
fixing identity property to include inside properties
safeermohammed Feb 26, 2021
4fcfae0
fixing identity property to include inside properties
safeermohammed Feb 26, 2021
9832503
fixing identity property to include inside properties
safeermohammed Feb 26, 2021
51d9eb5
review comments
safeermohammed Feb 26, 2021
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
@@ -0,0 +1,61 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"extensionInstanceName": "ClusterMonitor",
"api-version": "2020-07-01-preview",
"clusterName": "clusterName1",
"extensionInstance": {
"properties": {
"extensionType": "azuremonitor-containers",
"autoUpgradeMinorVersion": true,
"releaseTrain": "Preview",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be "Stable" since there is no azuremonitor-containers chart for "Preview" atm.

"scope": {
"cluster": {
"releaseNamespace": "kube-system"
}
},
"configurationSettings": {
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b",
"omsagent.env.clusterName": "clusterName1"
NarayanThiru marked this conversation as resolved.
Show resolved Hide resolved
},
"configurationProtectedSettings": {
"omsagent.secret.key": "secretKeyValue01"
}
}
}
},
"responses": {
"200": {
"headers": {},
"description": "Details of the Kubernetes Extension's current status.",
"body": {
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor",
"type": "Microsoft.KubernetesConfiguration/extensions",
"name": "ClusterMonitor",
"properties": {
"extensionType": "azuremonitor-containers",
"autoUpgradeMinorVersion": true,
"releaseTrain": "Preview",
"version": "0.1.4",
"scope": {
"cluster": {
"releaseNamespace": "kube-system"
}
},
"configurationSettings": {
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b",
"omsagent.env.clusterName": "clusterName1"
NarayanThiru marked this conversation as resolved.
Show resolved Hide resolved
},
"installState": "Pending",
"statuses": [],
"creationTime": "2020-06-08T05:10:57.027Z",
"lastModifiedTime": "2020-06-08T05:10:57.027Z",
"lastStatusTime": "2020-06-08T05:10:57.027Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"sourceControlConfigurationName": "SRS_GitHubConfig",
"api-version": "2020-07-01-preview",
"clusterName": "clusterName1",
"sourceControlConfiguration": {
"properties": {
"repositoryUrl": "git@github.com:k8sdeveloper425/flux-get-started",
"operatorNamespace": "SRS_Namespace",
"operatorInstanceName": "SRSGitHubFluxOp-01",
"operatorType": "Flux",
"operatorScope": "namespace",
"operatorParams": "--git-email=xyzgituser@users.srs.github.com",
"configurationProtectedSettings": {
"protectedSetting1Key": "protectedSetting1Value"
},
"enableHelmOperator": true,
"helmOperatorProperties": {
"chartVersion": "0.3.0",
"chartValues": "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system"
}
}
}
},
"responses": {
"201": {
"headers": {},
"description": "Details of the Kubernetes Configuration's current status.",
"body": {
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig",
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations",
"name": "SRS_GitHubConfig",
"properties": {
"repositoryUrl": "git@github.com:k8sdeveloper425/flux-get-started",
"operatorNamespace": "SRS_Namespace",
"operatorInstanceName": "SRSGitHubFluxOp-01",
"operatorType": "Flux",
"operatorScope": "namespace",
"operatorParams": "--git-email=xyzgituser@users.srs.github.com",
"enableHelmOperator": true,
"helmOperatorProperties": {
"chartVersion": "0.3.0",
"chartValues": "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system"
},
"repositoryPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAqvTzeL+BWgcHnC1CTBRMg2ZfCh9khlrvb2avFHiGG24rRvjLHlKqtfiiw+cZNCKskUyVKqamD2RHrhyn/wXvJ9fFRt0LhYLKn4hJhJaPx4IawdWnW1MUv4U+Mr8o3Cxps4EmiZemqri3fOrhzEIlPL272whKpzlDLV7L4W1XQIGmVPwQ93HTzKEd5uHuEuw6JyFftDDLlCnd3Q1kQ7HOabFEfcSSr9cMx2MU4j/Pjuf3Rd/CzeksvKtU009KSXSnWKm8LL1fihSc1H1WDTi8iuZtT63hsNYH1yxrPRpMVScs3ufLViAGO9NEHQSgDdl/OERQQqKisUn2Qm6adgmftw== rsa-key-20190909",
"provisioningState": "Succeeded",
"complianceStatus": {
"complianceState": "Pending",
"lastConfigApplied": "2020-06-08T05:25:32.122Z",
"message": "Configuration successfully created",
"messageLevel": "Info"
}
}
}
},
"200": {
"headers": {},
"description": "Details of the Kubernetes Configuration's current status.",
"body": {
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig",
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations",
"name": "SRS_GitHubConfig",
"properties": {
"repositoryUrl": "git@github.com:k8sdeveloper425/flux-get-started",
"operatorNamespace": "SRS_Namespace",
"operatorInstanceName": "SRSGitHubFluxOp-01",
"operatorType": "Flux",
"operatorScope": "namespace",
"operatorParams": "--git-email=xyzgituser@users.srs.github.com",
"enableHelmOperator": true,
"helmOperatorProperties": {
"chartVersion": "0.3.0",
"chartValues": "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system"
},
"repositoryPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAqvTzeL+BWgcHnC1CTBRMg2ZfCh9khlrvb2avFHiGG24rRvjLHlKqtfiiw+cZNCKskUyVKqamD2RHrhyn/wXvJ9fFRt0LhYLKn4hJhJaPx4IawdWnW1MUv4U+Mr8o3Cxps4EmiZemqri3fOrhzEIlPL272whKpzlDLV7L4W1XQIGmVPwQ93HTzKEd5uHuEuw6JyFftDDLlCnd3Q1kQ7HOabFEfcSSr9cMx2MU4j/Pjuf3Rd/CzeksvKtU009KSXSnWKm8LL1fihSc1H1WDTi8iuZtT63hsNYH1yxrPRpMVScs3ufLViAGO9NEHQSgDdl/OERQQqKisUn2Qm6adgmftw== rsa-key-20190909",
"provisioningState": "Succeeded",
"complianceStatus": {
"complianceState": "Pending",
"lastConfigApplied": "2020-06-08T05:25:32.122Z",
"message": "Configuration successfully created",
"messageLevel": "Info"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"extensionInstanceName": "ClusterMonitor",
"api-version": "2020-07-01-preview",
"clusterName": "clusterName1"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"sourceControlConfigurationName": "SRS_GitHubConfig",
"api-version": "2020-07-01-preview",
"clusterName": "clusterName1"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"extensionInstanceName": "ClusterMonitor",
"api-version": "2020-07-01-preview",
"clusterName": "clusterName1"
},
"responses": {
"200": {
"headers": {},
"description": "Details of the Kubernetes Extension's current status.",
"body": {
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor",
"type": "Microsoft.KubernetesConfiguration/extensions",
"name": "ClusterMonitor",
"properties": {
"extensionType": "azuremonitor-containers",
"autoUpgradeMinorVersion": true,
"releaseTrain": "Preview",
"version": "0.1.4",
"scope": {
"cluster": {
"releaseNamespace": "kube-system"
}
},
"configurationSettings": {
"omsagent.secret.wsid": "a38cef99-5a89-52ed-b6db-22095c23664b",
"omsagent.env.clusterName": "clusterName1"
},
"installState": "Pending",
"statuses": [],
"creationTime": "2020-06-08T05:10:57.027Z",
"lastModifiedTime": "2020-06-08T05:10:57.027Z",
"lastStatusTime": "2020-06-08T05:10:57.027Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"sourceControlConfigurationName": "SRS_GitHubConfig",
"api-version": "2020-07-01-preview",
"clusterName": "clusterName1"
},
"responses": {
"200": {
"headers": {},
"description": "Details of the Source Control Configuration's current status.",
"body": {
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig",
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations",
"name": "SRS_GitHubConfig",
"properties": {
"repositoryUrl": "git@github.com:k8sdeveloper425/flux-get-started",
"operatorNamespace": "SRS_Namespace",
"operatorInstanceName": "SRSGitHubFluxOp-01",
"operatorType": "Flux",
"operatorScope": "namespace",
"operatorParams": "--git-email=xyzgituser@users.srs.github.com",
"helmOperatorProperties": {
"chartVersion": "0.3.0",
"chartValues": "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system"
},
"repositoryPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAqvTzeL+BWgcHnC1CTBRMg2ZfCh9khlrvb2avFHiGG24rRvjLHlKqtfiiw+cZNCKskUyVKqamD2RHrhyn/wXvJ9fFRt0LhYLKn4hJhJaPx4IawdWnW1MUv4U+Mr8o3Cxps4EmiZemqri3fOrhzEIlPL272whKpzlDLV7L4W1XQIGmVPwQ93HTzKEd5uHuEuw6JyFftDDLlCnd3Q1kQ7HOabFEfcSSr9cMx2MU4j/Pjuf3Rd/CzeksvKtU009KSXSnWKm8LL1fihSc1H1WDTi8iuZtT63hsNYH1yxrPRpMVScs3ufLViAGO9NEHQSgDdl/OERQQqKisUn2Qm6adgmftw== rsa-key-20190909",
"provisioningState": "Succeeded",
"complianceStatus": {
"complianceState": "Pending",
"lastConfigApplied": "2020-06-08T05:25:32.122Z",
"message": "Configuration successfully created",
"messageLevel": "Info"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"api-version": "2020-07-01-preview",
"clusterName": "clusterName1"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/ClusterMonitor",
"type": "Microsoft.KubernetesConfiguration/extensions",
"name": "ClusterMonitor",
"properties": {
"extensionType": "azuremonitor-containers",
"autoUpgradeMinorVersion": true,
"releaseTrain": "Preview",
"version": "0.1.4",
"scope": {
"cluster": {
"releaseNamespace": "kube-system"
}
},
"installState": "Pending",
"creationTime": "2020-06-08T05:10:57.027Z",
"lastModifiedTime": "2020-06-08T05:10:57.027Z",
"lastStatusTime": "2020-06-08T05:10:57.027Z"
}
},
{
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/extensions/BackupVault01",
"type": "Microsoft.KubernetesConfiguration/extensions",
"name": "App1Monitor",
"properties": {
"extensionType": "Microsoft.RecoveryServices/recoveryVault",
"autoUpgradeMinorVersion": false,
"releaseTrain": "Stable",
"version": "1.0.1",
"scope": {
"cluster": {
"releaseNamespace": "myKVNamespace"
}
},
"installState": "Installed",
"creationTime": "2020-06-07T03:44:19.142Z",
"lastModifiedTime": "2020-06-07T03:44:19.142Z",
"lastStatusTime": "2020-06-07T04:09:23.011Z"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"api-version": "2020-07-01-preview",
"clusterName": "clusterName1"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig",
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations",
"name": "SRS_GitHubConfig",
"properties": {
"repositoryUrl": "git@github.com:k8sdeveloper425/SRSClusterconfigs",
"operatorNamespace": "SRS_Namespace",
"operatorInstanceName": "SRSGitHubFluxOp-01",
"operatorType": "Flux",
"operatorScope": "namespace",
"provisioningState": "Succeeded",
"complianceStatus": {
"complianceState": "Compliant"
}
}
},
{
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SCRS_GitHubConfig",
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations",
"name": "SCRS_GitHubConfig",
"properties": {
"repositoryUrl": "git@github.com:k8sdeveloper425/SCRSClusterconfigs",
"operatorNamespace": "SCRS_Namespace",
"operatorInstanceName": "SCRSGitHubFluxOp-02",
"operatorType": "Flux",
"operatorScope": "cluster",
"provisioningState": "Succeeded",
"complianceStatus": {
"complianceState": "Compliant"
}
}
}
]
}
}
}
}
Loading