|
|
@@ -133,7 +133,7 @@ def generateCanaryService(Map kvs, String version, String template="service.yaml
|
|
|
return outputFile
|
|
|
}
|
|
|
|
|
|
-def applyDeployment(Object K3S, String deployment="deployment.yaml", String defaultNS='default') {
|
|
|
+def applyDeployment(Object K3S, String deployment="deployment.yaml", String defaultNS='ahxpm') {
|
|
|
|
|
|
if (!fileExists(deployment)) {
|
|
|
println "ignore, file ${deployment} not exists"
|
|
|
@@ -144,7 +144,7 @@ def applyDeployment(Object K3S, String deployment="deployment.yaml", String defa
|
|
|
sh "/k3s/kubectl --kubeconfig ${env.WORKSPACE}/${K3S.kubeconfig} apply -f ${deployment} -n ${defaultNS}"
|
|
|
}
|
|
|
|
|
|
-def applyService(K3S, String service="service.yaml", String defaultNS='default') {
|
|
|
+def applyService(K3S, String service="service.yaml", String defaultNS='ahxpm') {
|
|
|
|
|
|
if (!fileExists(service)) {
|
|
|
println "ignore, file ${service} not exists"
|