FE: Add support for `container_policy`'s of kind `NetworkPolicy`
Am I able to remove support for container policies that do not use Cilium with the move to the Policies sidebar from the Threat Monitoring Policies tab? The docs say it was deprecated in %13.9.
The following discussion from !67900 (merged) should be addressed:
-
@aturinske started a discussion: (+2 comments) I merged the constants
POLICY_KINDS
(used forpolicy_drawer
) andPOLICY_KIND_OPTIONS
(used forpolicy_editor.vue
) and renamed itPOLICY_TYPE_COMPONENT_OPTIONS
because they had pretty much the backend moved from usingkind
totype
.Thus, you are going to see a lot of renaming.
I did not rename it to
POLICY_TYPE_OPTIONS
because that was already taken by a constant that should be calledPOLICY_TYPE_FILTER_OPTIONS
, but that has SO many instances that I didn't want to change that now. That will be done in a follow-up