Skip to content

Commit e080c3c

Browse files
authored
Merge pull request #1653 from arajkumar/fix-pdb-allowlist-typo
pdb: use plural form of resource name in allowlist key
2 parents b550d7a + 6d7780e commit e080c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/store/builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ func (b *Builder) buildPersistentVolumeStores() []cache.Store {
325325
}
326326

327327
func (b *Builder) buildPodDisruptionBudgetStores() []cache.Store {
328-
return b.buildStoresFunc(podDisruptionBudgetMetricFamilies(b.allowAnnotationsList["poddisruptionbudget"], b.allowLabelsList["poddisruptionbudget"]), &policy.PodDisruptionBudget{}, createPodDisruptionBudgetListWatch, b.useAPIServerCache)
328+
return b.buildStoresFunc(podDisruptionBudgetMetricFamilies(b.allowAnnotationsList["poddisruptionbudgets"], b.allowLabelsList["poddisruptionbudgets"]), &policy.PodDisruptionBudget{}, createPodDisruptionBudgetListWatch, b.useAPIServerCache)
329329
}
330330

331331
func (b *Builder) buildReplicaSetStores() []cache.Store {

0 commit comments

Comments
 (0)