فهرست منبع

Cambio apply por create

Celestino Rey 9 ماه پیش
والد
کامیت
83378d95b5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -110,7 +110,7 @@ pipeline {
         container('kubectl') {
           withCredentials([file(credentialsId: env.Destino, variable: 'KUBECONFIG')]) {
             sh 'sed -i "s/<NS>/${NAMESPACE}/" K8S/namespace.yaml'
-            sh 'kubectl apply -f K8S/namespace.yaml'
+            sh 'kubectl create -f K8S/namespace.yaml'
           }
         }
       }