ks-devops
ks-devops copied to clipboard
Add a template for deploying a Helm chart through a pipeline.
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.
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.
发版后才能验证