fix secret name is different when edit as yaml (#230) (#232)

Signed-off-by: Andy Lee <andy.lee@suse.com>
(cherry picked from commit 19bea9710696434d7d17ec02e977cefe31805995)

Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
mergify[bot] 2025-04-07 10:56:49 +08:00 committed by GitHub
parent 9175f16bfc
commit 30ff129691
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -669,7 +669,7 @@ export default {
}
});
if (!this.secretName || this.needNewSecret) {
if (!this.secretName) {
this.secretName = this.generateSecretName(this.secretNamePrefix);
}