Enable Knative fail-closed init gates
This commit is contained in:
parent
b697778132
commit
f1a32bd5a7
4 changed files with 39 additions and 0 deletions
|
|
@ -5,5 +5,6 @@ ssh "$target" 'set -e
|
|||
test "$(kubectl get namespace knative-serving -o go-template="{{index .metadata.labels \"app.kubernetes.io/version\"}}")" = "1.22.0"
|
||||
test "$(kubectl get service kourier -n kourier-system -o jsonpath="{.spec.type}")" = "ClusterIP"
|
||||
test "$(kubectl get configmap config-network -n knative-serving -o jsonpath="{.data.ingress-class}")" = "kourier.ingress.networking.knative.dev"
|
||||
test "$(kubectl get configmap config-features -n knative-serving -o jsonpath="{.data.kubernetes\\.podspec-init-containers}")" = "enabled"
|
||||
kubectl wait --for=condition=Available deployment --all -n knative-serving --timeout=120s
|
||||
kubectl wait --for=condition=Available deployment --all -n kourier-system --timeout=120s'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue