ks-devops icon indicating copy to clipboard operation
ks-devops copied to clipboard

Add a template for deploying a Helm chart through a pipeline.

Open chilianyi opened this issue 2 years ago • 2 comments
trafficstars

What is version of KubeSphere DevOps has the issue?

v3.3.1

How did you install the Kubernetes? Or what is the Kubernetes distribution?

kubekey

Describe this feature

Refer to https://kubesphere.io/forum/d/9485

Some users may not be familiar with how to deploy a Helm chart through KubeSphere's DevOps process to their current KubeSphere clusters. Currently, it can be done by using the Helm CLI in a pipeline step. To make it easier for users to refer to and use, a pipeline template can be integrated into the KubeSphere platform.

Additional information

An excellent example is https://github.com/Feeeenng/devops-maven-sample/blob/helm/Jenkinsfile-helm, which can be used to create a template. The template can be committed to the location https://github.com/kubesphere-sigs/pipeline-templates/tree/main/featured/pipelines. When integrated with the next release of DevOps, it will be automatically included in the version.

chilianyi avatar Apr 18 '23 10:04 chilianyi

this is sample example. https://github.com/Feeeenng/devops-maven-sample/blob/helm/pipeline-helm.yaml The next step plan will be realized through ClusterStepTemplate, which can be added in the user's own pipeline.

Feeeenng avatar Apr 19 '23 10:04 Feeeenng

发版后才能验证

wangqiwq avatar Jun 02 '23 08:06 wangqiwq