// AddFlags adds flags passed via command line
AddFlags adds flags passed via command line
// AddFlags adds flags passed via command line
func (o *options) AddFlags(fs *flag.FlagSet) {
	fs.IntVar(&o.port, "port", 9443, "Specify the port of the webhook server")
	fs.StringVar(&o.disabledWebhooks, "disable-webhooks", "", "Specify validation webhooks that should be disabled ('all' to disable validation completely)")
	fs.StringVar(&o.webhookServiceNamespaceName, "webhook-service", "", "Specify namespace and name of the webhook service (format: <namespace>/<name>)")
	fs.Int32Var(&o.webhookServicePort, "webhook-service-port", 9443, "Specify the port of the webhook service")
	logger.InitFlags(fs)
	flag.CommandLine.AddGoFlagSet(goflag.CommandLine)
}
func ( o * options ) AddFlags ( fs * flag . FlagSet ) { fs . IntVar ( & o . port , " " , 9443 , " " ) fs . StringVar ( & o . disabledWebhooks , " " , " " , " " ) fs . StringVar ( & o . webhookServiceNamespaceName , " " , " " , " " ) fs . Int32Var ( & o . webhookServicePort , " " , 9443 , " " ) logger . InitFlags ( fs ) flag . CommandLine . AddGoFlagSet ( goflag . CommandLine ) }
AddFlags adds flags passed via command line
AddFlags adds flags passed via command line