Extend hidden_fields to allow more complicated field definitions (#872) (#887)

This is a backport of PR #872 as merged into main (9ec6912).
SUMMARY
This allows us to ignore e.g. the last-applied-configuration annotation by specifying
metadata.annotations[kubectl.kubernetes.io/last-applied-configuration]
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
hidden_fields
This replaces #643 as I no longer have permissions to push to branches in this repo

Reviewed-by: Bikouo Aubin
This commit is contained in:
patchback[bot]
2025-03-25 13:36:12 +00:00
committed by GitHub
parent 6f75d86954
commit f74ee14d71
6 changed files with 409 additions and 30 deletions

View File

@@ -0,0 +1,4 @@
---
minor_changes:
- k8s - Extend hidden_fields to allow the expression of more complex field types to be hidden (https://github.com/ansible-collections/kubernetes.core/pull/872)
- k8s_info - Extend hidden_fields to allow the expression of more complex field types to be hidden (https://github.com/ansible-collections/kubernetes.core/pull/872)