Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

[gatekeeper] chore: upgrade gatekeeper and setup remap values #928

Merged
merged 1 commit into from
Mar 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 22 additions & 5 deletions addons/gatekeeper/gatekeeper.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apiVersion: kubeaddons.mesosphere.io/v1beta1
apiVersion: kubeaddons.mesosphere.io/v1beta2
kind: Addon
metadata:
name: gatekeeper
namespace: kubeaddons
labels:
kubeaddons.mesosphere.io/name: gatekeeper
annotations:
catalog.kubeaddons.mesosphere.io/addon-revision: "3.2.2-2"
appversion.kubeaddons.mesosphere.io/gatekeeper: "3.2.2"
catalog.kubeaddons.mesosphere.io/addon-revision: "3.3.0-1"
appversion.kubeaddons.mesosphere.io/gatekeeper: "3.3.0"
docs.kubeaddons.mesosphere.io/gatekeeper: "https://github.com/open-policy-agent/gatekeeper/blob/master/README.md"
values.chart.helm.kubeaddons.mesosphere.io/gatekeeper: "https://raw.githubusercontent.com/mesosphere/charts/34a717f/staging/gatekeeper/values.yaml"
spec:
Expand All @@ -33,13 +33,30 @@ spec:
chartReference:
chart: gatekeeper
repo: https://mesosphere.github.io/charts/staging
version: 0.5.2
version: 0.6.0
valuesRemap:
"mutations.enable": "gatekeeper.mutation.enable"
"mutations.enablePodProxy": "gatekeeper.mutation.enablePodProxy"
"proxySettings.noProxy": "gatekeeper.no-proxy"
"proxySettings.httpProxy": "gatekeeper.http-proxy"
"proxySettings.httpsProxy": "gatekeeper.https-proxy"
values: |
---
replicas: 2
image:
repository: openpolicyagent/gatekeeper
release: v3.2.2
release: v3.3.0
webhook:
certManager:
enabled: true

# ProxySettings
proxySettings:
noProxy:
httpProxy:
httpsProxy:

# enable mutations
mutations:
enable: false
enablePodProxy: false
3 changes: 1 addition & 2 deletions test/test-aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ set -eo pipefail
branch=${1:-master}

echo "INFO: the following test groups will be run:"
tests=$(go run -tags experimental scripts/test-wrapper.go origin "${branch}" | grep '^Test' | grep 'TestAwsGroup\|TestElasticsearchGroup\|TestIstioGroup')
echo "${tests}"
tests=$(go run -tags experimental scripts/test-wrapper.go origin "${branch}" | grep '^Test' | grep 'TestAwsGroup\|TestElasticsearchGroup\|TestIstioGroup') && echo ${tests}

pids=()
for g in ${tests}
Expand Down