Skip to content

✨ Use live Kubernetes API data in Release app instead of mock #2237

@jasonBirchall

Description

@jasonBirchall

User Need

As a developer using the Release app
I want to see the actual deployed state from the Kubernetes API
so that I can trust the app reflects real-world environments


What’s Needed

  • Replace stubbed/mock responses with live KubeAPI data
  • Confirm this works for at least one live environment
  • Backend logic gracefully handles no/partial data
  • Code is committed to ken/kubeclient branch or equivalent
  • repo name is correctly mapped - eg Whitehall maps to Whiitehall-admin

Acceptance Criteria

  • Everything in What’s Needed is delivered.
  • Any changes during delivery are reflected in this story.
  • Impacted users have been informed appropriately (e.g. change logs, Slack, docs).
  • We document the next steps of downstream services using this data as their source of truth. - moved to a sub-task
  • We deliver this to the community by demoing the finished Release app at techfortnightly. - will move to the sub-task

User Comms Plan (if applicable)


Assumptions (optional)

  • Cluster has consistent labelling/versioning we can surface in the UI.

Risks & Mitigation (optional)

  • Risk: API call fails and surfaces bad data.
    Mitigation: Add robust error handling in separate ticket.

Notes

Use existing branch: https://github.com/alphagov/release/tree/use-k8s-info
Build atop the existing mocked framework already wired into the UI.
Connects to #1980

Sub-issues

Metadata

Metadata

Assignees

Labels

RefinedA ticket that's been parsed by the forum of people in backlog refinement

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions