You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/new-helm/helm-releases-management.md
+34-2Lines changed: 34 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,7 @@ You can issue a [Helm test](https://github.com/kubernetes/helm/blob/master/docs/
135
135
You can delete a release by clicking on the 'Delete' button on the desired chart row.
136
136
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.
137
137
138
-
###Overriding the default Helmaction
138
+
###Overriding the default Helmactions
139
139
140
140
By default Codefresh will just execute the native Helm command for each GUI action that you press
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.
160
160
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
*`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))
Copy file name to clipboardExpand all lines: _docs/whats-new/whats-new.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ Recent Codefresh updates:
17
17
- Environment board now supports Helm 3 -[documentation]({{site.baseurl}}/docs/deploy-to-kubernetes/environment-dashboard/)
18
18
- Promotion board now supports Helm 3 -[documentation]({{site.baseurl}}/docs/new-helm/helm-environment-promotion/)
19
19
- 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)
20
21
- Both Helm 2 and Helm 3 clusters can be used at the same time
21
22
- Installing the Codefresh runner behind proxy -[documentation]({{site.baseurl}}/docs/enterprise/codefresh-runner/#installing-behind-a-proxy)
22
23
@@ -71,7 +72,7 @@ Recent Codefresh updates:
71
72
###October 2019
72
73
73
74
- 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)
75
76
- New Build view filters -[documentation]({{site.baseurl}}/docs/configure-ci-cd-pipeline/monitoring-pipelines/#creating-build-views)
76
77
- Deployments with Packer -[documentation]({{site.baseurl}}/docs/yaml-examples/examples/packer-gcloud/)
- Approval steps have now timeouts -[documentation]({{site.baseurl}}/docs/codefresh-yaml/steps/approval/#automatic-approvalsrejections)
106
107
- Approval steps have now access control -[documentation]({{site.baseurl}}/docs/codefresh-yaml/steps/approval/#approval-restrictions)
107
108
- 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)
109
110
- API keys have now different access scopes -[documentation]({{site.baseurl}}/docs/integrations/codefresh-api/#access-scopes)
110
111
111
112
@@ -280,7 +281,7 @@ Recent Codefresh updates:
280
281
- can visually see differences between releases
281
282
- Misc:
282
283
- 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/)
284
285
- Pre-release of our brand new CLI at[https://github.com/codefresh-io/cli](https://github.com/codefresh-io/cli)
285
286
- Using our new cli, you can now execute many pipelines in parallel with different configurations for each.
286
287
@@ -297,7 +298,7 @@ Recent Codefresh updates:
297
298
- Easily manage your cluster configuration using Codefresh by creating, importing and sharing Config maps between your Kubernetes namespaces and clusters.
298
299
- 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.
299
300
- 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: