-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
area/ctlIndicates a PR or issue relates to the cert-manager-ctl CLI componentIndicates a PR or issue relates to the cert-manager-ctl CLI componentkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Milestone
Description
cmctl panics when attempting to install cert-manager.
$ ./result/bin/cmctl experimental install
I0201 10:18:19.183081 416275 applycrd.go:31] "Creating the cert-manager CRDs" logger="cert-manager"
I0201 10:18:19.183137 416275 settings.go:119] "creating 6 resource(s)" logger="cert-manager"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x2935d78]
goroutine 1 [running]:
github.com/cert-manager/cert-manager/cmd/ctl/pkg/install/helm.CreateCRDs({0x4001054980, 0x6, 0x8}, 0x4000674540)
github.com/cert-manager/cert-manager/cmd/ctl/pkg/install/helm/applycrd.go:42 +0x98
github.com/cert-manager/cert-manager/cmd/ctl/pkg/install.(*InstallOptions).runInstall(0x4000c4e1e0, {0x343d518?, 0x40003da600?})
github.com/cert-manager/cert-manager/cmd/ctl/pkg/install/install.go:230 +0x498
github.com/cert-manager/cert-manager/cmd/ctl/pkg/install.NewCmdInstall.func1(0x4000d0c000?, {0x46c5840?, 0x0?, 0x0?})
github.com/cert-manager/cert-manager/cmd/ctl/pkg/install/install.go:96 +0x68
github.com/spf13/cobra.(*Command).execute(0x4000d08000, {0x46c5840, 0x0, 0x0})
github.com/spf13/cobra@v1.8.0/command.go:983 +0x840
github.com/spf13/cobra.(*Command).ExecuteC(0x40001f2300)
github.com/spf13/cobra@v1.8.0/command.go:1115 +0x344
github.com/spf13/cobra.(*Command).Execute(0x343d550?)
github.com/spf13/cobra@v1.8.0/command.go:1039 +0x1c
main.main()
github.com/cert-manager/cert-manager/cmd/ctl/main.go:62 +0xd0
discoveryClient, err := cfg.RESTClientGetter.ToDiscoveryClient() |
Metadata
Metadata
Assignees
Labels
area/ctlIndicates a PR or issue relates to the cert-manager-ctl CLI componentIndicates a PR or issue relates to the cert-manager-ctl CLI componentkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.