Skip to content

Add Kubernetes integration create/update with ETL definitions#628

Open
saditya370 wants to merge 1 commit into
mainfrom
add-kubernetes-integration-etl
Open

Add Kubernetes integration create/update with ETL definitions#628
saditya370 wants to merge 1 commit into
mainfrom
add-kubernetes-integration-etl

Conversation

@saditya370

Copy link
Copy Markdown
Contributor

Summary

Adds Go client support for managing a Kubernetes infra integration's ETL config
(extract/transform definitions) via the public GraphQL API. Customer ask from
GitLab issue #14148 (Truelayer wants to manage their Kubernetes integration ETL
as code). The schema side is already merged in the monolith (MR !19177); this is
the client counterpart.

Changes

  • KubernetesIntegrationInput (name, extractDefinition, transformDefinition
    as *Nullable[string]) — hand-written alongside AWSIntegrationInput since
    input.go is generated.
  • CreateIntegrationKubernetes(input)kubernetesIntegrationCreate
  • UpdateIntegrationKubernetes(identifier, input)kubernetesIntegrationUpdate
  • Read path: KubernetesIntegrationFragment (ExtractDefinition,
    TransformDefinition) added to the Integration struct as
    ... on KubernetesIntegration, with the shared integration_request test
    template updated in the matching position so existing recorded queries still match.
  • Tests: TestCreateKubernetesIntegration / TestUpdateKubernetesIntegration
    assert the ETL definitions round-trip through the mutations.
  • Changie entry under .changes/unreleased/.

Mutation/input/field names verified against the monolith's committed public
schema dump (public/schemas/schema.graphql).

Testing

  • go build ./...
  • go test -race ./... — full suite passes (existing integration tests double as
    a regression check for the shared query-template change)
  • task lint (gofumpt + golangci-lint) — 0 issues

Adds CreateIntegrationKubernetes / UpdateIntegrationKubernetes,
KubernetesIntegrationInput, and a KubernetesIntegration fragment
exposing extractDefinition and transformDefinition.
@saditya370 saditya370 self-assigned this Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant