Expected Behavior
https://github.com/katanomi/pkg/blob/main/plugin/client/gitcontent.go#L40 不需要 secret时, 不用传递即可。
Actual Behavior
现在必须在业务方构造一个空的secret.
// If the secret is not found, set empty object.
if secret == nil {
secret = &corev1.Secret{}
}
https://github.com/katanomi/builds/pull/164/files
Steps to Reproduce the Problem
Additional Info
Expected Behavior
https://github.com/katanomi/pkg/blob/main/plugin/client/gitcontent.go#L40 不需要 secret时, 不用传递即可。
Actual Behavior
现在必须在业务方构造一个空的secret.
https://github.com/katanomi/builds/pull/164/files
Steps to Reproduce the Problem
Additional Info