Skip to content

✨ Add govuk-reports-prototype chart#3308

Open
jasonBirchall wants to merge 5 commits into
mainfrom
add-reports-app-chart
Open

✨ Add govuk-reports-prototype chart#3308
jasonBirchall wants to merge 5 commits into
mainfrom
add-reports-app-chart

Conversation

@jasonBirchall
Copy link
Copy Markdown
Contributor

@jasonBirchall jasonBirchall commented Jul 4, 2025

This pull request introduces updates to the Makefile to enhance linting capabilities and adds configuration for deploying the govuk-reports-prototype application in Kubernetes. The most important changes include the addition of the configuration of the govuk-reports-prototype application to integration.

Makefile enhancements:

  • Added kubeconform validation: Introduced a new kubeconform target to validate rendered Kubernetes charts using the kubeconform tool with strict schema checks and custom schema locations. While working in this repository, I found that when pushing changes, I were failing kubeconform requirements. I wanted to test this locally before pushing, so I've added a make command that lets you either make lint and run all the linting locally, or, run make kubeconform that performs the kubeconform command for you and outputs the errors locally. This way, I was able to identify where the failure was located and fix it quickly. In this instance, it appeared in the rendered deployment.yaml file for reports-prototype.
  • Renamed lint target to yamllint: The lint target was renamed to yamllint, and a new lint target was created to run both yamllint and kubeconform.

Kubernetes configuration for govuk-reports-prototype:

  • Added image tag and deployment settings: Configured the govuk-reports-prototype application with image_tag: v1, enabled automatic deployments, and disabled promotion of deployments.
  • Defined Helm values: Added detailed Helm configuration for govuk-reports-prototype, including resource limits, ingress settings, service account annotations, health checks, and environment variables for logging and AWS region.

jasonBirchall added 5 commits July 4, 2025 15:12
This commit adds the [govuk-reports-prototype](https://github.com/alphagov/govuk-reports-prototype) so we can use integration to host the prototype. This means we can start looking at collaborating on differnt ideas and having a prototype url we can showcase.
While working in this repository, I found that when pushing changes I
was failing kubeconform requirements. I wanted to test this
locally before pushing, so I've added a make command that lets you
either `make lint` and run all the linting locally, or, run `make
kubeconform` that performs the kubeconform command for you and outputs
the errors locally. This way I was able to quickly identify where the
failure was located and fix it. In this instance, it appeared in the
rendered deployment.yaml file for reports-prototype.
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