Adds reliability checks to cert-manager, externaldns, and traefik setup.
This commit is contained in:
@@ -16,6 +16,14 @@ EXTERNALDNS_DIR="${CLUSTER_SETUP_DIR}/externaldns"
|
||||
|
||||
print_header "Setting up ExternalDNS"
|
||||
|
||||
# Check cert-manager dependency
|
||||
print_info "Verifying cert-manager is ready (required for ExternalDNS)..."
|
||||
kubectl wait --for=condition=Available deployment/cert-manager -n cert-manager --timeout=60s 2>/dev/null && \
|
||||
kubectl wait --for=condition=Available deployment/cert-manager-webhook -n cert-manager --timeout=60s 2>/dev/null || {
|
||||
print_warning "cert-manager not ready, but continuing with ExternalDNS installation"
|
||||
print_info "Note: ExternalDNS may not work properly without cert-manager"
|
||||
}
|
||||
|
||||
# Templates should already be compiled by wild-cluster-services-generate
|
||||
echo "Using pre-compiled ExternalDNS templates..."
|
||||
if [ ! -d "${EXTERNALDNS_DIR}/kustomize" ]; then
|
||||
|
||||
Reference in New Issue
Block a user