Azure / k8s-deploy

GitHub Action for deploying to Kubernetes clusters
MIT License
252 stars 103 forks source link

Bug: Validation error "Error: Error: undefined" #308

Closed pyramidsbuilder closed 8 months ago

pyramidsbuilder commented 8 months ago

What happened?

It is not a bug calling the get-credentials command from previous step will preserve the context and authorization az aks get-credentials .....

I had this working before but today I get error , the testazure.yaml file is working fine from local machine using kubctl apply command But the github action is failing with this validation error I also don't know how to disable the validation on the action

error validating "/tmp/testazure.yaml": error validating data: failed to download openapi: Get "http://localhost:8080/openapi/v2?timeout=32s": dial tcp [::1]:8080: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false

image

Version

Runner

Github Actions

Relevant log output

error validating "/tmp/testazure.yaml": error validating data: failed to download openapi: Get "http://localhost:8080/openapi/v2?timeout=32s": dial tcp [::1]:8080: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false Error: Error: undefined

Duri9292 commented 2 months ago

Hello @pyramidsbuilder how did you resolve it? I'm facing the same issue ....