hpi-schul-cloud / jitsi-deployment

Auto-scalable Jitsi Meet for Kubernetes
MIT License
215 stars 88 forks source link

CustomResourceWebhookConversion feature is disabled #25

Closed thanhliem89dn closed 4 years ago

thanhliem89dn commented 4 years ago

I can't deploy due to this message: Error from server (Invalid): error when creating "STDIN": CustomResourceDefinition.apiextensions.k8s.io "certificaterequests.cert-manager.io" is invalid: spec.conversion.webhookClientConfig: Required value: required when strategy is set to Webhook, but not allowed because the CustomResourceWebhookConversion feature is disabled Error from server (Invalid): error when creating "STDIN": CustomResourceDefinition.apiextensions.k8s.io "certificates.cert-manager.io" is invalid: spec.conversion.webhookClientConfig: Required value: required when strategy is set to Webhook, but not allowed because the CustomResourceWebhookConversion feature is disabled Error from server (Invalid): error when creating "STDIN": CustomResourceDefinition.apiextensions.k8s.io "challenges.acme.cert-manager.io" is invalid: spec.conversion.webhookClientConfig: Required value: required when strategy is set to Webhook, but not allowed because the CustomResourceWebhookConversion feature is disabled Error from server (Invalid): error when creating "STDIN": CustomResourceDefinition.apiextensions.k8s.io "clusterissuers.cert-manager.io" is invalid: spec.conversion.webhookClientConfig: Required value: required when strategy is set to Webhook, but not allowed because the CustomResourceWebhookConversion feature is disabled Error from server (Invalid): error when creating "STDIN": CustomResourceDefinition.apiextensions.k8s.io "issuers.cert-manager.io" is invalid: spec.conversion.webhookClientConfig: Required value: required when strategy is set to Webhook, but not allowed because the CustomResourceWebhookConversion feature is disabled Error from server (Invalid): error when creating "STDIN": CustomResourceDefinition.apiextensions.k8s.io "orders.acme.cert-manager.io" is invalid: spec.conversion.webhookClientConfig: Required value: required when strategy is set to Webhook, but not allowed because the CustomResourceWebhookConversion feature is disabled Error from server (BadRequest): error when creating "STDIN": Secret in version "v1" cannot be handled as a Secret: v1.Secret.Data: decode base64: illegal base64 data at input byte 0, error found in #10 byte of ...|ret\u003e","JICOFO_C|..., bigger context ...|"JICOFO_AUTH_PASSWORD":"\u003cbase64-secret\u003e","JICOFO_COMPONENT_SECRET":"\u003cbase64-secret\u0|... Error from server (BadRequest): error when creating "STDIN": Secret in version "v1" cannot be handled as a Secret: v1.Secret.Data: decode base64: illegal base64 data at input byte 0, error found in #10 byte of ...|ret\u003e","username|..., bigger context ...|v1","data":{"password":"\u003cbase64-secret\u003e","username":"\u003cbase64-secret\u003e"},"kind":"S|... Error from server (Invalid): error when applying patch: {"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{},\"labels\":{\"scope\":\"jitsi\",\"service\":\"web\"},\"name\":\"web\",\"namespace\":\"jitsi\"},\"spec\":{\"clusterIP\":\"None\",\"ports\":[{\"name\":\"http\",\"port\":80,\"targetPort\":80}],\"selector\":{\"k8s-app\":\"web\",\"scope\":\"jitsi\"}}}\n"},"labels":{"k8s-app":null,"scope":"jitsi","service":"web"}},"spec":{"$setElementOrder/ports":[{"port":80}],"clusterIP":"None","ports":[{"name":"http","port":80,"targetPort":80},{"$patch":"delete","port":8000},{"$patch":"delete","port":8443}],"selector":{"k8s-app":"web","scope":"jitsi"},"type":null},"status":null} to: Resource: "/v1, Resource=services", GroupVersionKind: "/v1, Kind=Service" Name: "web", Namespace: "jitsi" Object: &{map["apiVersion":"v1" "kind":"Service" "metadata":map["annotations":map["kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{},\"labels\":{\"k8s-app\":\"jitsi-web\"},\"name\":\"web\",\"namespace\":\"jitsi\"},\"spec\":{\"ports\":[{\"name\":\"8000\",\"port\":8000,\"targetPort\":80},{\"name\":\"8443\",\"port\":8443,\"targetPort\":443}],\"selector\":{\"k8s-app\":\"jitsi-web\"},\"type\":\"NodePort\"},\"status\":{\"loadBalancer\":{}}}\n"] "creationTimestamp":"2020-04-12T18:16:54Z" "labels":map["k8s-app":"jitsi-web"] "name":"web" "namespace":"jitsi" "resourceVersion":"728840" "selfLink":"/api/v1/namespaces/jitsi/services/web" "uid":"c9dbe029-7ce9-11ea-9ac9-42010a940056"] "spec":map["clusterIP":"10.39.243.71" "externalTrafficPolicy":"Cluster" "ports":[map["name":"8000" "nodePort":'\u799d' "port":'\u1f40' "protocol":"TCP" "targetPort":'P'] map["name":"8443" "nodePort":'\u7c63' "port":'\u20fb' "protocol":"TCP" "targetPort":'\u01bb']] "selector":map["k8s-app":"jitsi-web"] "sessionAffinity":"None" "type":"NodePort"] "status":map["loadBalancer":map[]]]} for: "STDIN": Service "web" is invalid: spec.clusterIP: Invalid value: "None": field is immutable [unable to recognize "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1", unable to recognize "STDIN": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2", unable to recognize "STDIN": no matches for kind "Certificate" in version "cert-manager.io/v1alpha2", unable to recognize "STDIN": no matches for kind "ClusterIssuer" in version "cert-manager.io/v1alpha2", unable to recognize "STDIN": no matches for kind "Elasticsearch" in version "elasticsearch.k8s.elastic.co/v1", unable to recognize "STDIN": no matches for kind "Kibana" in version "kibana.k8s.elastic.co/v1", unable to recognize "STDIN": no matches for kind "DecoratorController" in version "metacontroller.k8s.io/v1alpha1", unable to recognize "STDIN": no matches for kind "Alertmanager" in version "monitoring.coreos.com/v1", unable to recognize "STDIN": no matches for kind "PodMonitor" in version "monitoring.coreos.com/v1", unable to recognize "STDIN": no matches for kind "Prometheus" in version "monitoring.coreos.com/v1", unable to recognize "STDIN": no matches for kind "PrometheusRule" in version "monitoring.coreos.com/v1", unable to recognize "STDIN": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"]

thanhliem89dn commented 4 years ago

duplicated