Skip to content

Commit 9394e7c

Browse files
Don't copy entire helm_chart dir, just copy CRDs
1 parent d62b60c commit 9394e7c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker/mongodb-kubernetes-tests/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ WORKDIR /tests
8181

8282
# copying the test files after python build, otherwise pip install will be called each time the tests change
8383
COPY . /tests
84-
# copying the helm_chart directory as well to support installation of the Operator from the test application
85-
COPY helm_chart /helm_chart
84+
# copying the helm_chart/crds directory so that we can install CRDs before installing the operator helm chart to run a test.
85+
# operator is installed via published OCI helm repo and not the local helm repo.
86+
COPY helm_chart/crds /helm_chart/crds
8687
COPY release.json /release.json
8788
# we use the public directory to automatically test resources samples
8889
COPY public /mongodb-kubernetes/public

0 commit comments

Comments
 (0)