chart-testing icon indicating copy to clipboard operation
chart-testing copied to clipboard

RFE - allow way to specify folder for ci values files

Open itewk opened this issue 5 years ago • 1 comments

Is this a request for help?: no


Is this a BUG REPORT or FEATURE REQUEST? (choose one): feature

Version of Helm and Kubernetes:

helm version
kubectl version
ct version
version.BuildInfo{Version:"v3.4.1", GitCommit:"c4e74854886b2efe3321e185578e6db9be0a6e29", GitTreeState:"dirty", GoVersion:"go1.15.4"}
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:50:19Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0+9f84db3", GitCommit:"9f84db336d1a77cba52684ecb51bfb197e9b4533", GitTreeState:"clean", BuildDate:"2020-10-30T09:33:51Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
Version:	 3.3.0
Git commit:	 2a4dfd420d066f821b39724fba89133f930a9953
Date:		 2020-11-03
License:	 Apache 2.0

** scenario**: I need to use different test values depending on which infrastrcture I am testing against. Example, when testing against a kind kube server vs testing against an OpenShift kube server. Due to custome resources that only exist on openshift i have flags in my chart for using those resources when possible, and so I need to make different values files for those flags.

The problem is that ct install always runs all the tests against all the values files in the ci dir.

** request ** Have a flag on ci install to point at a specific ci dir (rather then it hard coded as it is today` so I can do something like

chart
|- ci
    |- kube
    |- openshift

Anything else we need to know:

Origionally i thought I wanted to ask to make it so --helm-extra-args only passed to helm install and a different arg passed to helm test so that i could pass in values at runtime, but I have since updated this RFE to allow for specifying the test values ci folder based on what I saw for responses in https://github.com/helm/chart-testing/issues/212.

itewk avatar Nov 20 '20 13:11 itewk

I think this is a duplicate of #171

smlx avatar Dec 14 '20 05:12 smlx

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Nov 23 '23 01:11 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Nov 28 '23 01:11 github-actions[bot]