I have a validating admission webhook service running in my cluster, a config created for it but it doesn't get called when I add a new resource (ingress).
here's the configuration object:
kind: ValidatingWebhookConfiguration
metadata:
name: ingress-check-webhook-cfg
webhooks:
- name: ingress.check.webhook
rules:
- apiGroups:
- extensions
apiVersions:
- v1
operations:
- CREATE
- UPDATE
resources:
- ingresses
failurePolicy: Ignore
clientConfig:
service:
name: ingress-check-webhook-svc
namespace: operations
path: "/validate"
caBundle: <cert stuff>
my kube-apiserver has --admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota,Initializers
when I look at the logs for the apiserver it looks like just access logs and I can't find anything logging admission workflow so I'm not sure where to go to figure out why it's not working.
--
cheers,
Matt