pipeline #9
This commit is contained in:
parent
9b8dd00dd2
commit
0611ae0119
|
|
@ -143,6 +143,16 @@ jobs:
|
||||||
echo "📁 kubeconfig created at ~/.kube/config"
|
echo "📁 kubeconfig created at ~/.kube/config"
|
||||||
chmod 600 ~/.kube/config
|
chmod 600 ~/.kube/config
|
||||||
|
|
||||||
|
# Debug kubeconfig content (without sensitive data)
|
||||||
|
echo "🔍 Debugging kubeconfig structure..."
|
||||||
|
echo "File size: $(wc -c < ~/.kube/config) bytes"
|
||||||
|
|
||||||
|
echo "Current context:"
|
||||||
|
kubectl config current-context || echo "❌ No current context set"
|
||||||
|
|
||||||
|
echo "Available contexts:"
|
||||||
|
kubectl config get-contexts || echo "❌ No contexts available"
|
||||||
|
|
||||||
# Fix TLS issues by adding insecure-skip-tls-verify to all clusters
|
# Fix TLS issues by adding insecure-skip-tls-verify to all clusters
|
||||||
echo "🔧 Fixing TLS verification for self-signed certificates..."
|
echo "🔧 Fixing TLS verification for self-signed certificates..."
|
||||||
|
|
||||||
|
|
@ -372,6 +382,16 @@ jobs:
|
||||||
echo "📁 kubeconfig created at ~/.kube/config"
|
echo "📁 kubeconfig created at ~/.kube/config"
|
||||||
chmod 600 ~/.kube/config
|
chmod 600 ~/.kube/config
|
||||||
|
|
||||||
|
# Debug kubeconfig content (without sensitive data)
|
||||||
|
echo "🔍 Debugging kubeconfig structure..."
|
||||||
|
echo "File size: $(wc -c < ~/.kube/config) bytes"
|
||||||
|
|
||||||
|
echo "Current context:"
|
||||||
|
kubectl config current-context || echo "❌ No current context set"
|
||||||
|
|
||||||
|
echo "Available contexts:"
|
||||||
|
kubectl config get-contexts || echo "❌ No contexts available"
|
||||||
|
|
||||||
# Fix TLS issues by adding insecure-skip-tls-verify to all clusters
|
# Fix TLS issues by adding insecure-skip-tls-verify to all clusters
|
||||||
echo "🔧 Fixing TLS verification for self-signed certificates..."
|
echo "🔧 Fixing TLS verification for self-signed certificates..."
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue