-
Notifications
You must be signed in to change notification settings - Fork 5
Extend CloudHarness
Filippo Ledda edited this page Feb 3, 2021
·
5 revisions
CloudHarness is born to be extended. In order to extend CloudHarness you just need to mirror the folder structure:
- applications: place here your custom applications, or override default ones
- deployment-configuration: override the helm chart default values and templates
- infrastructure: define base images to use in your application
or simply copy the blueprint folder.
First, create the folder deployment-configuration
on project level.
Then, you can selectively add files related to configuration that you want to personalize:
-
values-template.yaml
: base forhelm/<chart-name>/values.yaml
. Modify this file to add values related to new infrastructure elements not defined as an application -
value-template.yaml
: cloud-harness application configuration insidevalues.yaml
. Prefer adding a customvalues.yaml
to your application over changing this file. -
codefresh-template-dev.yaml
: base forcodefresh/codefresh-dev.yaml
. Modify this file if you want to change the build and deploy steps in the codefresh dev pipeline -
codefresh-template-prod.yaml
: base forcodefresh/codefresh-prod.yaml
. Modify this file if you want to change the deploy and publish steps in the codefresh production pipeline. The production pipeline is meant to reause the same set of images from a previously completed dev pipeline. -
codefresh-build-template.yaml
: base for a single build entry incodefresh.yaml