Skip to content

Commit 62e23ac

Browse files
authored
Update docs for Helm 3 (#194)
Signed-off-by: Reinhard Naegele <[email protected]>
1 parent b9d4ad0 commit 62e23ac

File tree

13 files changed

+14
-25
lines changed

13 files changed

+14
-25
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Run the script specifying the version for the new release.
200200
./tag.sh --tag <release_version>
201201
```
202202

203-
Versions must start with a lower-case `v`, e. g. `v2.4.0`.
203+
Versions must start with a lower-case `v`, e. g. `v3.0.0`.
204204

205205

206206
## Supported versions

ct/cmd/install.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func addInstallFlags(flags *flag.FlagSet) {
6262
the ID of a pull request. If not specified, the name of the chart is used`))
6363
flags.String("helm-extra-args", "", heredoc.Doc(`
6464
Additional arguments for Helm. Must be passed as a single quoted string
65-
(e.g. "--timeout 500 --tiller-namespace tiller"`))
65+
(e.g. "--timeout 500"`))
6666
flags.Bool("upgrade", false, heredoc.Doc(`
6767
Whether to test an in-place upgrade of each chart from its previous revision if the
6868
current version should not introduce a breaking change according to the SemVer spec`))

doc/ct.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ in given chart directories.
2626
* [ct list-changed](ct_list-changed.md) - List changed charts
2727
* [ct version](ct_version.md) - Print version information
2828

29-
###### Auto generated by spf13/cobra on 21-Mar-2019
29+
###### Auto generated by spf13/cobra on 13-Dec-2019

doc/ct_install.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ct install [flags]
4848
--excluded-charts strings Charts that should be skipped. May be specified multiple times
4949
or separate values with commas
5050
--helm-extra-args string Additional arguments for Helm. Must be passed as a single quoted string
51-
(e.g. "--timeout 500 --tiller-namespace tiller"
51+
(e.g. "--timeout 500"
5252
--helm-repo-extra-args strings Additional arguments for the 'helm repo add' command to be
5353
specified on a per-repo basis with an equals sign as delimiter
5454
(e.g. 'myrepo=--username test --password secret'). May be specified
@@ -71,4 +71,4 @@ ct install [flags]
7171

7272
* [ct](ct.md) - The Helm chart testing tool
7373

74-
###### Auto generated by spf13/cobra on 21-Mar-2019
74+
###### Auto generated by spf13/cobra on 13-Dec-2019

doc/ct_lint-and-install.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ct lint-and-install [flags]
3636
--excluded-charts strings Charts that should be skipped. May be specified multiple times
3737
or separate values with commas
3838
--helm-extra-args string Additional arguments for Helm. Must be passed as a single quoted string
39-
(e.g. "--timeout 500 --tiller-namespace tiller"
39+
(e.g. "--timeout 500"
4040
--helm-repo-extra-args strings Additional arguments for the 'helm repo add' command to be
4141
specified on a per-repo basis with an equals sign as delimiter
4242
(e.g. 'myrepo=--username test --password secret'). May be specified
@@ -66,4 +66,4 @@ ct lint-and-install [flags]
6666

6767
* [ct](ct.md) - The Helm chart testing tool
6868

69-
###### Auto generated by spf13/cobra on 21-Mar-2019
69+
###### Auto generated by spf13/cobra on 13-Dec-2019

doc/ct_lint.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ ct lint [flags]
6565

6666
* [ct](ct.md) - The Helm chart testing tool
6767

68-
###### Auto generated by spf13/cobra on 21-Mar-2019
68+
###### Auto generated by spf13/cobra on 13-Dec-2019

doc/ct_list-changed.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ ct list-changed [flags]
2828

2929
* [ct](ct.md) - The Helm chart testing tool
3030

31-
###### Auto generated by spf13/cobra on 21-Mar-2019
31+
###### Auto generated by spf13/cobra on 13-Dec-2019

doc/ct_version.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ ct version [flags]
2020

2121
* [ct](ct.md) - The Helm chart testing tool
2222

23-
###### Auto generated by spf13/cobra on 21-Mar-2019
23+
###### Auto generated by spf13/cobra on 13-Dec-2019

examples/docker-for-mac/my_test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -o errexit
1818
set -o nounset
1919
set -o pipefail
2020

21-
readonly IMAGE_TAG=v2.4.0
21+
readonly IMAGE_TAG=v3.0.0
2222
readonly IMAGE_REPOSITORY="quay.io/helmpack/chart-testing"
2323

2424
main() {

examples/gke/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM quay.io/helmpack/chart-testing:v2.4.0
15+
FROM quay.io/helmpack/chart-testing:v3.0.0
1616

1717
ENV PATH /google-cloud-sdk/bin:$PATH
1818
ARG CLOUD_SDK_VERSION=221.0.0

examples/kind/.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
lint-charts:
1212
docker:
13-
- image: quay.io/helmpack/chart-testing:v2.4.0
13+
- image: quay.io/helmpack/chart-testing:v3.0.0
1414
steps:
1515
- checkout
1616
- run:

examples/kind/test/e2e-kind.sh

+1-10
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -o errexit
44
set -o nounset
55
set -o pipefail
66

7-
readonly CT_VERSION=v2.4.0
7+
readonly CT_VERSION=v3.0.0
88
readonly KIND_VERSION=v0.5.1
99
readonly CLUSTER_NAME=chart-testing
1010
readonly K8S_VERSION=v1.15.3
@@ -57,14 +57,6 @@ create_kind_cluster() {
5757
echo
5858
}
5959

60-
install_tiller() {
61-
echo 'Installing Tiller...'
62-
docker_exec kubectl --namespace kube-system create sa tiller
63-
docker_exec kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
64-
docker_exec helm init --service-account tiller --upgrade --wait
65-
echo
66-
}
67-
6860
install_local-path-provisioner() {
6961
# kind doesn't support Dynamic PVC provisioning yet, this is one ways to get it working
7062
# https://github.com/rancher/local-path-provisioner
@@ -88,7 +80,6 @@ main() {
8880

8981
create_kind_cluster
9082
install_local-path-provisioner
91-
install_tiller
9283
install_charts
9384
}
9485

pkg/chart/chart.go

-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ type Git interface {
6161

6262
// Helm is the interface that wraps Helm operations
6363
//
64-
// Init runs client-side Helm initialization
65-
//
6664
// AddRepo adds a chart repository to the local Helm configuration
6765
//
6866
// BuildDependencies builds the chart's dependencies

0 commit comments

Comments
 (0)