GithubHelp home page GithubHelp logo

jackap / govuk-helm-charts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alphagov/govuk-helm-charts

0.0 0.0 0.0 29.58 MB

Helm charts for the GOV.UK website and publishing platform (content management system). Cluster turnup automation is in https://github.com/alphagov/govuk-infrastructure. A few things still live in https://github.com/alphagov/govuk-puppet (June 2023)

Home Page: https://alphagov.github.io/govuk-helm-charts/

License: MIT License

Shell 33.28% Smarty 66.72%

govuk-helm-charts's Introduction

GOV.UK Helm Charts

Getting started

See Helm's documentation to get started with Helm.

See the GOV.UK Kubernetes cluster docs for an introduction to the cluster or ask #govuk-platform-engineering in Slack.

Versioned vs unversioned charts

Most of the charts in this repository are designed to be deployed via Argo CD rather than by helm install. For these charts, we don't use Chart.Version or Helm's packaging system.

A few charts are still installed via helm install (via Terraform). Those charts are automatically packaged and pushed to our Helm repository when a change to Chart.Version is merged.

Local development

Prerequisites

  1. Install Helm and yq

    brew install helm yq
  2. Clone the repository

    git clone [email protected]:alphagov/govuk-helm-charts.git
  3. Configure git hooks

    cd govuk-helm-charts &&
    git config core.hooksPath git-hooks

Installing an application chart without Argo CD

cd charts/app-config

ENVIRONMENT=integration
APP=content-publisher
helm install $USER-${APP?} ../generic-govuk-app --values <(
  helm template . --values values-${ENVIRONMENT}.yaml |
  yq e '.|select(.metadata.name=="'$APP'").spec.source.helm.values'
) --set sentry.enabled=false --set rails.createKeyBaseSecret=false

You can inspect the final template output by running helm template instead of helm install.

Chart repository

Some of the charts in this git repository are published via GitHub Actions to a chart repository hosted on GitHub Pages.

To add the chart repo to Helm:

helm repo add govuk-helm-charts https://alphagov.github.io/govuk-helm-charts/

You can then run helm search repo <alias> to see the charts. helm repo update retrieves the latest versions of the packages.

Schemas

kubeconform runs as a pre-merge check. The JSON schemas that it validates against are in the schemas/ directory.

Team

GOV.UK Platform Engineering team looks after this repo. If you're inside GDS, you can find us in #govuk-platform-engineering or view our kanban board.

Licence

MIT License

govuk-helm-charts's People

Contributors

1pretz1 avatar agadufrat avatar aldavidson avatar alexbakervr avatar beccapearce avatar beckal avatar bilbof avatar brucebolt avatar csutter avatar desenhar avatar dj-maisy avatar fredericfran-gds avatar gdsnewt avatar govuk-ci avatar hannako avatar kentsanggds avatar kerin avatar kevindew avatar kludgekml avatar leenagupte avatar lwilts avatar marcpomfret avatar martynipratt avatar murilodalri avatar nsabri1 avatar samsimpson1 avatar sengi avatar sihugh avatar theseanything avatar yuetylauiris avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.