chaostoolkit-kubernetes icon indicating copy to clipboard operation
chaostoolkit-kubernetes copied to clipboard

[error] deny-all-ingress is not working

Open ginni-raheja09 opened this issue 1 year ago • 0 comments

Describe the bug Action fails with below error:

[2022-08-10 06:17:48 INFO] Action: deny-all-ingress [2022-08-10 06:17:49 ERROR] => failed: kubernetes.client.exceptions.ApiException: (400) Reason: Bad Request HTTP response headers: HTTPHeaderDict({'Audit-Id': '5edf0307-f308-4c8e-9c9f-d489b61d280b', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Kubernetes-Pf-Flowschema-Uid': '58166f29-e868-4b85-a553-339c160e9884', 'X-Kubernetes-Pf-Prioritylevel-Uid': 'cea414d9-ef14-468c-bb46-bf476023d7c7', 'Date': 'Wed, 10 Aug 2022 06:17:49 GMT', 'Content-Length': '508'}) HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"NetworkPolicy in version "v1" cannot be handled as a NetworkPolicy: v1.NetworkPolicy.Spec: v1.NetworkPolicySpec.PodSelector: v1.LabelSelector.MatchLabels: ReadMapCB: expect { or n, but found ", error found in #10 byte of ...|Labels": "app=nginx1|..., bigger context ...|gress"}, "spec": {"podSelector": {"matchLabels": "app=nginx1"}, "policyTypes": ["Ingress"], "ingress|...","reason":"BadRequest","code":400}

ginni-raheja09 avatar Aug 10 '22 06:08 ginni-raheja09