Explorar o código

fix route

fix route
zhiqiang.yu hai 4 semanas
pai
achega
19cbcd92bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sharedLibs/k3sUtil.groovy

+ 1 - 1
sharedLibs/k3sUtil.groovy

@@ -91,7 +91,7 @@ def applyService(K3S, String service="service.yaml") {
   }
 
   println "applying k8s deployment file: ${service} ..."
-  sh "/k3s/kubectl --kubeconfig ${env.WORKSPACE}/${K3S.kubeconfig} apply -f ${service}"
+  sh "/k3s/kubectl --kubeconfig ${env.WORKSPACE}/${K3S.kubeconfig} apply -f ${service} -n ahxpm"
 }
 
 return this