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

Commit3ae215b

Browse files
2 parentse3c35f4 +2133f0e commit3ae215b

File tree

2 files changed

+39
-6
lines changed

2 files changed

+39
-6
lines changed

‎_docs/new-helm/helm-releases-management.md‎

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ You can issue a [Helm test](https://github.com/kubernetes/helm/blob/master/docs/
135135
You can delete a release by clicking on the 'Delete' button on the desired chart row.
136136
For deletion options, see the[helm delete documentation](https://github.com/kubernetes/helm/blob/master/docs/helm/helm_delete.md), for example,*purge* will remove the revision from the release history.
137137

138-
###Overriding the default Helmaction
138+
###Overriding the default Helmactions
139139

140140
By default Codefresh will just execute the native Helm command for each GUI action that you press
141141

@@ -153,11 +153,43 @@ file="/images/kubernetes-helm/dashboard/override-helm-actions.png"
153153
url="/images/kubernetes-helm/dashboard/override-helm-actions.png"
154154
alt="Changing default Helm actions"
155155
caption="Changing default Helm actions"
156-
max-width="40%"
156+
max-width="50%"
157157
%}
158158

159159
This way you can add your extra logic on top of these actions. For example your own Helm uninstall pipeline might also have a notification step that posts a message to a slack channel after the release is removed.
160160

161+
If you do override any of these actions the following[environment variables]({{site.baseurl}}/docs/codefresh-yaml/variables/) are available in the respective pipeline, so that you can use your own custom helm command.
162+
163+
*Helm Test pipeline*
164+
165+
*`CF_HELM_RELEASE` - name of release
166+
*`CF_HELM_KUBE_CONTEXT` - kubectl context name of target cluster (cluster name from[dashboard]({{site.baseurl}}/docs/deploy-to-kubernetes/manage-kubernetes/#work-with-your-services))
167+
*`CF_HELM_NAMESPACE` - namespace for Tiller Namespace (helm2) or namespace where release is stored (helm3)
168+
*`CF_HELM_TIMEOUT` - time in seconds to wait for any individual Kubernetes operation
169+
*`CF_HELM_CLEANUP` - delete test pods upon completion
170+
*`CF_HELM_TILLER_VERSION` - version of tiller for helm2
171+
172+
173+
*Helm Rollback pipeline*
174+
175+
*`CF_HELM_VERSION` - Helm version, ex.: 3.0.1, 2.7.0
176+
*`CF_HELM_RELEASE` - name of release on cluster
177+
*`CF_HELM_REVISION` - revision which will be used for rollback
178+
*`CF_HELM_KUBE_CONTEXT` - kubectl context name of target cluster (cluster name from[dashboard]({{site.baseurl}}/docs/deploy-to-kubernetes/manage-kubernetes/#work-with-your-services))
179+
*`CF_HELM_NAMESPACE` - namespace for Tiller Namespace (helm2) or namespace where release is stored (helm3)
180+
181+
182+
*Helm delete pipeline*
183+
184+
*`CF_HELM_PURGE` - boolean, delete release from store
185+
*`CF_HELM_RELEASE` - name of release
186+
*`CF_HELM_TIMEOUT` - time in seconds to wait for any individual Kubernetes operation
187+
*`CF_HELM_HOOKS` - prevent hooks from running during install
188+
*`CF_HELM_KUBE_CONTEXT` - kubectl context name of target cluster (cluster name from[dashboard]({{site.baseurl}}/docs/deploy-to-kubernetes/manage-kubernetes/#work-with-your-services))
189+
*`CF_HELM_VERSION` - Helm version, ex.: 3.0.1, 2.7.0
190+
*`CF_HELM_NAMESPACE` - namespace for Tiller Namespace (helm2) or namespace where release is stored (helm3)
191+
192+
161193

162194
##Helm Deployment Badge
163195

‎_docs/whats-new/whats-new.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Recent Codefresh updates:
1717
- Environment board now supports Helm 3 -[documentation]({{site.baseurl}}/docs/deploy-to-kubernetes/environment-dashboard/)
1818
- Promotion board now supports Helm 3 -[documentation]({{site.baseurl}}/docs/new-helm/helm-environment-promotion/)
1919
- New pipeline Helm step -[documentation]({{site.baseurl}}/docs/new-helm/using-helm-in-codefresh-pipeline/#examples)
20+
- Variables available for Helm pipelines -[documentation]({{site.baseurl}}/docs/new-helm/helm-releases-management/#overriding-the-default-helm-actions)
2021
- Both Helm 2 and Helm 3 clusters can be used at the same time
2122
- Installing the Codefresh runner behind proxy -[documentation]({{site.baseurl}}/docs/enterprise/codefresh-runner/#installing-behind-a-proxy)
2223

@@ -71,7 +72,7 @@ Recent Codefresh updates:
7172
###October 2019
7273

7374
- Debugging pipelines with breakpoints -[documentation]({{site.baseurl}}/docs/configure-ci-cd-pipeline/debugging-pipelines/)
74-
- Matrix builds and implicitparalllel steps -[documentation]({{site.baseurl}}/docs/codefresh-yaml/advanced-workflows/#implicit-parallel-steps)
75+
- Matrix builds and implicitparallel steps -[documentation]({{site.baseurl}}/docs/codefresh-yaml/advanced-workflows/#implicit-parallel-steps)
7576
- New Build view filters -[documentation]({{site.baseurl}}/docs/configure-ci-cd-pipeline/monitoring-pipelines/#creating-build-views)
7677
- Deployments with Packer -[documentation]({{site.baseurl}}/docs/yaml-examples/examples/packer-gcloud/)
7778
- Calling child pipelines -[documentation]({{site.baseurl}}/docs/yaml-examples/examples/call-child-pipelines/)
@@ -105,7 +106,7 @@ Recent Codefresh updates:
105106
- Approval steps have now timeouts -[documentation]({{site.baseurl}}/docs/codefresh-yaml/steps/approval/#automatic-approvalsrejections)
106107
- Approval steps have now access control -[documentation]({{site.baseurl}}/docs/codefresh-yaml/steps/approval/#approval-restrictions)
107108
- Concurrency limits on pipelines -[documentation]({{site.baseurl}}/docs/configure-ci-cd-pipeline/pipelines/#pipeline-settings)
108-
- Terminationsetttings on pipelines -[documentation]({{site.baseurl}}/docs/configure-ci-cd-pipeline/pipelines/#pipeline-settings)
109+
- Terminationsettings on pipelines -[documentation]({{site.baseurl}}/docs/configure-ci-cd-pipeline/pipelines/#pipeline-settings)
109110
- API keys have now different access scopes -[documentation]({{site.baseurl}}/docs/integrations/codefresh-api/#access-scopes)
110111

111112

@@ -280,7 +281,7 @@ Recent Codefresh updates:
280281
- can visually see differences between releases
281282
- Misc:
282283
- UI and bug fixes.
283-
- reorganized Helm docs, including samples on how package charts and push to registry:[Create Helm artifacts using Codefresh pipeline]({{site.baseurl}}/docs/new-helm/create-helm-artifacts-using-codefresh-pipeline/)
284+
- reorganized Helm docs, including samples on how package charts and push to registry:[Create Helm artifacts using Codefresh pipeline]({{site.baseurl}}/docs/new-helm/create-helm-artifacts-using-codefresh-pipeline/)
284285
- Pre-release of our brand new CLI at[https://github.com/codefresh-io/cli](https://github.com/codefresh-io/cli)
285286
- Using our new cli, you can now execute many pipelines in parallel with different configurations for each.
286287

@@ -297,7 +298,7 @@ Recent Codefresh updates:
297298
- Easily manage your cluster configuration using Codefresh by creating, importing and sharing Config maps between your Kubernetes namespaces and clusters.
298299
- If you want to trigger Codefresh pipelines from other tool, use our pipeline hook to build, test and deploy from any command line / script / 3rd party.
299300
- Test your cluster Credentials and connectivity in one click.
300-
- We added integration with main self-hosted GIT providers to our PRO plan. You can now use Codefresh with yourrepos from:
301+
- We added integration with main self-hosted GIT providers to our PRO plan. You can now use Codefresh with yourrepositories from:
301302
- GitHub enterprise
302303
- Bitbucket Enterprise
303304
- Gitlab enterprise

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp