Skip to content

failed to install CRD crds/crd.yaml #19

@IKrajciova

Description

@IKrajciova

Hello,
Could you please help with the error I am receiving when trying to install magda on minikube? When I run the last step of installation

helm upgrade --install --timeout 9999s --debug magda ./chart

I receive the error message below.

Error: failed to install CRD crds/crd.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
helm.go:88: [debug] unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to install CRD crds/crd.yaml
helm.sh/helm/v3/pkg/action.(*Install).installCRDs
        helm.sh/helm/v3/pkg/action/install.go:143
helm.sh/helm/v3/pkg/action.(*Install).RunWithContext
        helm.sh/helm/v3/pkg/action/install.go:207
main.runInstall
        helm.sh/helm/v3/cmd/helm/install.go:265
main.newUpgradeCmd.func2
        helm.sh/helm/v3/cmd/helm/upgrade.go:124
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.2.1/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.2.1/command.go:974
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.2.1/command.go:902
main.main
        helm.sh/helm/v3/cmd/helm/helm.go:87
runtime.main
        runtime/proc.go:225
runtime.goexit
        runtime/asm_amd64.s:1371

Also, when I run the role binding

kubectl apply -f role-binding.yaml

I receive error message saying

The connection to the server localhost:8080 was refused - did you specify the right host or port?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions