Skip to content

Commit

Permalink
Merge branch 'master' of github.com:KubeOperator/ekko
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengkunwang223 committed May 25, 2022
2 parents 0dab41f + 3d2ffdc commit f19f24e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/dashboard/src/business/workloads/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -666,9 +666,9 @@ export default {
}
let operation = this.podMetadata.labels["operation"]
for (const key in this.podMetadata.labels) {
if (key.indexOf("kubepi-repo-") !== -1 && key.indexOf("/") !== -1) {
let repoName = key.split("/")[1]
let secretName = "kubepi-" + key.split("/")[1] + "-secret"
if (key.indexOf("kubepi-repo-") !== -1) {
let repoName = this.podMetadata.labels[key]
let secretName = "kubepi-" + repoName + "-secret"
let exist = false
for (const item of this.secret_list_of_ns) {
if (item.metadata.name === secretName) {
Expand Down

0 comments on commit f19f24e

Please sign in to comment.