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

Commit8af45d5

Browse files
committed
Update using-helm-in-codefresh-pipeline.md
1 parente5f3e67 commit8af45d5

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

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

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Once you have Helm repositories connected to Codefresh, you can import one or mo
7171

7272
1. Click the**Variables** tab on the right sidebar, and then click the**Settings** (gear) icon.
7373
1. Click**Import from shared configuration**, and select the Helm context or contexts to import into the pipeline:
74-
* To import a single context,whichis thegeneral requirement, select the`CF_HELM_DEFAULT`[shared configuration]({{site.baseurl}}/docs/configure-ci-cd-pipeline/shared-configuration/).
74+
* To import a single context,select the context. The`CF_HELM_DEFAULT`is thedefault Helm rep provided by Codefresh. See also[shared configuration]({{site.baseurl}}/docs/configure-ci-cd-pipeline/shared-configuration/).
7575
* To import multiple contexts, select each context to import.
7676

7777
{% include image.html
@@ -119,12 +119,16 @@ The Helm step can operate in one of three modes:
119119
120120
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.
122-
1. authentication only: Only setsup authentication and addsthe repoto 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.
122+
1. authentication: Setsup authentication, and addsone or more reposto 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-
If you 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.
127-
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'`.
126+
**Multiple Helm contexts for pipeline**
127+
128+
If you have imported multiple Helm contexts into the same pipeline:
129+
* For the `install` and `push` actions, you need to define the primary Helm context to use through the `primary_helm_context` argument.
130+
* For the `auth` action, to use the repos from the helm contexts imported into the pipeline, add `use_repos_for_auth_action: 'true'`. Otherwise, imported contexts, if any, are ignored for the `auth` action.
131+
128132
For a description of these and other arguments, see [Configuration](#configuration).
129133

130134

@@ -253,15 +257,15 @@ helm_repository_context | The name of the Helm repository integration configured
253257
helm_version|optional|version of [cfstep-helm image](https://hub.docker.com/r/codefresh/cfstep-helm/tags)
254258
kube_context|required for install|Kubernetes context to use. The name of the cluster as [configured in Codefresh]({{site.baseurl}}/docs/deploy-to-kubernetes/add-kubernetes-cluster/)
255259
namespace|optional|Target Kubernetes namespace to deploy to
256-
primary_helm_context |requiredfor `install` and `push` actions |The Helm context to use for the Helm command when the pipeline has multiple Helm contexts. When omitted, the repo most recently added to the pipeline is used.
257-
release_name|required for `install`|Helm release name. If the release exists, itwill beupgraded
260+
primary_helm_context |optional |Requiredfor `install` and `push` actionswhen the pipeline has multiple Helm contexts.The Helm context to use for the Helm command. When omitted, the repo most recently added to the pipeline is used.
261+
release_name|used for `install`|TheHelm release name. If the release exists, itisupgraded.
258262
repos|optional|array of custom repositories
259263
set_file | optional | Set values from the respective files specified by the command line in `key=value` format. To specify multiple key-value pairs, separate them with commas.
260264
skip_cf_stable_helm_repo | optional | Don't add stable repository.
261265
tiller_namespace|optional|Kubernetes namespace where Tiller is installed (unnecessary for Helm 3)
262266
timeout | optional | The maximum time, in seconds, to wait for Kubernetes commands to complete.
263267
use_debian_image | optional | Use Debian-based `cfstep-helm` image.
264-
use_repos_for_auth_action |optional | Requiredif thechart has dependencies on otherreposthat need to be authenticated. Set `true`.
268+
use_repos_for_auth_action |optional | Requiredfor the`auth` action to usereposfrom attached contexts. When required, set value to `true`.
265269
wait |optional | When specified, waits until all pods are in state `ready` to mark the release as successful. Otherwise, release is marked as successful when the minimum number of pods are `ready` and the Services have IP addresses.
266270

267271
## Full Helm pipeline example

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp