Skip to content

hmcts/chart-base

Repository files navigation

chart-base

Base Helm chart for all applications.

It adds below templates from chart-library based on the chosen configuration:

Language Settings

As detailed in chart-library, applications can set language property to pick sensible defaults for a particular language.

Example:

language: java

will override values from defaults with

java:
  key1: value1
  key2: value2
  key3: value3

Configuration defaults

  • Check values.yaml for default configuration.

  • Values defined under language: takes priority over base defaults.

  • Check additional configuration options for each template from chart-library

  • If, values are configured for a specific language, they can only be overridden in language level.

    If values.yaml have defaults like below:

    replicas: 1
    java:
      memoryRequests: '512Mi'

    An application chart configured below

    base:
      language: java
      replicas: 2
      memoryRequests: '1024Mi'

    will set replicas to 2 , but memoryRequests will still be 512Mi. It can be set 1024Mi by using below config

      base:
        language: java
        replicas: 2
        java:
          memoryRequests: '1024Mi'