mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 09:45:14 +01:00
committed by
Reinhard Nägele
parent
acfb89768e
commit
c97c7907c3
@@ -5,7 +5,7 @@ set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
readonly CLUSTER_NAME=chart-testing
|
||||
readonly K8S_VERSION=v1.13.2
|
||||
readonly K8S_VERSION=v1.13.4
|
||||
|
||||
create_kind_cluster() {
|
||||
kind create cluster --name "$CLUSTER_NAME" --image "kindest/node:$K8S_VERSION" --wait 10s
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
|
||||
This example shows how to lint and test charts using CircleCi and [kind](https://github.com/kubernetes-sigs/kind).
|
||||
It creates a cluster with a single master node and one worker node.
|
||||
The cluster configuration can be adjusted in [kind-config.yaml](test/kind-config.yaml).
|
||||
The cluster configuration can be adjusted in [kind-config.yaml](test/kind-config.yaml). You can check for available configuration options in `kind` [docs](https://kind.sigs.k8s.io/docs/user/quick-start#configuring-your-kind-cluster)
|
||||
|
||||
@@ -5,9 +5,9 @@ set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
readonly CT_VERSION=v2.2.0
|
||||
readonly KIND_VERSION=0.1.0
|
||||
readonly KIND_VERSION=0.2.0
|
||||
readonly CLUSTER_NAME=chart-testing
|
||||
readonly K8S_VERSION=v1.13.2
|
||||
readonly K8S_VERSION=v1.13.4
|
||||
|
||||
run_ct_container() {
|
||||
echo 'Running ct container...'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
kind: Config
|
||||
apiVersion: kind.sigs.k8s.io/v1alpha2
|
||||
kind: Cluster
|
||||
apiVersion: kind.sigs.k8s.io/v1alpha3
|
||||
nodes:
|
||||
- role: control-plane
|
||||
- role: worker
|
||||
replicas: 1
|
||||
|
||||
Reference in New Issue
Block a user