Skip to content

Conversation

@rafaelperoco
Copy link

Summary

  • Fixes case mismatch between --resources-to-ignore=configMaps (camelCase) and ResourceMap keys (configmaps lowercase)
  • Adds unit tests for GetIgnoredResourcesList function

Problem

When using ignoreConfigMaps: true in Helm values, the generated --resources-to-ignore=configMaps flag was not working because ResourceMap uses lowercase keys. This caused permission errors when RBAC was configured without configmaps access.

Solution

Normalize the ignored resources list to lowercase in GetIgnoredResourcesList() to match ResourceMap keys.

Fixes #1068

@rafaelperoco rafaelperoco force-pushed the fix/ignore-configmaps-case-mismatch branch from 797a721 to edfc3a1 Compare January 21, 2026 19:07
@rafaelperoco rafaelperoco force-pushed the fix/ignore-configmaps-case-mismatch branch from edfc3a1 to 2f9bf33 Compare January 21, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Ignore configmaps results in permission errors

1 participant