MicroSender Specification
In the values.yaml
file, under the events
field it is possible to configure microsenders.
To define custom microsenders, a new element must be added to the microsenders
array.
The YAML spec is the following:
# the name must be unique and should be prefixed by "ms-" (required)
- name: ms-example
image:
# the repository of the container image (required)
name: 100076361442.dkr.ecr.eu-south-1.amazonaws.com/kokos-ms-example
# the tag of the container image (required)
tag: 1.0.0
# microsender ID (required)
id: "X85.S01"
# custom deployment annotations (optional)
customDeploymentAnnotations: {}
# pod resource limits and requests (optional)
resources: {}
# custom volumes (optional)
extraVolumes: []
# - name: my-volume
# persistentVolumeClaim:
# claimName: pvc-smb-share0
# custom volume mounts (optional)
extraVolumeMounts: []
# - name: my-volume
# mountPath: /mnt/test-mount
# environment variables as key-value pairs (optional)
env:
EXAMPLE_ENV: my-value
EXAMPLE_ENV_2: my-value-2
# custom configuration files (optional)
extraConfigs: []
# - name: my-config
# filename: my-config.yaml
# # do not forget the trailing slash!
# mountPath: /home/kokos/my-custom-path/
# data: |
# exampleDatabaseName: postgresql