Skip to content

Commit

Permalink
fix: not using app: label in suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: deggja <danieldagfinrud@gmail.com>
  • Loading branch information
deggja committed Dec 15, 2023
1 parent 9db2e39 commit 339e097
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Binary file modified backend/netfetch
Binary file not shown.
2 changes: 1 addition & 1 deletion backend/statik/statik.go

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions frontend/dash/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,6 @@
if (pod.Labels['app.kubernetes.io/name']) {
matchLabels['app.kubernetes.io/name'] = pod.Labels['app.kubernetes.io/name'];
}
if (pod.Labels['app']) {
matchLabels['app'] = pod.Labels['app'];
}
if (Array.isArray(pod.Ports) && pod.Ports.length > 0) {
pod.Ports.forEach(port => {
Expand Down Expand Up @@ -557,7 +554,7 @@
});
return policies.map(policy => yaml.dump(policy));
},
},
async fetchExistingPolicies(namespace) {
try {
const response = await axios.get(`http://localhost:8080/namespace-policies?namespace=${namespace}`);
Expand Down

0 comments on commit 339e097

Please sign in to comment.