Skip to content

Commit

Permalink
Remove TSM integration support
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Goyal <[email protected]>
  • Loading branch information
vivgoyal committed Dec 13, 2024
1 parent fc08f65 commit 5cf9d20
Show file tree
Hide file tree
Showing 37 changed files with 3 additions and 1,940 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "v*"

env:
BUILD_TAGS: "akscluster cluster clustergroup credential ekscluster gitrepository iampolicy kustomization namespace custompolicy imagepolicy networkpolicy quotapolicy securitypolicy sourcesecret workspace tanzupackage tanzupackages packagerepository packageinstall clustersecret integration mutationpolicy backupschedule targetlocation dataprotection tanzukubernetescluster clusterclass managementcluster provisioner inspections custompolicytemplate customiamrole permissiontemplate"
BUILD_TAGS: "akscluster cluster clustergroup credential ekscluster gitrepository iampolicy kustomization namespace custompolicy imagepolicy networkpolicy quotapolicy securitypolicy sourcesecret workspace tanzupackage tanzupackages packagerepository packageinstall clustersecret mutationpolicy backupschedule targetlocation dataprotection tanzukubernetescluster clusterclass managementcluster provisioner inspections custompolicytemplate customiamrole permissiontemplate"

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'README.md'

env:
BUILD_TAGS: 'akscluster cluster clustergroup credential ekscluster gitrepository iampolicy kustomization namespace custompolicy imagepolicy networkpolicy quotapolicy securitypolicy sourcesecret workspace tanzupackage tanzupackages packagerepository packageinstall clustersecret integration mutationpolicy backupschedule targetlocation dataprotection tanzukubernetescluster clusterclass managementcluster provisioner inspections custompolicytemplate customiamrole permissiontemplate'
BUILD_TAGS: 'akscluster cluster clustergroup credential ekscluster gitrepository iampolicy kustomization namespace custompolicy imagepolicy networkpolicy quotapolicy securitypolicy sourcesecret workspace tanzupackage tanzupackages packagerepository packageinstall clustersecret mutationpolicy backupschedule targetlocation dataprotection tanzukubernetescluster clusterclass managementcluster provisioner inspections custompolicytemplate customiamrole permissiontemplate'

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ifeq ($(TEST_FLAGS),)
endif

ifeq ($(BUILD_TAGS),)
BUILD_TAGS := 'akscluster cluster clustergroup credential ekscluster gitrepository iampolicy kustomization namespace custompolicy imagepolicy networkpolicy quotapolicy securitypolicy sourcesecret workspace tanzupackage tanzupackages packagerepository packageinstall clustersecret integration mutationpolicy helmfeature helmrelease helmcharts helmrepository backupschedule targetlocation dataprotection tanzukubernetescluster clusterclass managementcluster provisioner inspections custompolicytemplate customiamrole permissiontemplate'
BUILD_TAGS := 'akscluster cluster clustergroup credential ekscluster gitrepository iampolicy kustomization namespace custompolicy imagepolicy networkpolicy quotapolicy securitypolicy sourcesecret workspace tanzupackage tanzupackages packagerepository packageinstall clustersecret mutationpolicy helmfeature helmrelease helmcharts helmrepository backupschedule targetlocation dataprotection tanzukubernetescluster clusterclass managementcluster provisioner inspections custompolicytemplate customiamrole permissiontemplate'
endif

.PHONY: build clean-up test gofmt vet lint acc-test website-lint website-lint-fix
Expand Down
68 changes: 0 additions & 68 deletions docs/data-sources/integration.md

This file was deleted.

83 changes: 0 additions & 83 deletions docs/resources/integration.md

This file was deleted.

7 changes: 0 additions & 7 deletions examples/data-sources/integration/data-source.tf

This file was deleted.

22 changes: 0 additions & 22 deletions examples/resources/integration/resource.tf

This file was deleted.

3 changes: 0 additions & 3 deletions internal/client/http_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import (
eksclusterclient "github.com/vmware/terraform-provider-tanzu-mission-control/internal/client/ekscluster"
eksnodepoolclient "github.com/vmware/terraform-provider-tanzu-mission-control/internal/client/ekscluster/nodepool"
inspectionsclient "github.com/vmware/terraform-provider-tanzu-mission-control/internal/client/inspections"
integrationclient "github.com/vmware/terraform-provider-tanzu-mission-control/internal/client/integration"
kubeconfigclient "github.com/vmware/terraform-provider-tanzu-mission-control/internal/client/kubeconfig"
secretclient "github.com/vmware/terraform-provider-tanzu-mission-control/internal/client/kubernetessecret"
secretexportclient "github.com/vmware/terraform-provider-tanzu-mission-control/internal/client/kubernetessecret/secretexport"
Expand Down Expand Up @@ -117,7 +116,6 @@ func newHTTPClient(httpClient *transport.Client) *TanzuMissionControl {
WorkspacePolicyResourceService: policyworkspaceclient.New(httpClient),
OrganizationPolicyResourceService: policyorganizationclient.New(httpClient),
CredentialResourceService: credentialclient.New(httpClient),
IntegrationResourceService: integrationclient.New(httpClient),
ClusterContinuousDeliveryResourceService: continuousdeliveryclusterclient.New(httpClient),
ClusterGitRepositoryResourceService: gitrepositoryclusterclient.New(httpClient),
ClusterKustomizationResourceService: kustomizationclusterclient.New(httpClient),
Expand Down Expand Up @@ -182,7 +180,6 @@ type TanzuMissionControl struct {
WorkspacePolicyResourceService policyworkspaceclient.ClientService
OrganizationPolicyResourceService policyorganizationclient.ClientService
CredentialResourceService credentialclient.ClientService
IntegrationResourceService integrationclient.ClientService
ClusterContinuousDeliveryResourceService continuousdeliveryclusterclient.ClientService
ClusterGitRepositoryResourceService gitrepositoryclusterclient.ClientService
ClusterKustomizationResourceService kustomizationclusterclient.ClientService
Expand Down
121 changes: 0 additions & 121 deletions internal/client/integration/integration_resource.go

This file was deleted.

38 changes: 0 additions & 38 deletions internal/models/cluster/integration/create_integration_request.go

This file was deleted.

Loading

0 comments on commit 5cf9d20

Please sign in to comment.