Youtap Core Engine
Breadcrumbs

Youtap Helm Application Chart

Application Versions

To control the version of code being deployed in the helm chart change the “versions” section in the values.yaml file.

versions:
  api-gateway: 5.0.0
  approval-rest-api: 4104
  audit-rest-api: 4146
  auth-server: 5.0.0
  checkout-rest-api: 2952
  configuration-server: 5.0.0
  ...

There are several types of pipeline image that can be used:

latest - The latest pipeline to have successfully published code

latest-release - The latest tagged release

<PIPELINE ID> - You can use the pipeline id directly (will be phased out in future)

<TAG> - You can use the released tag directly as well e.g. 5.0.0, 7.1.1, etc

Liquibase

To change the liquibase version change the jobs.liquibase.tag value. Same versioning rules will apply.

To change the cronjob partition cronjobs.partition.tag

Application Resources

The defaults for all applications is in the section:

resources:
  requests:
    memory: "128Mi"
    cpu: "50m"
  limits:
    memory: "512Mi"
    cpu: "330m"

This can be overwritten for each deployment in the deployments section:

  - name: yts-admin-management-system
    port: 443
    labels:
      app.kubernetes.io/name: yts-admin-management-system
    configmap: yts-admin-management-system-config
    resources:
      requests:
        memory: "256Mi"
        cpu: "50m"
      limits:
        memory: "1Gi"
        cpu: "500m"

Custom Image Repository

By default the images are retrieved from 153885831466.dkr.ecr.ap-southeast-2.amazonaws.com/youtap-ecr-shared, but this can be customised in the deployments section:

deployments:
...
  - name: promotion-service
    image:
      registry: 561231875332.dkr.ecr.ap-southeast-2.amazonaws.com
      name: yts-promotion/promotion-service-api

When this image section is defined the deployment template will use {image.registry}/{image.name}:{name}-{version} as the image format instead of the default {registry+repository}:{name}-{version}. For example, the promotion service above would resolve to 561231875332.dkr.ecr.ap-southeast-2.amazonaws.com/yts-promotion/promotion-service-api:promotion-service-15801 instead of

153885831466.dkr.ecr.ap-southeast-2.amazonaws.com/youtap-ecr-shared:customer-server-15032 for the customer server.