mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 09:45:14 +01:00
Update docs for Helm 3 (#194)
Signed-off-by: Reinhard Naegele <unguiculus@gmail.com>
This commit is contained in:
@@ -18,7 +18,7 @@ set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
readonly IMAGE_TAG=v2.4.0
|
||||
readonly IMAGE_TAG=v3.0.0
|
||||
readonly IMAGE_REPOSITORY="quay.io/helmpack/chart-testing"
|
||||
|
||||
main() {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM quay.io/helmpack/chart-testing:v2.4.0
|
||||
FROM quay.io/helmpack/chart-testing:v3.0.0
|
||||
|
||||
ENV PATH /google-cloud-sdk/bin:$PATH
|
||||
ARG CLOUD_SDK_VERSION=221.0.0
|
||||
|
||||
@@ -10,7 +10,7 @@ jobs:
|
||||
|
||||
lint-charts:
|
||||
docker:
|
||||
- image: quay.io/helmpack/chart-testing:v2.4.0
|
||||
- image: quay.io/helmpack/chart-testing:v3.0.0
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
|
||||
@@ -4,7 +4,7 @@ set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
readonly CT_VERSION=v2.4.0
|
||||
readonly CT_VERSION=v3.0.0
|
||||
readonly KIND_VERSION=v0.5.1
|
||||
readonly CLUSTER_NAME=chart-testing
|
||||
readonly K8S_VERSION=v1.15.3
|
||||
@@ -57,14 +57,6 @@ create_kind_cluster() {
|
||||
echo
|
||||
}
|
||||
|
||||
install_tiller() {
|
||||
echo 'Installing Tiller...'
|
||||
docker_exec kubectl --namespace kube-system create sa tiller
|
||||
docker_exec kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
|
||||
docker_exec helm init --service-account tiller --upgrade --wait
|
||||
echo
|
||||
}
|
||||
|
||||
install_local-path-provisioner() {
|
||||
# kind doesn't support Dynamic PVC provisioning yet, this is one ways to get it working
|
||||
# https://github.com/rancher/local-path-provisioner
|
||||
@@ -88,7 +80,6 @@ main() {
|
||||
|
||||
create_kind_cluster
|
||||
install_local-path-provisioner
|
||||
install_tiller
|
||||
install_charts
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user