cloud-platform icon indicating copy to clipboard operation
cloud-platform copied to clipboard

Replace kubectl Terraform provider

Open sj-williams opened this issue 11 months ago • 1 comments

Background

During testing of kubernetes 1.27 upgrade process, we have uncovered issues with terraform apply at components level regarding read of k8s manifest objects. This has been tracked down to a bug with our gavinbunney/kubectl terraform provider which is used extensively in our components build / modules.

More details in ticket: https://github.com/orgs/ministryofjustice/projects/65/views/3?pane=issue&itemId=55823671

This provider seems effectively abandoned (2 years since last update), and a fork exists which addresses the bug we have encountered as well as continuing the work of maintaining the provider codebase.

https://github.com/alekc/terraform-provider-kubectl

TODO

Switch out all existing kubectl provider configs to use alekc provider, and test:

  • new cluster builds at 1.26 / 1.27
  • existing 1.26 cluster upgrade in place

Proposed user journey

Approach

Which part of the user docs does this impact

Communicate changes

  • [ ] post for #cloud-platform-update
  • [ ] Weeknotes item
  • [ ] Show the Thing/P&A All Hands/User CoP
  • [ ] Announcements channel

Questions / Assumptions

Definition of done

  • [ ] readme has been updated
  • [ ] user docs have been updated
  • [ ] another team member has reviewed
  • [ ] smoke tests are green
  • [ ] prepare demo for the team

Reference

How to write good user stories

sj-williams avatar Mar 11 '24 14:03 sj-williams