Skip to content

k8s_authorization build is broken #171

Open
@charlesdaniels

Description

@charlesdaniels

It looks like the image builds, but the tests fail to run. Possibly some API in k8s has changed in an incompatible way.

./test.sh
Waiting for OPA pod to come up
OPA pod is up - awaiting condition=Ready
OPA pod ready. Running tests.
=============================
Expected Error from server (InternalError): an error on the server ("Internal Server Error: \"/api/v1/namespaces/kube-system/pods?limit=500\": Post \"https://10.96.167.0/v0/data/k8s/authz/decision?timeout=30s\": dial tcp 10.96.167.0:443: connect: connection refused") has prevented the request from succeeding (get pods) == *OPA: denied access to namespace kube-system
make[1]: *** [Makefile:7: test] Error 1
make[1]: Leaving directory '/home/runner/work/contrib/contrib/k8s_authorization'
make: *** [Makefile:7: build] Error 2
Error: Process completed with exit code 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions