From e8822144c08e71247be68b33fb5181a2492c39a8 Mon Sep 17 00:00:00 2001 From: Stavros Kontopoulos Date: Fri, 7 Jul 2023 22:38:02 +0300 Subject: [PATCH] remove unused env var keys --- webhook/certificates/resources/secret.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/webhook/certificates/resources/secret.go b/webhook/certificates/resources/secret.go index 78cfed2bed..45e81c9614 100644 --- a/webhook/certificates/resources/secret.go +++ b/webhook/certificates/resources/secret.go @@ -27,12 +27,8 @@ import ( const ( // ServerKey is the name of the key associated with the secret's private key. ServerKey = "server-key.pem" - // ServerKeyEnv is the env var name for the webhook secret's key eg. `tls.key`. - ServerKeyEnv = "KNATIVE_WEBHOOK_SERVER_KEY" // ServerCert is the name of the key associated with the secret's public key. ServerCert = "server-cert.pem" - // ServerCertEnv is the env var name for the webhook secret's ca data key eg. `tls.crt`. - ServerCertEnv = "KNATIVE_WEBHOOK_SERVER_CERT" // CACert is the name of the key associated with the certificate of the CA for // the keypair. CACert = "ca-cert.pem"