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

Create new API version 2024-11-01 adding provider field to GitRepository #30956

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,305 @@
{
"parameters": {
"subscriptionId": "subId1",
"resourceGroupName": "rg1",
"clusterRp": "Microsoft.Kubernetes",
"clusterResourceName": "connectedClusters",
"fluxConfigurationName": "srs-fluxconfig",
"api-version": "2024-11-01",
"clusterName": "clusterName1",
"fluxConfiguration": {
"properties": {
"scope": "cluster",
"namespace": "srs-namespace",
"sourceKind": "AzureBlob",
"suspend": false,
"azureBlob": {
"url": "https://shasama.blob.core.windows.net",
"containerName": "testcontainer",
"syncIntervalInSeconds": 1000,
"timeoutInSeconds": 1000,
"accountKey": "testaccountkey"
},
"kustomizations": {
"srs-kustomization1": {
"path": "./test/path",
"dependsOn": [],
"timeoutInSeconds": 600,
"syncIntervalInSeconds": 600
},
"srs-kustomization2": {
"path": "./other/test/path",
"dependsOn": [
"srs-kustomization1"
],
"timeoutInSeconds": 600,
"syncIntervalInSeconds": 600,
"retryIntervalInSeconds": 600,
"prune": false
}
}
}
}
},
"responses": {
"200": {
"headers": {
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/fluxConfigurations/ClusterMonitor/srs-fluxconfig/{operationId}",
"x-ms-async-operation-timeout": "PT48H"
},
"description": "Details of the Kubernetes Flux Configuration's current status.",
"body": {
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/fluxConfigurations/srs-fluxconfig",
"type": "Microsoft.KubernetesConfiguration/fluxConfigurations",
"name": "srs-fluxconfig",
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-05-19T05:10:57.027Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-05-19T05:10:57.027Z"
},
"properties": {
"scope": "cluster",
"namespace": "srs-namespace",
"sourceKind": "azureBlob",
"suspend": false,
"gitRepository": null,
"bucket": null,
"azureBlob": {
"url": "https://shasama.blob.core.windows.net",
"containerName": "testcontainer",
"syncIntervalInSeconds": 1000,
"timeoutInSeconds": 1000,
"accountKey": ""
},
"kustomizations": {
"srs-kustomization1": {
"name": "srs-kustomization1",
"path": "./test/path",
"dependsOn": [],
"timeoutInSeconds": 600,
"syncIntervalInSeconds": 600
},
"srs-kustomization2": {
"name": "srs-kustomization2",
"path": "./other/test/path",
"dependsOn": [
"srs-kustomization1"
],
"timeoutInSeconds": 600,
"syncIntervalInSeconds": 600,
"retryIntervalInSeconds": 600,
"prune": false
}
},
"statuses": [
{
"name": "srs-fluxconfig",
"kind": "Bucket",
"complianceState": "Compliant",
"appliedBy": null,
"helmReleaseProperties": null,
"statusConditions": [
{
"lastTransitionTime": "2022-05-04T07:17:30+00:00",
"message": "stored artifact for revision '55396be14f18fa2b977c1f22becef26a94d1d9a7ccb1e19d12f9cac52d757a84'",
"reason": "Succeeded",
"status": "True",
"type": "Ready"
}
]
},
{
"name": "srs-fluxconfig-srs-kustomization1",
"kind": "Kustomization",
"complianceState": "Compliant",
"appliedBy": null,
"helmReleaseProperties": {
"lastRevisionApplied": 1,
"helmChartRef": {
"name": "myname",
"namespace": "mynamespace"
},
"failureCount": null,
"upgradeFailureCount": null,
"installFailureCount": null
},
"statusConditions": [
{
"lastTransitionTime": "2021-05-19T18:12:40Z",
"message": "'Applied revision: 0ba6f0d30760d567de0bac86c8c4eec13ce1a590'",
"reason": "ReconciliationSucceeded",
"status": "True",
"type": "Ready"
}
]
},
{
"name": "srs-fluxconfig-srs-kustomization2",
"kind": "Kustomization",
"complianceState": "Compliant",
"appliedBy": null,
"helmReleaseProperties": {
"lastRevisionApplied": 1,
"helmChartRef": {
"name": "myname",
"namespace": "mynamespace"
},
"failureCount": null,
"upgradeFailureCount": null,
"installFailureCount": null
},
"statusConditions": [
{
"lastTransitionTime": "2021-05-19T18:12:40Z",
"message": "'Applied revision: 0ba6f0d30760d567de0bac86c8c4eec13ce1a590'",
"reason": "ReconciliationSucceeded",
"status": "True",
"type": "Ready"
}
]
}
],
"repositoryPublicKey": "",
"sourceSyncedCommitId": "0ba6f0d30760d567de0bac86c8c4eec13ce1a590",
"sourceUpdatedAt": "2021-05-19T18:17:12Z",
"statusUpdatedAt": "2021-05-19T18:17:12Z",
"complianceState": "Compliant",
"provisioningState": "Succeeded",
"errorMessage": ""
}
}
},
"201": {
"headers": {
"Operation-Location": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/fluxConfigurations/ClusterMonitor/srs-fluxconfig/{operationId}",
"x-ms-async-operation-timeout": "PT48H"
},
"description": "Details of the Kubernetes Flux Configuration's current status.",
"body": {
"id": "/subscriptions/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/fluxConfigurations/srs-fluxconfig",
"type": "Microsoft.KubernetesConfiguration/fluxConfigurations",
"name": "srs-fluxconfig",
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-05-19T05:10:57.027Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-05-19T05:10:57.027Z"
},
"properties": {
"scope": "cluster",
"namespace": "srs-namespace",
"sourceKind": "AzureBlob",
"suspend": false,
"gitRepository": null,
"bucket": null,
"azureBlob": {
"url": "https://shasama.blob.core.windows.net",
"containerName": "testcontainer",
"syncIntervalInSeconds": 1000,
"timeoutInSeconds": 1000,
"accountKey": ""
},
"kustomizations": {
"srs-kustomization1": {
"name": "srs-kustomization1",
"path": "./test/path",
"dependsOn": [],
"timeoutInSeconds": 600,
"syncIntervalInSeconds": 600
},
"srs-kustomization2": {
"name": "srs-kustomization2",
"path": "./other/test/path",
"dependsOn": [
"srs-kustomization1"
],
"timeoutInSeconds": 600,
"syncIntervalInSeconds": 600,
"retryIntervalInSeconds": 600,
"prune": false
}
},
"statuses": [
{
"name": "srs-fluxconfig",
"kind": "Bucket",
"complianceState": "Compliant",
"appliedBy": null,
"statusConditions": [
{
"lastTransitionTime": "2022-05-04T07:17:30+00:00",
"message": "stored artifact for revision '55396be14f18fa2b977c1f22becef26a94d1d9a7ccb1e19d12f9cac52d757a84'",
"reason": "Succeeded",
"status": "True",
"type": "Ready"
}
]
},
{
"name": "srs-fluxconfig-srs-kustomization1",
"kind": "Kustomization",
"complianceState": "Compliant",
"appliedBy": null,
"helmReleaseProperties": {
"lastRevisionApplied": 1,
"helmChartRef": {
"name": "myname",
"namespace": "mynamespace"
},
"failureCount": null,
"upgradeFailureCount": null,
"installFailureCount": null
},
"statusConditions": [
{
"lastTransitionTime": "2021-05-19T18:12:40Z",
"message": "'Applied revision: 0ba6f0d30760d567de0bac86c8c4eec13ce1a590'",
"reason": "ReconciliationSucceeded",
"status": "True",
"type": "Ready"
}
]
},
{
"name": "srs-fluxconfig-srs-kustomization2",
"kind": "Kustomization",
"complianceState": "Compliant",
"appliedBy": null,
"helmReleaseProperties": {
"lastRevisionApplied": 1,
"helmChartRef": {
"name": "myname",
"namespace": "mynamespace"
},
"failureCount": null,
"upgradeFailureCount": null,
"installFailureCount": null
},
"statusConditions": [
{
"lastTransitionTime": "2021-05-19T18:12:40Z",
"message": "'Applied revision: 0ba6f0d30760d567de0bac86c8c4eec13ce1a590'",
"reason": "ReconciliationSucceeded",
"status": "True",
"type": "Ready"
}
]
}
],
"repositoryPublicKey": "",
"sourceSyncedCommitId": "0ba6f0d30760d567de0bac86c8c4eec13ce1a590",
"sourceUpdatedAt": "2021-05-19T18:17:12Z",
"statusUpdatedAt": "2021-05-19T18:17:12Z",
"complianceState": "Compliant",
"provisioningState": "Succeeded",
"errorMessage": ""
}
}
}
}
}
Loading