Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite5f3e67

Browse files
committed
Update using-helm-in-codefresh-pipeline.md
1 parent47ac877 commite5f3e67

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

‎_docs/new-helm/using-helm-in-codefresh-pipeline.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,12 @@ You will need to connect your repository with Codefresh as described [here]({{si
6767

6868
###Step 4 (optional) - Import Helm configuration(s) into your pipeline definition
6969

70-
Once you have single or multiple Helm repositories connected to Codefresh, you can attach one or more them to the pipeline.
71-
Do this by opening the advanced options (the gear icon) in the variables section in the right sidebar.
72-
Then click on*Import from shared configuration* and select the Helm context or contexts to import into the pipeline:
70+
Once you have Helm repositories connected to Codefresh, you can import one or more of them into the pipeline. This step is needed in pipelines that actually upload/fetch Helm charts from/to Helm repositories. If you have a pipeline that directly installs a Helm chart from the Git filesystem, there is no need to import a Helm configuration.
71+
72+
1. Click the**Variables** tab on the right sidebar, and then click the**Settings** (gear) icon.
73+
1. Click**Import from shared configuration**, and select the Helm context or contexts to import into the pipeline:
7374
* To import a single context, which is the general requirement, select the`CF_HELM_DEFAULT`[shared configuration]({{site.baseurl}}/docs/configure-ci-cd-pipeline/shared-configuration/).
74-
* To import multiple contexts, select each context toadd.
75+
* To import multiple contexts, select each context toimport.
7576

7677
{% include image.html
7778
lightbox="true"
@@ -82,10 +83,9 @@ caption="Connecting a Helm repository in the pipeline"
8283
max-width="50%"
8384
%}
8485

85-
You can also click on*Add shared configuration* directly from the three dots menu for the same functionality.
86-
This concludes the Helm setup for Codefresh. Now you can use the Helm freestyle step in the pipeline`codefresh.yml` file.
86+
>You can also click on*Add shared configuration* directly from the three dots menu for the same functionality.
8787
88-
Note that this step is only needed in pipelines that actually upload/fetchHelmcharts from/to Helm repositories. If youhave a pipeline that directly installs aHelmchart fromthegit filesystem, there is no need to import a Helm configuration.
88+
This concludes theHelmsetup for Codefresh. Now youcan use theHelmfreestyle step inthepipeline`codefresh.yml` file.
8989

9090

9191

@@ -117,13 +117,13 @@ deploy:
117117
118118
The Helm step can operate in one of three modes:
119119
120-
1. install:Install the Helm chart into a Kubernetes cluster. This is the default mode if not explicitly set.
120+
1. install:Installs the Helm chart into a Kubernetes cluster. This is the default mode, if a mode is not explicitly set.
121121
1. push: Packages the Helm chart and pushes it to the repository.
122122
1. authentication only: Only sets up authentication and adds the repo to the helm. This is useful if you want to write your own helm commands using the freestyle step's`commands` property, but you still want the step to handle authentication.
123123

124124
The operation mode is set by the `action` field, where the value can be `install`/`push`/`auth`.
125125

126-
For the `install` and `push` actions, ifyou have imported multiple Helm contexts into the same pipeline, you need to define the primary Helm context to use through the `primary_helm_context` argument.
126+
Ifyou have imported multiple Helm contexts into the same pipeline, for the `install` and `push` actions you need to define the primary Helm context to use through the `primary_helm_context` argument.
127127
For the `auth` action, if the chart has dependencies on other repos, then to authenticate the referenced repos, you need to add `use_repos_for_auth_action:'true'`.
128128
For a description of these and other arguments, see [Configuration](#configuration).
129129
@@ -239,7 +239,7 @@ Notes:
239239

240240
Name|Required|Description
241241
---|---|---
242-
action|defaults to'install'|Operation mode:`install`/`push`/`auth`
242+
action|defaults to`install'|Operation mode:`install`/`push`/`auth`
243243
chart_name|required for install/push|Chart reference to use, adhering to Helm's lookup rules (path to chart folder, or name of packaged chart). There's no need to prefix with `/reponame` if referencing a chart in a repository, this is handled automatically. a.k.a `CHART_NAME` but `CHART_NAME` shouldn't be used anymore.
244244
chart_repo_url|optional|Helm chart repository URL. If a [Helm repository configuration](#step-4-optional---import-the-helm-configuration-in-your-pipeline-definition) is attached to the pipeline, this setting is ignored
245245
chart_subdir |optional | The subfolder where the chart is located in the JFrog Artifactory Helm repository.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp