acrlabs / simkube

Record-and-replay Kubernetes simulator based on KWOK
https://appliedcomputing.io/simkube
MIT License
164 stars 7 forks source link

Update the tracer config format to a list of watched resources instead of keyed by GVK. #62

Open drmorr0 opened 7 months ago

drmorr0 commented 7 months ago

Description

The current tracer config format looks like this:

trackedObjects:
  <gvk for object>:
    podSpecTemplatePath: /json/patch/path/to/pod/template/spec
    trackLifecycle: true/false (optional)

I think a better config format would be

trackedObjects:
  - gvk: <gvk for object>:
    podSpecTemplatePath: /json/patch/path/to/pod/template/spec
    trackLifecycle: true/false (optional)

code hint