Skip to content

Commit 0ca66fc

Browse files
J12934Reet00
authored andcommitted
Replace bitnami/git usage with alpine/git
Bitnami git will probbaly be removed in the coming weeks Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
1 parent 2c945a9 commit 0ca66fc

File tree

14 files changed

+19
-19
lines changed

14 files changed

+19
-19
lines changed

documentation/blog/2021-10-27-sast-scanning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ spec:
272272
initContainers:
273273
- name: "git-clone"
274274
# Use a container with the git binary
275-
image: bitnami/git
275+
image: alpine/git
276276
# We are assembling the git clone URL with HTTP authentication,
277277
# using the same personal access token as in the git-repo-scanner.
278278
# Note that using {{{triple braces}}} is important, as otherwise the

documentation/docs/architecture/09_architecture_decisions/adr_0009.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ spec:
155155
mountPath: "/etc/rules"
156156
initContainers:
157157
- name: git-clone
158-
image: bitnami/git
158+
image: alpine/git
159159
command:
160160
- git
161161
- clone

hooks/cascading-scans/hook/hook.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ test("should merge initContainers into cascaded scan", () => {
10331033
parentScan.spec.initContainers = [
10341034
{
10351035
name: "test-init",
1036-
image: "bitnami/git",
1036+
image: "alpine/git",
10371037
command: ["whoami"],
10381038
},
10391039
];
@@ -1062,7 +1062,7 @@ test("should merge initContainers into cascaded scan", () => {
10621062
"command": [
10631063
"whoami",
10641064
],
1065-
"image": "bitnami/git",
1065+
"image": "alpine/git",
10661066
"name": "test-init",
10671067
},
10681068
{
@@ -1094,7 +1094,7 @@ test("should not merge initContainers into cascaded scan if not instructed", ()
10941094
parentScan.spec.initContainers = [
10951095
{
10961096
name: "test-init",
1097-
image: "bitnami/git",
1097+
image: "alpine/git",
10981098
command: ["whoami"],
10991099
},
11001100
];

scanners/gitleaks/examples/private-repository/scan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
# Define an init container to run the git clone for us
2121
initContainers:
2222
- name: "git-clone"
23-
image: bitnami/git
23+
image: alpine/git
2424
# Specify that the "repo" volume should also be mounted on the
2525
# initContainer
2626
volumeMounts:

scanners/gitleaks/examples/provide-own-rules/scan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ spec:
4848
# Define an init container to run the git clone for us
4949
initContainers:
5050
- name: "git-clone"
51-
image: bitnami/git
51+
image: alpine/git
5252
# Specify that the "repo" volume should also be mounted on the
5353
# initContainer
5454
volumeMounts:

scanners/gitleaks/examples/secureCodeBox/scan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
# Define an init container to run the git clone for us
2121
initContainers:
2222
- name: "git-clone"
23-
image: bitnami/git
23+
image: alpine/git
2424
# Specify that the "repo" volume should also be mounted on the
2525
# initContainer
2626
volumeMounts:

scanners/gitleaks/integration-tests/gitleaks.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test(
3131
[
3232
{
3333
name: "init-git",
34-
image: "bitnami/git",
34+
image: "alpine/git",
3535
command: [
3636
"bash",
3737
"-c",

scanners/semgrep/.helm-docs.gotmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ spec:
6464
initContainers:
6565
- name: "provision-git"
6666
# Use an image that includes git
67-
image: bitnami/git
67+
image: alpine/git
6868
# Mount the same volume we also use in the main container
6969
volumeMounts:
7070
- mountPath: "/repo/"
@@ -123,7 +123,7 @@ spec:
123123
mountPath: "/repo/"
124124
initContainers:
125125
- name: "git-clone"
126-
image: bitnami/git
126+
image: alpine/git
127127
# The command assumes that GITHUB_TOKEN contains a GitHub access token with access to the repository.
128128
# GITHUB_TOKEN is set below in the "env" section.
129129
# If you do not wan to use an access token, remove it from the URL below.

scanners/semgrep/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ spec:
7878
initContainers:
7979
- name: "provision-git"
8080
# Use an image that includes git
81-
image: bitnami/git
81+
image: alpine/git
8282
# Mount the same volume we also use in the main container
8383
volumeMounts:
8484
- mountPath: "/repo/"
@@ -137,7 +137,7 @@ spec:
137137
mountPath: "/repo/"
138138
initContainers:
139139
- name: "git-clone"
140-
image: bitnami/git
140+
image: alpine/git
141141
# The command assumes that GITHUB_TOKEN contains a GitHub access token with access to the repository.
142142
# GITHUB_TOKEN is set below in the "env" section.
143143
# If you do not wan to use an access token, remove it from the URL below.

scanners/semgrep/docs/README.ArtifactHub.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
initContainers:
8484
- name: "provision-git"
8585
# Use an image that includes git
86-
image: bitnami/git
86+
image: alpine/git
8787
# Mount the same volume we also use in the main container
8888
volumeMounts:
8989
- mountPath: "/repo/"
@@ -142,7 +142,7 @@ spec:
142142
mountPath: "/repo/"
143143
initContainers:
144144
- name: "git-clone"
145-
image: bitnami/git
145+
image: alpine/git
146146
# The command assumes that GITHUB_TOKEN contains a GitHub access token with access to the repository.
147147
# GITHUB_TOKEN is set below in the "env" section.
148148
# If you do not wan to use an access token, remove it from the URL below.

0 commit comments

Comments
 (0)