-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Modify ClusterExtension to use Helm under the hood to apply content…
…s into the cluster (#846) * Helm POC rebase-a-thon * Unpack Image (#811) Builds and loads the unpacker binary into the operator-controller image so we don't need to use the rukpak image. Signed-off-by: dtfranz <dfranz@redhat.com> * ✨ OPRUN-3293 Fixes several unit tests - not cache ones (#831) * Fix, rm or skip BundleDeployment related tests Signed-off-by: Brett Tofel <btofel@redhat.com> * Address lint errors Signed-off-by: Brett Tofel <btofel@redhat.com> --------- Signed-off-by: Brett Tofel <btofel@redhat.com> * Fix e2e (#843) Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com> * Make goreleaser build unpack Signed-off-by: Brett Tofel <btofel@redhat.com> * Rm commented code Signed-off-by: Brett Tofel <btofel@redhat.com> * Rebase required changes Signed-off-by: Brett Tofel <btofel@redhat.com> * Cleanups (#854) Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com> * Expand comments in Dockerfile Signed-off-by: Brett Tofel <btofel@redhat.com> * Address Reviews Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com> * Back out packagerrors It's agreed that this makes debugging and reasoning about log messages and runtime errors much harder. Signed-off-by: Brett Tofel <btofel@redhat.com> * Helm POC e2e fixes (#870) Fixes the e2e tests in helm-poc branch and restores feature-gate switching. Signed-off-by: dtfranz <dfranz@redhat.com> * Fix defer location (#883) Fixes the defer location to make sure that all resources are cleaned up properly. Signed-off-by: dtfranz <dfranz@redhat.com> * Remove BundleDeployments gathering from e2e's gatherArtifacts (#886) When tests fail, gatherArtifacts is run to collect cluster state. This PR removes gathering of BundleDeployments since we don't use them anymore and it's generating additional misleading error messages. Signed-off-by: dtfranz <dfranz@redhat.com> * Address reviews (#887) Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com> * 🌱 Proposed way to unskip some tests (#874) * Proposed way to unskip some tests TestClusterExtensionChannelVersionExists mostly restored here Signed-off-by: Brett Tofel <btofel@redhat.com> * Refactors global variable names Signed-off-by: Brett Tofel <btofel@redhat.com> * Removes BundleDeployment related checking In just one test, for now. Signed-off-by: Brett Tofel <btofel@redhat.com> * fix unit test - TestClusterExtensionChannelVersionExists * Unskip all - failing tests (up|down)grade should err Unskips all in clusterextension_controller_test.go Signed-off-by: Brett Tofel <btofel@redhat.com> * Unskip all clusterextension_registryv1_validation_test.go Still failing tests (up|down)grade should err b/c we don't have an installedBundle to check against Signed-off-by: Brett Tofel <btofel@redhat.com> * debugging Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com> * Fixes and additions pending & unpack path Signed-off-by: Brett Tofel <btofel@redhat.com> * Fix linter, remove debug logs and extraneous file Signed-off-by: dtfranz <dfranz@redhat.com> * Fix e2e failure due to race condition Signed-off-by: dtfranz <dfranz@redhat.com> --------- Signed-off-by: Brett Tofel <btofel@redhat.com> Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com> Signed-off-by: dtfranz <dfranz@redhat.com> Co-authored-by: Varsha Prasad Narsing <varshaprasad96@gmail.com> Co-authored-by: dtfranz <dfranz@redhat.com> * Revert goreleaser to use buildx Signed-off-by: Brett Tofel <btofel@redhat.com> * Revert all of goreleaser to use buildx Signed-off-by: Brett Tofel <btofel@redhat.com> * Revert errorf->printf & rm some logging in tests Signed-off-by: Brett Tofel <btofel@redhat.com> --------- Signed-off-by: dtfranz <dfranz@redhat.com> Signed-off-by: Brett Tofel <btofel@redhat.com> Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com> Co-authored-by: Todd Short <tshort@redhat.com> Co-authored-by: Daniel Franz <dfranz@redhat.com> Co-authored-by: Varsha <varshaprasad96@gmail.com>
- Loading branch information
1 parent
6060534
commit 0058054
Showing
32 changed files
with
1,996 additions
and
1,493 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
# Note: This dockerfile does not build the binaries | ||
# required and is intended to be built only with the | ||
# 'make build' or 'make release' targets. | ||
# Stage 1: | ||
FROM gcr.io/distroless/static:debug-nonroot AS builder | ||
|
||
# Stage 2: | ||
FROM gcr.io/distroless/static:nonroot | ||
|
||
# Grab the cp binary so we can cp the unpack | ||
# binary to a shared volume in the bundle image (rukpak library needs it) | ||
COPY --from=builder /busybox/cp /cp | ||
|
||
WORKDIR / | ||
|
||
COPY manager manager | ||
COPY unpack unpack | ||
|
||
EXPOSE 8080 | ||
|
||
USER 65532:65532 | ||
|
||
ENTRYPOINT ["/manager"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.