You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug a clear and concise description of what the bug is.
helm install kubediag -n kubediag ./kubediag-helm --debug timed out waiting for the condition.
$ helm install kubediag -n kubediag ./kubediag-helm --debug
install.go:178: [debug] Original chart version: ""
install.go:195: [debug] CHART PATH: /home/ywh/Desktop/kubediag-helm
client.go:128: [debug] creating 1 resource(s)
W0509 17:23:03.410772 519030 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
install.go:151: [debug] CRD diagnoses.diagnosis.kubediag.org is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
W0509 17:23:03.431805 519030 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
install.go:151: [debug] CRD operations.diagnosis.kubediag.org is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
W0509 17:23:03.456401 519030 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
install.go:151: [debug] CRD operationsets.diagnosis.kubediag.org is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
W0509 17:23:03.487895 519030 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
install.go:151: [debug] CRD triggers.diagnosis.kubediag.org is already present. Skipping.
W0509 17:23:04.891413 519030 warnings.go:70] admissionregistration.k8s.io/v1beta1 MutatingWebhookConfiguration is deprecated in v1.16+, unavailable in v1.22+; use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration
W0509 17:23:04.894453 519030 warnings.go:70] admissionregistration.k8s.io/v1beta1 ValidatingWebhookConfiguration is deprecated in v1.16+, unavailable in v1.22+; use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration
client.go:299: [debug] Starting delete for"kubediag-admission" ServiceAccount
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for"kubediag-admission" ClusterRole
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for"kubediag-admission" ClusterRoleBinding
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for"kubediag-admission" Role
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for"kubediag-admission" RoleBinding
client.go:128: [debug] creating 1 resource(s)
client.go:299: [debug] Starting delete for"kubediag-kubediag-helm-create-secret" Job
client.go:128: [debug] creating 1 resource(s)
client.go:529: [debug] Watching for changes to Job kubediag-kubediag-helm-create-secret with timeout of 5m0s
client.go:557: [debug] Add/Modify event for kubediag-kubediag-helm-create-secret: ADDED
client.go:596: [debug] kubediag-kubediag-helm-create-secret: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
client.go:557: [debug] Add/Modify event for kubediag-kubediag-helm-create-secret: MODIFIED
client.go:596: [debug] kubediag-kubediag-helm-create-secret: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
Error: INSTALLATION FAILED: failed pre-install: timed out waiting for the condition
helm.go:84: [debug] failed pre-install: timed out waiting for the condition
INSTALLATION FAILED
main.newInstallCmd.func2
helm.sh/helm/v3/cmd/helm/install.go:127
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.3.0/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.3.0/command.go:974
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.3.0/command.go:902
main.main
helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
runtime/proc.go:255
runtime.goexit
runtime/asm_amd64.s:1581
This bug is caused by kube-webhook-certgen, which failed to create secret.
$ kubectl logs -n kubediag pod/kubediag-kubediag-helm-create-secret-6sj89
W0420 09:53:23.295336 1 client_config.go:608] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
{"level":"fatal","msg":"got secret, but it did not contain a 'ca' key","source":"k8s/k8s.go:114","time":"2022-04-20T09:53:23Z"}
Describe the bug a clear and concise description of what the bug is.
helm install kubediag -n kubediag ./kubediag-helm --debug
timed out waiting for the condition.This bug is caused by kube-webhook-certgen, which failed to create secret.
What's your kubectl version?
What's the chart version?
v0.1.3
The text was updated successfully, but these errors were encountered: