Skip to content

mage Deploy should update our kubeconfig #251

@schristoff

Description

@schristoff

Describe the bug

When we run mage Deploy it should configure the kube config so we can run kubectl commands without having to mess with the configs. :)

To Reproduce

Steps to reproduce the behavior:

  1. Run mage Deploy
  2. kubectl get pods
  3. :(

Expected behavior

When mage deploy finishes successfully, we should be able to interact with our cluster via kubectl.

Operator execution and Output

kubectl get pods
E0816 21:43:33.333941   23626 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused

If I go grab the kubeconfig from kind, and then put it in the expected area (~/.kube/config) everything works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugOops, sorry!metaThings necessary to make this project run day to day

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions