ks-devops
ks-devops copied to clipboard
Credentials password is null
trafficstars
What is version of KubeSphere DevOps has the issue?
dev-v3.3.0-alpha.1-d92409f
How did you install the Kubernetes? Or what is the Kubernetes distribution?
./kk create cluster --with-kubernetes v1.21.5 --with-kubesphere v3.2.1
What happened?
When creating a github (Code Repository) pipeline, the returned certificate password is an empty string, and the project list cannot be obtained correctly.
Relevant log output
No response
Additional information
When the return value of the API("kapis/devops.kubesphere.io/v1alpha3/devops/testv8rd7/credentials/password-null?content=1") ) is like this
{
....
"data": {
"id": "xx",
"password": "xx",
"username": "xxx"
},
"type": "credential.devops.kubesphere.io/basic-auth"
}
will get the desired result, but when password is set to empty, no information will be obtained.
{
....
"data": {
"id": "xx",
"password": "",
"username": "xxx"
},
"type": "credential.devops.kubesphere.io/basic-auth"
}
