You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/06/07 05:08:10 UTC
[GitHub] [apisix-ingress-controller] wanghuashun opened a new issue, #1069: request help: webhook-registration.yaml
wanghuashun opened a new issue, #1069:
URL: https://github.com/apache/apisix-ingress-controller/issues/1069
### Issue description
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
name: apisix-validations
labels:
app: apisixroute-plugin-validator-webhook
kind: validating
webhooks:
- name: apisixroute.plugin.validator.webhook
clientConfig:
service:
name: apisix-admission-server
namespace: ingress-apisix
port: 8443
path: "/validation/apisixroutes/plugin"
caBundle: ${CA_BUNDLE}
rules:
- operations: [ "CREATE", "UPDATE" ]
apiGroups: ["apisix.apache.org"]
apiVersions: ["*"]
resources: ["apisixroutes"]
timeoutSeconds: 30
failurePolicy: Ignore
sideEffects: None
admissionReviewVersions: ["v1", "v1beta1"]
----
kubectl apply -f webhook-registration.yaml
---
Error from server (BadRequest): error when creating "webhook-registration.yaml": ValidatingWebhookConfiguration in version "v1" cannot be handled as a ValidatingWebhookConfiguration: v1.ValidatingWebhookConfiguration.Webhooks: []v1.ValidatingWebhook: v1.ValidatingWebhook.ClientConfig: v1.WebhookClientConfig.Service: CABundle: decode base64: illegal base64 data at input byte 0, error found in #10 byte of ...|A_BUNDLE}","service"|..., bigger context ...|1beta1"],"clientConfig":{"caBundle":"${CA_BUNDLE}","service":{"name":"apisix-admission-server","name|...
### Environment
- your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
- your Kubernetes cluster version (output of kubectl version):
- if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1069: request help: webhook-registration.yaml
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1069:
URL: https://github.com/apache/apisix-ingress-controller/issues/1069#issuecomment-1148289980
In addition, please add a description when submitting an issue next time, so that it can be more clear
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1069: request help: webhook-registration.yaml
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1069:
URL: https://github.com/apache/apisix-ingress-controller/issues/1069#issuecomment-1237566851
This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] github-actions[bot] closed issue #1069: request help: webhook-registration.yaml
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1069: request help: webhook-registration.yaml
URL: https://github.com/apache/apisix-ingress-controller/issues/1069
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1069: request help: webhook-registration.yaml
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1069:
URL: https://github.com/apache/apisix-ingress-controller/issues/1069#issuecomment-1270993191
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] wanghuashun commented on issue #1069: request help: webhook-registration.yaml
Posted by GitBox <gi...@apache.org>.
wanghuashun commented on issue #1069:
URL: https://github.com/apache/apisix-ingress-controller/issues/1069#issuecomment-1148564589
thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1069: request help: webhook-registration.yaml
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1069:
URL: https://github.com/apache/apisix-ingress-controller/issues/1069#issuecomment-1148289276
You can refer to this file https://github.com/apache/apisix-ingress-controller/blob/master/test/e2e/testdata/webhook-create-signed-cert.sh
If you want to use `admissionregistration.k8s.io/v1`, please ensure your kubernetes cluster is at least as new as v1.16
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org