Skip to content

Wrong handling of the global resourceList in combination with livesim #104

@zivnevo

Description

@zivnevo
  • When both the global resourceList and the livesim missing resource contain the same resource kind (e.g., pods), the resources from the global resourceList are ignored.
    See example tests/istio_testcases/example_policies/sidecar_examples_w_onlineboutique/sidecars-and-gateways-test-scheme.yaml:
    when the resource ../online_boutique/new_online_boutique_manifests_istio/all_deployments.yaml appears only in global resourceList (remove it from the network config resourceList), then on the livesim run this resource is ignored, resulting in all the pods missing.

  • When none of global resourceList/podList/namespaceList exist, there is a (time consuming) attempt to load resources from live cluster, even if there is local resourceList/podList/namespaceList in a network config.
    Example - comment out the global resourceList in the test above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingparsers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions