ks-devops
ks-devops copied to clipboard
Graphical editing of kubeconfigFile will flash back
trafficstars
What is version of KubeSphere DevOps has the issue?
v3.4.0
How did you install the Kubernetes? Or what is the Kubernetes distribution?
kubekey
What happened?
pipeline {
agent any
stages {
stage('stage-x8135') {
agent none
steps {
withCredentials([kubeconfigFile(credentialsId: 'devops-config', variable: 'KUBECONFIG',)]) {
sh 'envsubst < app/app-api.yaml | kubectl apply -f -'
}
withCredentials([kubeconfigContent(credentialsId: 'devops-config', variable: 'KUBECONFIG')]) {
echo 'test'
}
}
}
}
}
When edit, will flash back
Relevant log output
No response
Additional information
No response