Skip to content

CI fails with "resource mapping not found" #154

@andrablaj

Description

@andrablaj

Describe the bug
CI is failing with:

Deploy
Error: error: resource mapping not found for name: "mediator" namespace: "openhim-dev" from "/tmp/Deployment_mediator_1732888685826": no matches for kind "Deployment" in version "extensions/v1beta1"
ensure CRDs are installed first 

To Reproduce
Merge a commit to the main branch.

Expected behavior
CI should pass.

Additional context
Notes from @dianabarsan from Slack conversation:

Looks like something is using a deprecated k8s API: kubernetes/minikube#5420
Also looks like this job never actually succeeded: https://github.com/medic/cht-interoperability/actions/workflows/docker-build.yml
My guess is that we're using an old version of the Azure/k8s-deploy. We're using v1 and latest is v5: https://github.com/Azure/k8s-deploy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugFix something that isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions