Skip to content

Commit 37a9ec6

Browse files
Preparing release 0.3.0 (#150)
* Preparing release 0.3.0 Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com> * Disabling multiple namespaces, upgrading to OCP 3.11 api Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com> * Fixing own namespace installMode to true Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
1 parent 9c708ea commit 37a9ec6

File tree

7 files changed

+38
-8
lines changed

7 files changed

+38
-8
lines changed

deploy/olm-catalog/nexus-operator/0.3.0/nexus-operator.v0.3.0.clusterserviceversion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ spec:
292292
type: SingleNamespace
293293
- supported: false
294294
type: MultiNamespace
295-
- supported: true
295+
- supported: false
296296
type: AllNamespaces
297297
keywords:
298298
- nexus

deploy/olm-catalog/nexus-operator/manifests/nexus-operator.clusterserviceversion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ spec:
292292
type: SingleNamespace
293293
- supported: false
294294
type: MultiNamespace
295-
- supported: true
295+
- supported: false
296296
type: AllNamespaces
297297
keywords:
298298
- nexus
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
apiVersion: apps.m88i.io/v1alpha1
2+
kind: Nexus
3+
metadata:
4+
name: nexus3
5+
spec:
6+
# Number of Nexus pod replicas (can't be increased after creation)
7+
replicas: 1
8+
# disable admin/admin123 default startup credentials, this will also disable server operations
9+
generateRandomAdminPassword: true
10+
# Here you can specify the image version to fulfill your needs. Defaults to docker.io/sonatype/nexus3:latest if useRedHatImage is set to false
11+
#image: "docker.io/sonatype/nexus3:latest"
12+
# let's use the centOS image since we do not have access to Red Hat Catalog
13+
useRedHatImage: false
14+
# Set the resources requests and limits for Nexus pods. See: https://help.sonatype.com/repomanager3/system-requirements
15+
resources:
16+
limits:
17+
cpu: "2"
18+
memory: "2Gi"
19+
requests:
20+
cpu: "1"
21+
memory: "2Gi"
22+
# Data persistence details
23+
persistence:
24+
# Should we persist Nexus data? (turn this to false only if you're evaluating this resource)
25+
persistent: false
26+
# details regarding networking
27+
networking:
28+
# expose please
29+
expose: true
30+
# How do you want to expose the Nexus server? In this case, NodePort is the way to go
31+
exposeAs: "NodePort"
32+
# The port that we will access the Nexus server. Make sure that this port is available in your node
33+
nodePort: 31031

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/googleapis/gnostic v0.3.1
1111
github.com/heroku/docker-registry-client v0.0.0-20190909225348-afc9e1acc3d5
1212
github.com/m88i/aicura v0.2.0
13-
github.com/openshift/api v3.9.0+incompatible
13+
github.com/openshift/api v0.0.0-20200312145924-779a333deb13 // branch release-3.11
1414
github.com/operator-framework/operator-sdk v0.18.1
1515
github.com/spf13/pflag v1.0.5
1616
github.com/stretchr/testify v1.6.1
@@ -27,7 +27,6 @@ require (
2727

2828
replace (
2929
github.com/Azure/go-autorest => github.com/Azure/go-autorest v13.3.2+incompatible // Required by OLM
30-
github.com/openshift/api => github.com/openshift/api v3.9.1-0.20190814194116-a94e914914f4+incompatible
3130
k8s.io/client-go => k8s.io/client-go v0.18.3 // Required by prometheus-operator
3231
)
3332

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,8 +777,8 @@ github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59P
777777
github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700 h1:eNUVfm/RFLIi1G7flU5/ZRTHvd4kcVuzfRnL6OFlzCI=
778778
github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
779779
github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs=
780-
github.com/openshift/api v3.9.1-0.20190814194116-a94e914914f4+incompatible h1:3n9aFEUt1YzNcWFJGvKiOeriyAsXeyDlpBPa3yenr6A=
781-
github.com/openshift/api v3.9.1-0.20190814194116-a94e914914f4+incompatible/go.mod h1:dh9o4Fs58gpFXGSYfnVxGR9PnV53I8TW84pQaJDdGiY=
780+
github.com/openshift/api v0.0.0-20200312145924-779a333deb13 h1:8FyIpQ41MJUaLjWThSE/heRwocxRWxpxblLKu3zwqFA=
781+
github.com/openshift/api v0.0.0-20200312145924-779a333deb13/go.mod h1:dh9o4Fs58gpFXGSYfnVxGR9PnV53I8TW84pQaJDdGiY=
782782
github.com/openshift/origin v0.0.0-20160503220234-8f127d736703/go.mod h1:0Rox5r9C8aQn6j1oAOQ0c1uC86mYbUFObzjBRvUKHII=
783783
github.com/openshift/prom-label-proxy v0.1.1-0.20191016113035-b8153a7f39f1/go.mod h1:p5MuxzsYP1JPsNGwtjtcgRHHlGziCJJfztff91nNixw=
784784
github.com/opentracing-contrib/go-stdlib v0.0.0-20190519235532-cf7a6c988dc9/go.mod h1:PLldrQSroqzH70Xl+1DQcGnefIbqsKR7UDaiux3zV+w=

hack/go-test.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
1716
. ./hack/go-mod-env.sh
1817

1918
./hack/go-vet.sh

hack/go-vet.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
1716
set -e
1817
GOPATH=$(go env GOPATH)
1918
./hack/go-mod.sh

0 commit comments

Comments
 (0)