kubesphere / kubesphere/ks-devops

Graphical editing of kubeconfigFile will flash back

Open
#996 0 comments 0 reactions 1 assignee Claimed by @yazhouio View on GitHub
kind/bug
Dominant language
Go
Stars
164
Forks
140
PR merge metrics
No merged PRs in 30d

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.