Skip to content

Commit

Permalink
Merge pull request #302 from xiaods/dev
Browse files Browse the repository at this point in the history
enhance: add comments abt defaultNewSignedCertExpirationDays
  • Loading branch information
xiaods authored Feb 18, 2023
2 parents 6ace40e + ce05edf commit 98ed533
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/daemons/control/deps/deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import (
"encoding/json"
"errors"
"fmt"
"io/fs"
"net"
"os"
"path/filepath"
"strings"
"text/template"
"time"
"io/fs"

certutil "github.com/rancher/dynamiclistener/cert"
"github.com/sirupsen/logrus"
Expand All @@ -40,7 +40,7 @@ const (
aescbcKeySize = 32

RequestHeaderCN = "system:auth-proxy"
defaultNewSignedCertExpirationDays = time.Hour * 24 * 365 * 10
defaultNewSignedCertExpirationDays = time.Hour * 24 * 365 * 10 //10 year certificate expiration
)

var (
Expand Down

0 comments on commit 98ed533

Please sign in to comment.