|
|
@@ -90,7 +90,7 @@ pipeline {
|
|
|
echo "Borrando namespace..."
|
|
|
container('kubectl') {
|
|
|
withCredentials([file(credentialsId: env.Destino, variable: 'KUBECONFIG')]) {
|
|
|
- sh 'kubectl delete -f K8S/namespace.yaml||true'
|
|
|
+ sh 'kubectl --insecure-skip-tls-verify delete -f K8S/namespace.yaml||true'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -104,7 +104,7 @@ pipeline {
|
|
|
echo "Creando namespace..."
|
|
|
container('kubectl') {
|
|
|
withCredentials([file(credentialsId: env.Destino, variable: 'KUBECONFIG')]) {
|
|
|
- sh 'kubectl apply -f K8S/namespace.yaml'
|
|
|
+ sh 'kubectl --insecure-skip-tls-verify apply -f K8S/namespace.yaml'
|
|
|
}
|
|
|
}
|
|
|
}
|