Skip to content

Commit

Permalink
Rename evnVault*Addr -> envVault*Addr
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Pick committed Sep 24, 2018
1 parent 9f310f1 commit 9d43941
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/util/k8sutil/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ var (

vaultTLSAssetVolume = "vault-tls-secret"
vaultConfigVolName = "vault-config"
evnVaultRedirectAddr = "VAULT_API_ADDR"
evnVaultClusterAddr = "VAULT_CLUSTER_ADDR"
envVaultRedirectAddr = "VAULT_API_ADDR"
envVaultClusterAddr = "VAULT_CLUSTER_ADDR"
)

const (
Expand Down Expand Up @@ -152,11 +152,11 @@ func vaultContainer(v *api.VaultService) v1.Container {
},
Env: []v1.EnvVar{
{
Name: evnVaultRedirectAddr,
Name: envVaultRedirectAddr,
Value: VaultServiceURL(v.GetName(), v.GetNamespace(), VaultClientPort),
},
{
Name: evnVaultClusterAddr,
Name: envVaultClusterAddr,
Value: VaultServiceURL(v.GetName(), v.GetNamespace(), vaultClusterPort),
},
},
Expand Down

0 comments on commit 9d43941

Please sign in to comment.