Skip to content

Commit e0889b2

Browse files
committed
Add Microsoft.KubernetesConfiguration to azure api specs
1 parent 5b818ee commit e0889b2

File tree

6 files changed

+900
-0
lines changed

6 files changed

+900
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subId1",
4+
"resourceGroupName": "rg1",
5+
"clusterRp": "Microsoft.Kubernetes",
6+
"clusterResourceName": "connectedClusters",
7+
"sourceControlConfigurationName": "SRS_GitHubConfig",
8+
"api-version": "2019-11-01-preview",
9+
"clusterName": "clusterName1",
10+
"sourceControlConfiguration": {
11+
"properties":{
12+
"repositoryUrl": "[email protected]:k8sdeveloper425/flux-get-started",
13+
"operatorNamespace": "SRS_Namespace",
14+
"operatorInstanceName": "SRSGitHubFluxOp-01",
15+
"operatorType": "Flux",
16+
"operatorScope": "namespace",
17+
"operatorParams": "[email protected]",
18+
"enableHelmOperator": "true",
19+
"helmOperatorProperties": {
20+
"chartVersion": "0.3.0",
21+
"chartValues" : "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system"
22+
}
23+
}
24+
}
25+
},
26+
"responses": {
27+
"201": {
28+
"headers": {},
29+
"description": "Details of the Kubernetes Configuration's current status.",
30+
"body": {
31+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig",
32+
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations",
33+
"name": "SRS_GitHubConfig",
34+
"properties": {
35+
"repositoryUrl": "[email protected]:k8sdeveloper425/flux-get-started",
36+
"operatorNamespace": "SRS_Namespace",
37+
"operatorInstanceName": "SRSGitHubFluxOp-01",
38+
"operatorType": "Flux",
39+
"operatorScope": "namespace",
40+
"operatorParams": "[email protected]",
41+
"enableHelmOperator": "true",
42+
"helmOperatorProperties": {
43+
"chartVersion": "0.3.0",
44+
"chartValues" : "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system"
45+
},
46+
"repositoryPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAqvTzeL+BWgcHnC1CTBRMg2ZfCh9khlrvb2avFHiGG24rRvjLHlKqtfiiw+cZNCKskUyVKqamD2RHrhyn/wXvJ9fFRt0LhYLKn4hJhJaPx4IawdWnW1MUv4U+Mr8o3Cxps4EmiZemqri3fOrhzEIlPL272whKpzlDLV7L4W1XQIGmVPwQ93HTzKEd5uHuEuw6JyFftDDLlCnd3Q1kQ7HOabFEfcSSr9cMx2MU4j/Pjuf3Rd/CzeksvKtU009KSXSnWKm8LL1fihSc1H1WDTi8iuZtT63hsNYH1yxrPRpMVScs3ufLViAGO9NEHQSgDdl/OERQQqKisUn2Qm6adgmftw== rsa-key-20190909",
47+
"provisioningState": "Succeeded",
48+
"complianceStatus": {
49+
"complianceState": "Pending",
50+
"lastConfigApplied": "2019-09-10T05:10:57.027Z",
51+
"message": "Configuration successfully created",
52+
"messageLevel": "Info"
53+
}
54+
}
55+
}
56+
},
57+
"200": {
58+
"headers": {},
59+
"description": "Details of the Kubernetes Configuration's current status.",
60+
"body": {
61+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig",
62+
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations",
63+
"name": "SRS_GitHubConfig",
64+
"properties": {
65+
"repositoryUrl": "[email protected]:k8sdeveloper425/flux-get-started",
66+
"operatorNamespace": "SRS_Namespace",
67+
"operatorInstanceName": "SRSGitHubFluxOp-01",
68+
"operatorType": "Flux",
69+
"operatorScope": "namespace",
70+
"operatorParams": "[email protected]",
71+
"enableHelmOperator": "true",
72+
"helmOperatorProperties": {
73+
"chartVersion": "0.3.0",
74+
"chartValues" : "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system"
75+
},
76+
"repositoryPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAqvTzeL+BWgcHnC1CTBRMg2ZfCh9khlrvb2avFHiGG24rRvjLHlKqtfiiw+cZNCKskUyVKqamD2RHrhyn/wXvJ9fFRt0LhYLKn4hJhJaPx4IawdWnW1MUv4U+Mr8o3Cxps4EmiZemqri3fOrhzEIlPL272whKpzlDLV7L4W1XQIGmVPwQ93HTzKEd5uHuEuw6JyFftDDLlCnd3Q1kQ7HOabFEfcSSr9cMx2MU4j/Pjuf3Rd/CzeksvKtU009KSXSnWKm8LL1fihSc1H1WDTi8iuZtT63hsNYH1yxrPRpMVScs3ufLViAGO9NEHQSgDdl/OERQQqKisUn2Qm6adgmftw== rsa-key-20190909",
77+
"provisioningState": "Succeeded",
78+
"complianceStatus": {
79+
"complianceState": "Pending",
80+
"lastConfigApplied": "2019-09-10T05:10:57.027Z",
81+
"message": "Configuration successfully created",
82+
"messageLevel": "Info"
83+
}
84+
}
85+
}
86+
}
87+
}
88+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subId1",
4+
"resourceGroupName": "rg1",
5+
"clusterRp": "Microsoft.Kubernetes",
6+
"clusterResourceName": "connectedClusters",
7+
"sourceControlConfigurationName": "SRS_GitHubConfig",
8+
"api-version": "2019-11-01-preview",
9+
"clusterName": "clusterName1"
10+
},
11+
"responses": {
12+
"200": {},
13+
"202": {},
14+
"204":{}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subId1",
4+
"resourceGroupName": "rg1",
5+
"clusterRp": "Microsoft.Kubernetes",
6+
"clusterResourceName": "connectedClusters",
7+
"sourceControlConfigurationName": "SRS_GitHubConfig",
8+
"api-version": "2019-11-01-preview",
9+
"clusterName": "clusterName1"
10+
},
11+
"responses": {
12+
"200": {
13+
"headers": {},
14+
"description": "Details of the Source Control Configuration's current status.",
15+
"body": {
16+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig",
17+
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations",
18+
"name": "SRS_GitHubConfig",
19+
"properties": {
20+
"repositoryUrl": "[email protected]:k8sdeveloper425/flux-get-started",
21+
"operatorNamespace": "SRS_Namespace",
22+
"operatorInstanceName": "SRSGitHubFluxOp-01",
23+
"operatorType": "Flux",
24+
"operatorScope": "namespace",
25+
"operatorParams": "[email protected]",
26+
"helmOperatorProperties": {
27+
"chartVersion": "0.3.0",
28+
"chartValues" : "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system"
29+
},
30+
"repositoryPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAqvTzeL+BWgcHnC1CTBRMg2ZfCh9khlrvb2avFHiGG24rRvjLHlKqtfiiw+cZNCKskUyVKqamD2RHrhyn/wXvJ9fFRt0LhYLKn4hJhJaPx4IawdWnW1MUv4U+Mr8o3Cxps4EmiZemqri3fOrhzEIlPL272whKpzlDLV7L4W1XQIGmVPwQ93HTzKEd5uHuEuw6JyFftDDLlCnd3Q1kQ7HOabFEfcSSr9cMx2MU4j/Pjuf3Rd/CzeksvKtU009KSXSnWKm8LL1fihSc1H1WDTi8iuZtT63hsNYH1yxrPRpMVScs3ufLViAGO9NEHQSgDdl/OERQQqKisUn2Qm6adgmftw== rsa-key-20190909",
31+
"provisioningState": "Succeeded",
32+
"complianceStatus": {
33+
"complianceState": "Pending",
34+
"lastConfigApplied": "2019-09-10T05:10:57.027Z",
35+
"message": "Configuration successfully created",
36+
"messageLevel": "Info"
37+
}
38+
}
39+
}
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subId1",
4+
"resourceGroupName": "rg1",
5+
"clusterRp": "Microsoft.Kubernetes",
6+
"clusterResourceName": "connectedClusters",
7+
"api-version": "2019-11-01-preview",
8+
"clusterName": "clusterName1"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig",
16+
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations",
17+
"name": "SRS_GitHubConfig",
18+
"properties": {
19+
"repositoryUrl": "[email protected]:k8sdeveloper425/SRSClusterconfigs",
20+
"operatorNamespace": "SRS_Namespace",
21+
"operatorInstanceName": "SRSGitHubFluxOp-01",
22+
"operatorType": "Flux",
23+
"operatorScope": "namespace",
24+
"provisioningState": "Succeeded",
25+
"complianceStatus": {
26+
"complianceState": "Compliant"
27+
}
28+
}
29+
},
30+
{
31+
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SCRS_GitHubConfig",
32+
"type": "Microsoft.KubernetesConfiguration/sourceControlConfigurations",
33+
"name": "SCRS_GitHubConfig",
34+
"properties": {
35+
"repositoryUrl": "[email protected]:k8sdeveloper425/SCRSClusterconfigs",
36+
"operatorNamespace": "SCRS_Namespace",
37+
"operatorInstanceName": "SCRSGitHubFluxOp-02",
38+
"operatorType": "Flux",
39+
"operatorScope": "cluster",
40+
"provisioningState": "Succeeded",
41+
"complianceStatus": {
42+
"complianceState": "Compliant"
43+
}
44+
}
45+
}
46+
]
47+
}
48+
}
49+
}
50+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-11-01-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": [
8+
{
9+
"name": "Microsoft.KubernetesConfiguration/sourceControlConfigurations/read",
10+
"display": {
11+
"provider": "Microsoft KubernetesConfiguration",
12+
"resource": "sourceControlConfigurations",
13+
"operation": "Get Source Control Configuration",
14+
"description": "Get the specified Source Control Configuration."
15+
}
16+
},
17+
{
18+
"name": "Microsoft.KubernetesConfiguration/sourceControlConfigurations/write",
19+
"display": {
20+
"provider": "Microsoft KubernetesConfiguration",
21+
"resource": "sourceControlConfigurations",
22+
"operation": "Create a Source Control Configuration",
23+
"description": "Create the Source Control Configuration specified."
24+
}
25+
},
26+
{
27+
"name": "Microsoft.KubernetesConfiguration/sourceControlConfigurations/delete",
28+
"display": {
29+
"provider": "Microsoft KubernetesConfiguration",
30+
"resource": "sourceControlConfigurations",
31+
"operation": "Delete Source Control Configuration",
32+
"description": "Delete the specified Source Control Configuration."
33+
}
34+
}
35+
]
36+
}
37+
}
38+
}

0 commit comments

Comments
 (0)