fix: postInstall error
This commit is contained in:
5
.github/workflows/workflow.yaml
vendored
5
.github/workflows/workflow.yaml
vendored
@@ -104,9 +104,10 @@ jobs:
|
|||||||
helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts
|
helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts
|
||||||
helm install gatekeeper/gatekeeper \
|
helm install gatekeeper/gatekeeper \
|
||||||
--version ${GATEKEEPER_VERSION} \
|
--version ${GATEKEEPER_VERSION} \
|
||||||
--set postInstall.probeWebhook.httpTimeout=300 \
|
--set postInstall.probeWebhook.enabled=false \
|
||||||
--set postInstall.probeWebhook.waitTimeout=300 \
|
--set postInstall.labelNamespace.enabled=false \
|
||||||
--set validatingWebhookFailurePolicy=Fail \
|
--set validatingWebhookFailurePolicy=Fail \
|
||||||
|
--set validatingWebhookTimeoutSeconds=15 \
|
||||||
--set enableExternalData=true \
|
--set enableExternalData=true \
|
||||||
--name-template=gatekeeper \
|
--name-template=gatekeeper \
|
||||||
--namespace security \
|
--namespace security \
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ teardown_file() {
|
|||||||
|
|
||||||
@test "attest-provider is running" {
|
@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"
|
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" {
|
@test "attest validation" {
|
||||||
|
|||||||
Reference in New Issue
Block a user