Skip to content

deny_all_ingress not working #116

Description

@shiju-tech

Describe the bug
Action fails with below error:

[2021-01-31 16:12:34 INFO] Action: deny_all_ingress
[2021-01-31 16:12:34 ERROR] => failed: kubernetes.client.exceptions.ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Length': '506', 'Cache-Control': 'no-cache, private', 'Date': 'Sun, 31 Jan 2021 16:13:04 GMT', 'Content-Type': 'application/json'})
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=ccs-ed|..., bigger context ...|.io/v1", "spec": {"podSelector": {"matchLabels": "app=service"}, "policyTypes": ["In|...","reason":"BadRequest","code":400}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions