Merge "Add Kyverno to Jarvis AIO"

This commit is contained in:
Zuul 2021-02-16 20:05:23 +00:00 committed by Gerrit Code Review
commit 673d29436c
3 changed files with 20 additions and 0 deletions

View File

@ -35,6 +35,7 @@ Vagrant.configure("2") do |config|
./tools/gate/jarvis/010-pre-setup.sh
./tools/gate/jarvis/050-setup-development-ca.sh
./tools/gate/jarvis/100-deploy-k8s.sh
./tools/gate/jarvis/150-deploy-kyverno.sh
./tools/gate/jarvis/200-deploy-support.sh
./tools/gate/jarvis/300-deploy-loki.sh
./tools/gate/jarvis/400-deploy-harbor.sh

View File

@ -0,0 +1,18 @@
#!/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 \
--create-namespace
./tools/deployment/common/wait-for-pods.sh kyverno

View File

@ -33,6 +33,7 @@
gate_scripts:
- ./tools/gate/jarvis/050-setup-development-ca.sh
- ./tools/gate/jarvis/100-deploy-k8s.sh
- ./tools/gate/jarvis/150-deploy-kyverno.sh
- ./tools/gate/jarvis/200-deploy-support.sh
- ./tools/gate/jarvis/300-deploy-loki.sh
- ./tools/gate/jarvis/400-deploy-harbor.sh