helm-charts/docs/app-template/introduction.md
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2cf1c54473
docs: Documentation updates
2022-08-09 10:34:13 +02:00

1.4 KiB

App Template

Background

Since Helm library charts cannot be installed directly I have created a companion chart for the common library.

Usage

In order to use this template chart, you would deploy it as you would any other Helm chart. By setting the desired values, the common library chart will render the desired resources.

Be sure to check out the common library docs and its values.yaml for more information about the available configuration options.

Example

This is an example values.yaml file that would deploy the echo-server application.

image:
  repository: docker.io/jmalloc/echo-server
  tag: 0.3.3

service:
  main:
    ports:
      http:
        port: 8080

ingress:
  main:
    enabled: true
    ingressClassName: "nginx"
    hosts:
      - host: &host "echo-server.${INGRESS_DOMAIN}"
        paths:
          - path: /
    tls:
      - hosts:
          - *host

resources:
  requests:
    cpu: 15m
    memory: 64M
  limits:
    memory: 128M

Source code

The source code for the app template chart can be found here.