@@ -54,8 +54,8 @@ pub enum WebhookServerError {
5454///
5555/// let webhook_options = WebhookServerOptions {
5656/// socket_addr: WebhookServer::DEFAULT_SOCKET_ADDRESS,
57- /// operator_namespace : "my-namespace".to_owned(),
58- /// operator_service_name : "my-operator".to_owned(),
57+ /// webhook_namespace : "my-namespace".to_owned(),
58+ /// webhook_service_name : "my-operator".to_owned(),
5959/// };
6060/// let webhook_server = WebhookServer::new(webhook_options, webhooks).await.unwrap();
6161/// # }
@@ -72,11 +72,11 @@ pub struct WebhookServerOptions {
7272 /// The HTTPS socket address the [`TcpListener`][tokio::net::TcpListener] binds to.
7373 pub socket_addr : SocketAddr ,
7474
75- /// The namespace the operator/ webhook is running in.
76- pub operator_namespace : String ,
75+ /// The namespace the webhook is running in.
76+ pub webhook_namespace : String ,
7777
78- /// The name of the Kubernetes service which points to the operator/ webhook.
79- pub operator_service_name : String ,
78+ /// The name of the Kubernetes service which points to the webhook.
79+ pub webhook_service_name : String ,
8080}
8181
8282impl WebhookServer {
0 commit comments