diff --git a/infrastructure_setup/metallb/metallb-helm-config.yaml b/infrastructure_setup/metallb/metallb-helm-config.yaml index ff4ae33..35fe1c2 100644 --- a/infrastructure_setup/metallb/metallb-helm-config.yaml +++ b/infrastructure_setup/metallb/metallb-helm-config.yaml @@ -5,12 +5,8 @@ metadata: namespace: kube-system spec: valuesContent: |- - # The new configuration format for MetalLB v0.13.0+ apiVersion: v1 - # We'll use IPAddressPool and L2Advertisement CRs instead of the deprecated configInline - # Need to install the CRDs separately crds: enabled: true - # Disable controller.configInline since it's deprecated controller: configInline: null \ No newline at end of file diff --git a/infrastructure_setup/setup-cert-manager.sh b/infrastructure_setup/setup-cert-manager.sh index bd66c44..6275263 100755 --- a/infrastructure_setup/setup-cert-manager.sh +++ b/infrastructure_setup/setup-cert-manager.sh @@ -63,24 +63,8 @@ echo "Waiting for wildcard certificates to be ready (this may take several minut kubectl wait --for=condition=Ready certificate wildcard-internal-sovereign-cloud -n cert-manager --timeout=300s || true kubectl wait --for=condition=Ready certificate wildcard-sovereign-cloud -n cert-manager --timeout=300s || true -# Copy the certificates to necessary namespaces -echo "Copying certificates to necessary namespaces..." -if kubectl get namespace example-admin &>/dev/null; then - # Create example-admin namespace if it doesn't exist - kubectl create namespace example-admin --dry-run=client -o yaml | kubectl apply -f - - - # Get the internal wildcard certificate secret and copy it to example-admin namespace - if kubectl get secret wildcard-internal-sovereign-cloud-tls -n cert-manager &>/dev/null; then - copy-secret cert-manager:wildcard-internal-sovereign-cloud-tls example-admin - echo "Internal certificate copied to example-admin namespace" - else - echo "Internal wildcard certificate not ready yet. Please manually copy it later with:" - echo " copy-secret cert-manager:wildcard-internal-sovereign-cloud-tls example-admin" - fi -fi - echo "cert-manager setup complete!" echo "" echo "To verify the installation:" echo " kubectl get pods -n cert-manager" -echo " kubectl get clusterissuers" \ No newline at end of file +echo " kubectl get clusterissuers"