Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/caesarxuchao/example-webhook-admission-controller
/ functions
Functions
7 in github.com/caesarxuchao/example-webhook-admission-controller
⨍
Functions
7
◇
Types & classes
0
↓ 1 callers
Function
admit
only allow pods to pull images from specific registry.
main.go:33
↓ 1 callers
Function
configTLS
(clientset *kubernetes.Clientset)
config.go:62
↓ 1 callers
Function
getAPIServerCert
retrieve the CA cert that will signed the cert used by the "GenericAdmissionWebhook" plugin admission controller.
config.go:48
↓ 1 callers
Function
getClient
get a clientset with in-cluster config.
config.go:34
↓ 1 callers
Function
selfRegistration
register this example webhook admission controller with the kube-apiserver by creating externalAdmissionHookConfigurations.
config.go:80
Function
main
()
main.go:97
Function
serve
(w http.ResponseWriter, r *http.Request)
main.go:68