Skip to content

If loading kubectl config fails, fall back to loading InClusterConfig

This is a general Merge Request template. Consider to choose a template from the list above if it will match your case more.

What does this MR do?

Allows the Kubernetes executor to use the in-cluster service account if all other sources fail

Why was this MR needed?

To allow easy setup of the k8s runner. Resolves #1717 (closed)

Are there points in the code the reviewer needs to double check?

No

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

#1717 (closed)

Merge request reports