ks-devops icon indicating copy to clipboard operation
ks-devops copied to clipboard

Graphical editing of kubeconfigFile will flash back

Open chilianyi opened this issue 2 years ago • 0 comments
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 截屏2023-09-13 10 54 28

截屏2023-09-13 10 55 46

Relevant log output

No response

Additional information

No response

chilianyi avatar Sep 13 '23 02:09 chilianyi