
For all upstream charts we use, this PS pins and/or updates the chart version to the latest in the respective chart repo. Signed-off-by: Tin Lam <tin@irrational.io> Change-Id: I39d2c1e13503d495b48bf93a7c0371de6eed6c96
20 lines
453 B
Bash
Executable File
20 lines
453 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
# Add the Helm repository
|
|
helm repo add kyverno https://kyverno.github.io/kyverno/
|
|
|
|
# Scan your Helm repositories to fetch the latest available charts.
|
|
helm repo update
|
|
|
|
# Install the Kyverno Helm chart into a new namespace called "kyverno"
|
|
helm upgrade \
|
|
--install \
|
|
--namespace kyverno \
|
|
kyverno \
|
|
kyverno/kyverno \
|
|
--version v1.3.3 \
|
|
--create-namespace
|
|
|
|
./tools/deployment/common/wait-for-pods.sh kyverno
|