-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't workingdeclarativemedium-priorityThis item should be addressed in the medium term time frameThis item should be addressed in the medium term time frametriagedThis item has been triagedThis item has been triaged
Description
At the moment, protection status just applies to the parent entity that defines it.
We should extend this to the child entities as well.
Example with event gateways:
event_gateways:
- ref: egw-cp-for-bc-test
name: egw-cp-for-bc-test
kongctl:
protected: true # this protection label doesn't prevent a user from modifying/deleting the child resource
backend_clusters:
- ref: default-backend-cluster
name: default-backend-cluster
description: "First Backend Cluster for Test updated description"
bootstrap_servers:
- "egw-backend-1.example.com:9094"
If I apply the above config and later on add modifications to backend_clusters or delete them via a sync command, kongctl lets me do so. This is an undesired behaviour.
Same applies to all other entities.
Desired behaviour: A child entity should inherit the protected status of a parent.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdeclarativemedium-priorityThis item should be addressed in the medium term time frameThis item should be addressed in the medium term time frametriagedThis item has been triagedThis item has been triaged