ks-devops
ks-devops copied to clipboard
Support to set Helm parameters of an Application
/area console /kind feature
@chenz24: GitHub didn't allow me to assign the following users: bunnymiao.
Note that only kubesphere members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. For more information please see the contributor guide
In response to this:
/assign @bunnymiao
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Basically, this issue requests to allow users to set the parameters like the following helm part.
spec:
argoApp:
spec:
source:
repoURL: 'https://github.com/devops-ws/learn-kustomization'
path: helm-raw/nginx
targetRevision: HEAD
helm:
valueFiles:
- helm-raw/nginx/values.yaml # related to the git repository directory
parameters:
- name: image.tag
value: latest
- name: service.type
value: NodePort
releaseName: nginx
ignoreMissingValueFiles: true
skipCrds: true
By the way, we need to provide an option to choose which Configuration Tool that they want to use. The possible values are: kustomize, helm and none.
In this case, users need to choose helm before setting those parameters.
See the description of above fields from
https://github.com/kubesphere/ks-devops/blob/59547bbae728f21875e2229db15753a0d91af2a6/pkg/api/gitops/v1alpha1/application.go#L271
/assign