Closed byxorna closed 4 years ago
--- FAIL: TestGoodConfigs (0.00s)
366 config_test.go:227: expected 0 Envs loaded from test/fixtures/sidecars/maxmind.yaml but got 1
@komapa @alex-laties another round, if you please? Travis is a bit flaky :)
What and why?
A small refactor to catch a bug managing initContainers - we were not injecting VolumeMounts into existing InitContainers in the AdmissionControlRequest. I have added tests to validate this behavior now, and did some slight changes to make sure we are injecting env vars+volumeMounts into initContainers.
@komapa @alex-laties @defect
Testing Steps
Run unit tests
make test
)Reviewers
Required reviewers: @byxorna Request reviews from other people you want to review this PR in the "Reviewers" section on the right.