1.9 KiB
cf-runtime helm chart
To install the Codefresh Runner using helm you need to follow these steps:
-
Download the Codefresh CLI and authenticate it with your Codefresh account. Click here for more detailed instructions.
-
Install yq
-
Run the following command on your local machine to create all of the necessary enitites in Codefresh:
codefresh runner init --generate-helm-values-file
- This will not install anything on your cluster, except for running cluster acceptance tests, which may be skipped using the
--skip-cluster-test
option). - This command will also generate a
generated_values.yaml
file in your current directory, which you will need to provide to thehelm install
command later.
- This will not install anything on your cluster, except for running cluster acceptance tests, which may be skipped using the
-
Download the default
values.yaml
file in the same path as thegenerated_values.yaml
file.curl -L https://raw.githubusercontent.com/codefresh-io/venona/release-1.0/charts/cf-runtime/values.yaml > values.yaml
-
Convert
generated_values.yaml
to yaml.yq eval -P generated_values.yaml > generated_values_converted.yaml
-
Merge the two files together using
yq
Note: The order of the files being merged together is important. Please make sure the generated values file is in second place.
yq eval-all '. as $item ireduce ({}; . * $item)' values.yaml generated_values_converted.yaml > merged-values.yaml
-
Select a namespace to install to. If it's a new namespace it will need to be created before using the wizard (e.g. a
codefresh
namespace). Click next. -
On the following screen: Select all text and replace with the newly created
merged-values.yaml
file and click on Install.