Skip to content

Commit

Permalink
feat: remove fallback from pod name and namespace env
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Choudhary <[email protected]>
  • Loading branch information
vishal-chdhry committed Aug 29, 2023
1 parent 587b4c7 commit 92a3fc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ import (
)

var (
Namespace = getEnvWithFallback("POD_NAMESPACE", "kyverno-notation-aws")
Namespace = os.Getenv("POD_NAMESPACE")
PodName = os.Getenv("POD_NAME")
ServiceName = getEnvWithFallback("SERVICE_NAME", "svc")
DeploymentName = getEnvWithFallback("DEPLOYMENT_NAME", "kyverno-notation-aws")
PodName = getEnvWithFallback("POD_NAME", "kyverno-notation-aws")

CertRenewalInterval = 12 * time.Hour
CAValidityDuration = 365 * 24 * time.Hour
Expand Down

0 comments on commit 92a3fc3

Please sign in to comment.