Skip to content

Commit b766b3f

Browse files
committed
Update ADR-0009 with decision
Signed-off-by: Max Maass <max.maass@iteratec.com>
1 parent e7477d6 commit b766b3f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/adr/adr_0009.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SPDX-License-Identifier: Apache-2.0
88

99
| <!-- --> | <!-- --> |
1010
|----------------|----------|
11-
| **Status**: | PROPOSED |
11+
| **Status**: | ACCEPTED |
1212
| **Date**: | 2021-10-07 |
1313
| **Author(s)**: | Max Maass <max.maass@iteratec.com>, Jannik Hollenbach <Jannik.Hollenbach@iteratec.com> |
1414

@@ -229,13 +229,13 @@ Finally, we can also abstract away the details of the Kubernetes volume definiti
229229

230230
## Decision
231231

232-
To be determined.
232+
We decided to utilize the built-in `initContainer` functionality of Kubernetes and expose it through the ScanTypes, combined with the existing syntax for volume management. Information on how to use the feature will be added to the documentation to explain how common operations (Git clone, etc.) can be performed, for people who do not have experience with Kubernetes init containers.
233233

234234
## Consequences
235235

236-
To be determined.
236+
The possibility of using init containers adds a large number of new possible features to the secureCodeBox, and lays the groundwork for adding new types of scanners. We will gather experience with how the feature is used, and may come back to the architecture and make changes if a simpler interface is desired.
237237

238238
[initc]: (https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)
239-
[initcvolumes]: (https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)
239+
[initcvolumes]: (https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/#create-a-pod-that-has-an-init-container)
240240
[gitleaks]: (https://docs.securecodebox.io/docs/scanners/gitleaks)
241241
[semgrep]: (https://github.com/returntocorp/semgrep)

0 commit comments

Comments
 (0)