Skip to content

Commit

Permalink
Fix fetching of configmap and sa
Browse files Browse the repository at this point in the history
  • Loading branch information
jordojordo committed Jul 15, 2024
1 parent 6dbb151 commit e8ccf13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kubewarden/chart/kubewarden/policy-server/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ export default {
const hash = [];
if ( this.$store.getters['cluster/canList'](CONFIG_MAP) ) {
hash.push(this.$fetchList(CONFIG_MAP));
hash.push(this.$fetchType(CONFIG_MAP));
}
if ( this.$store.getters['cluster/canList'](SERVICE_ACCOUNT) ) {
hash.push(this.$fetchList(SERVICE_ACCOUNT));
hash.push(this.$fetchType(SERVICE_ACCOUNT));
}
await allHash(hash);
Expand Down

0 comments on commit e8ccf13

Please sign in to comment.