|
| 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 | +} |
0 commit comments