Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Kubernetes connection within porter operator #33

@JeremyGHutchins

Description

@JeremyGHutchins

I have a porter bundle that has a kubeconfig parameter that maps to /root/.kube/config in the porter bundle. It works great from the cli, but now I'm trying to use it to install our bundle via the operator instead. I was assuming that connections to the current K8s cluster would be handled, since it is already running within the cluster, however when I run it I get...

DEBUG name:    kubernetes
DEBUG pkgDir: /cnab/app/mixins/kubernetes
DEBUG file:     
DEBUG stdin:
install:
- kubernetes:
    description: 'Installing: Workbench Operator Namespaces'
    manifests:
    - manifests/namespace
    - manifests/default
    - manifests/wb
    name: kubernetes-kinetica-k8s-operator-namespaces
    wait: true

/cnab/app/cnab/app/mixins/kubernetes/runtimes/kubernetes-runtime install --debug
The connection to the server localhost:8080 was refused - did you specify the right host or port?
Error: error running command kubectl apply -f manifests/namespace --wait: exit status 1
err: error running command kubectl apply -f manifests/namespace --wait: exit status 1
Error: mixin execution failed: exit status 1

How do I properly setup the connection to kubernetes in the bundle installer? Do I need to provide a kubeconfig as a parameter and how would I do that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    2 - 🍕Pizza should be eaten dailydesign 🚲🏠Bust out your paint chips, it's time to bikeshed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions