pipeline #4
Build, Push and Deploy Florale Emotion Website / feature-branch (push) Has been skipped Details
Build, Push and Deploy Florale Emotion Website / production-branch (push) Failing after 2m12s Details

This commit is contained in:
Julian Vollmer 2026-01-26 16:52:11 +01:00
parent 2bd71ebbd3
commit 47dc33c749
1 changed files with 20 additions and 2 deletions

View File

@ -154,11 +154,20 @@ jobs:
exit 1 exit 1
fi fi
echo "✅ kubeconfig validation passed" # Add insecure-skip-tls-verify to handle self-signed certificates
echo "🔧 Configuring TLS settings for self-signed certificates..."
CURRENT_CONTEXT=$(kubectl config current-context)
CLUSTER_NAME=$(kubectl config view -o jsonpath="{.contexts[?(@.name=='$CURRENT_CONTEXT')].context.cluster}")
kubectl config set-cluster "$CLUSTER_NAME" --insecure-skip-tls-verify=true
echo "✅ kubeconfig validation and TLS configuration completed"
- name: Test kubectl connection - name: Test kubectl connection
run: | run: |
kubectl version --client kubectl version --client
echo "Testing cluster connection..."
kubectl cluster-info
echo "Testing node access..."
kubectl get nodes kubectl get nodes
- name: Deploy Feature Branch - name: Deploy Feature Branch
@ -383,11 +392,20 @@ jobs:
exit 1 exit 1
fi fi
echo "✅ kubeconfig validation passed" # Add insecure-skip-tls-verify to handle self-signed certificates
echo "🔧 Configuring TLS settings for self-signed certificates..."
CURRENT_CONTEXT=$(kubectl config current-context)
CLUSTER_NAME=$(kubectl config view -o jsonpath="{.contexts[?(@.name=='$CURRENT_CONTEXT')].context.cluster}")
kubectl config set-cluster "$CLUSTER_NAME" --insecure-skip-tls-verify=true
echo "✅ kubeconfig validation and TLS configuration completed"
- name: Test kubectl connection - name: Test kubectl connection
run: | run: |
kubectl version --client kubectl version --client
echo "Testing cluster connection..."
kubectl cluster-info
echo "Testing node access..."
kubectl get nodes kubectl get nodes
- name: Deploy to Production - name: Deploy to Production