Skip to content

chore: remove zalando - #534

Merged
jhrv merged 1 commit into
mainfrom
remove-grant-postgres-access
Oct 1, 2026
Merged

jhrv merged 1 commit into
mainfrom
remove-grant-postgres-access

Conversation

@jhrv

@jhrv jhrv commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Removed support for this both in cli and console

@jhrv
jhrv requested a review from a team as a code owner October 1, 2026 09:40
@jhrv
jhrv requested a balanced review from Copilot October 1, 2026 09:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The legacy feature and its associated schema, permissions, generated code, tests, and fixtures are removed consistently.

Review effort: Balanced
Findings: None

What changed in this PR

Removes legacy Zalando Postgres access while retaining the brokered Postgres access flow.

Changes:

  • Removes the legacy GraphQL mutation and implementation.
  • Removes obsolete Kubernetes permissions and fake-client registration.
  • Deletes legacy tests and fixtures.
File Description
internal/​persistence/​postgres/​models.go Removes legacy input and payload models.
internal/​persistence/​postgres/​grant.go Deletes Zalando grant implementation.
internal/​persistence/​postgres/​grant_test.go Deletes legacy validation test.
internal/​kubernetes/​scheme.go Removes legacy resource registration.
internal/​kubernetes/​fake/​fake.go Removes legacy fake-client mapping.
internal/​graph/​schema/​postgres.graphqls Removes the legacy mutation contract.
internal/​graph/​postgres.resolvers.go Removes the legacy resolver.
internal/​graph/​gengql/​schema.generated.go Updates generated execution code.
internal/​graph/​gengql/​root_.generated.go Updates generated schema metadata.
internal/​graph/​gengql/​postgres.generated.go Removes generated legacy bindings.
integration_tests/​k8s_resources/​grant_zalando_postgres_access/​dev/​someteamname/​postgres_foobar.yaml Deletes legacy fixture.
integration_tests/​grant_postgres_access.lua Deletes legacy integration coverage.
charts/​console-backend-rbac/​templates/​rbac.yaml Removes access to the legacy resource.
Files not reviewed (2)
  • internal/graph/gengql/postgres.generated.go: Generated file
  • internal/graph/gengql/schema.generated.go: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@jhrv
jhrv merged commit 603d75f into main Oct 1, 2026
12 checks passed
@jhrv
jhrv deleted the remove-grant-postgres-access branch October 1, 2026 09:57
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.

3 participants