-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #116 - OLM minKubeVersion and catalog update to nested
- Loading branch information
Showing
25 changed files
with
755 additions
and
421 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
# we only want to take build/ into the image | ||
# so we ignore everything else here | ||
# we ignore everything by default | ||
* | ||
!build | ||
|
||
# make sure we ignore vendor explicitly | ||
vendor/ | ||
# we also explicitly ignore the following | ||
pkg | ||
test | ||
vendor | ||
|
||
# we un-ignore only the following | ||
!build | ||
!deploy |
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,5 +1,15 @@ | ||
#!/bin/bash | ||
sudo apt-get update | ||
sudo apt-get install python3-venv | ||
curl -O https://bootstrap.pypa.io/get-pip.py | ||
sudo python3 get-pip.py | ||
#sudo apt-get update | ||
#sudo apt-get install python3-venv | ||
#curl -O https://bootstrap.pypa.io/get-pip.py | ||
#sudo python3 get-pip.py | ||
|
||
pyenv versions | ||
pyenv global 3.7 | ||
|
||
VENV=/tmp/venv | ||
python3 -m venv $(VENV) | ||
. $(VENV)/bin/activate | ||
pip3 install --upgrade pip | ||
pip3 install operator-courier==2.1.7 | ||
operator-courier --version |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM quay.io/operator-framework/upstream-registry-builder as builder | ||
# Add noobaa manifests | ||
COPY build/_output/olm manifests/noobaa | ||
# Add lib-bucket-provisioner manifests | ||
COPY deploy/obc/lib-bucket-provisioner.package.yaml manifests/lib-bucket-provisioner/ | ||
COPY deploy/obc/lib-bucket-provisioner.v1.0.0.clusterserviceversion.yaml manifests/lib-bucket-provisioner/1.0.0/ | ||
COPY deploy/obc/objectbucket_v1alpha1_objectbucket_crd.yaml manifests/lib-bucket-provisioner/1.0.0/ | ||
COPY deploy/obc/objectbucket_v1alpha1_objectbucketclaim_crd.yaml manifests/lib-bucket-provisioner/1.0.0/ | ||
RUN ./bin/initializer -o ./bundles.db | ||
|
||
FROM scratch | ||
COPY --from=builder /build/bundles.db /bundles.db | ||
COPY --from=builder /build/bin/registry-server /registry-server | ||
COPY --from=builder /bin/grpc_health_probe /bin/grpc_health_probe | ||
EXPOSE 50051 | ||
ENTRYPOINT ["/registry-server"] | ||
CMD ["--database", "bundles.db"] |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
packageName: lib-bucket-provisioner | ||
channels: | ||
- name: alpha | ||
currentCSV: lib-bucket-provisioner.v1.0.0 | ||
defaultChannel: alpha |
186 changes: 186 additions & 0 deletions
186
deploy/obc/lib-bucket-provisioner.v1.0.0.clusterserviceversion.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: CatalogSource | ||
metadata: | ||
name: noobaa-operator-catalog | ||
namespace: default | ||
spec: | ||
sourceType: grpc | ||
image: noobaa/noobaa-operator-catalog |
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
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.