Skip to content

Commit 83b2c5b

Browse files
committed
cleanup: drop obsolete LOGJUICER_CA_BUNDLE env injection
Now that [1] we no longer need to inject LOGJUICER_CA_BUNDLE in the pod environment. [1] logjuicer/logjuicer#144 Change-Id: I35a144b646fd06b679da1c5cb790df3fbe2c5ae7
1 parent e9b9ef0 commit 83b2c5b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

controllers/logjuicer.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ func (r *SFController) AddCorporateCA(spec *apiv1.PodSpec) string {
2121
MountPath: "/certs",
2222
})
2323
spec.Containers[0].Env = append(spec.Containers[0].Env, base.MkEnvVar("LOGJUICER_CA_EXTRA", "/certs/"+fileName))
24-
// TODO: remove the next line after merging https://github.com/logjuicer/logjuicer/pull/144
25-
spec.Containers[0].Env = append(spec.Containers[0].Env, base.MkEnvVar("LOGJUICER_CA_BUNDLE", "/certs/"+fileName))
2624
break
2725
}
2826
return string(corporateCM.ResourceVersion)

0 commit comments

Comments
 (0)