-
Notifications
You must be signed in to change notification settings - Fork 5
Application Configuration
Lucas Rebscher edited this page Feb 18, 2021
·
1 revision
harness-application
will automatically create a deploy
folder containing a values.yaml
file.
Example path: applications/my-app/deploy/values.yaml
The values.yaml
can be used to configure your application.
A resource must be present as a file in a resources
folder inside the deploy
folder.
Resources will be mounted in the container at a specific path at deployment time.
Currently, we support json
and yaml
resource files.
Resources are defined at harness.resources
.
Each resource must consist of a name
, a src
path and a dst
path.
Example
harness:
...
resources:
- name: my-config
src: "myConfig.json"
dst: "/tmp/resources/myConfig.json"
- name: example
src: "example.yaml"
dst: "/usr/src/app/important_config.yaml"