fix: postInstall error

This commit is contained in:
mrjoelkamp
2024-06-10 15:11:20 -05:00
parent 9b1325a0e4
commit cc8881eea1
2 changed files with 4 additions and 2 deletions

View File

@@ -104,9 +104,10 @@ jobs:
helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts
helm install gatekeeper/gatekeeper \
--version ${GATEKEEPER_VERSION} \
--set postInstall.probeWebhook.httpTimeout=300 \
--set postInstall.probeWebhook.waitTimeout=300 \
--set postInstall.probeWebhook.enabled=false \
--set postInstall.labelNamespace.enabled=false \
--set validatingWebhookFailurePolicy=Fail \
--set validatingWebhookTimeoutSeconds=15 \
--set enableExternalData=true \
--name-template=gatekeeper \
--namespace security \

View File

@@ -21,6 +21,7 @@ teardown_file() {
@test "attest-provider is running" {
wait_for_process ${WAIT_TIME} ${SLEEP_TIME} "kubectl -n ${GATEKEEPER_NAMESPACE} wait --for=condition=Ready --timeout=60s pod -l run=attest-provider"
sleep 5 # we need a readiness probe https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-readiness-probes
}
@test "attest validation" {