Skip to content

Commit

Permalink
Preparing release 0.3.0 (#150)
Browse files Browse the repository at this point in the history
* Preparing release 0.3.0

Signed-off-by: Ricardo Zanini <[email protected]>

* Disabling multiple namespaces, upgrading to OCP 3.11 api

Signed-off-by: Ricardo Zanini <[email protected]>

* Fixing own namespace installMode to true

Signed-off-by: Ricardo Zanini <[email protected]>
  • Loading branch information
ricardozanini authored Sep 13, 2020
1 parent 9c708ea commit 37a9ec6
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ spec:
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: true
- supported: false
type: AllNamespaces
keywords:
- nexus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ spec:
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: true
- supported: false
type: AllNamespaces
keywords:
- nexus
Expand Down
33 changes: 33 additions & 0 deletions examples/nexus3-centos-no-volume-no-default-creds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: apps.m88i.io/v1alpha1
kind: Nexus
metadata:
name: nexus3
spec:
# Number of Nexus pod replicas (can't be increased after creation)
replicas: 1
# disable admin/admin123 default startup credentials, this will also disable server operations
generateRandomAdminPassword: true
# Here you can specify the image version to fulfill your needs. Defaults to docker.io/sonatype/nexus3:latest if useRedHatImage is set to false
#image: "docker.io/sonatype/nexus3:latest"
# let's use the centOS image since we do not have access to Red Hat Catalog
useRedHatImage: false
# Set the resources requests and limits for Nexus pods. See: https://help.sonatype.com/repomanager3/system-requirements
resources:
limits:
cpu: "2"
memory: "2Gi"
requests:
cpu: "1"
memory: "2Gi"
# Data persistence details
persistence:
# Should we persist Nexus data? (turn this to false only if you're evaluating this resource)
persistent: false
# details regarding networking
networking:
# expose please
expose: true
# How do you want to expose the Nexus server? In this case, NodePort is the way to go
exposeAs: "NodePort"
# The port that we will access the Nexus server. Make sure that this port is available in your node
nodePort: 31031
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/googleapis/gnostic v0.3.1
github.com/heroku/docker-registry-client v0.0.0-20190909225348-afc9e1acc3d5
github.com/m88i/aicura v0.2.0
github.com/openshift/api v3.9.0+incompatible
github.com/openshift/api v0.0.0-20200312145924-779a333deb13 // branch release-3.11
github.com/operator-framework/operator-sdk v0.18.1
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.6.1
Expand All @@ -27,7 +27,6 @@ require (

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

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,8 @@ github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59P
github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700 h1:eNUVfm/RFLIi1G7flU5/ZRTHvd4kcVuzfRnL6OFlzCI=
github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs=
github.com/openshift/api v3.9.1-0.20190814194116-a94e914914f4+incompatible h1:3n9aFEUt1YzNcWFJGvKiOeriyAsXeyDlpBPa3yenr6A=
github.com/openshift/api v3.9.1-0.20190814194116-a94e914914f4+incompatible/go.mod h1:dh9o4Fs58gpFXGSYfnVxGR9PnV53I8TW84pQaJDdGiY=
github.com/openshift/api v0.0.0-20200312145924-779a333deb13 h1:8FyIpQ41MJUaLjWThSE/heRwocxRWxpxblLKu3zwqFA=
github.com/openshift/api v0.0.0-20200312145924-779a333deb13/go.mod h1:dh9o4Fs58gpFXGSYfnVxGR9PnV53I8TW84pQaJDdGiY=
github.com/openshift/origin v0.0.0-20160503220234-8f127d736703/go.mod h1:0Rox5r9C8aQn6j1oAOQ0c1uC86mYbUFObzjBRvUKHII=
github.com/openshift/prom-label-proxy v0.1.1-0.20191016113035-b8153a7f39f1/go.mod h1:p5MuxzsYP1JPsNGwtjtcgRHHlGziCJJfztff91nNixw=
github.com/opentracing-contrib/go-stdlib v0.0.0-20190519235532-cf7a6c988dc9/go.mod h1:PLldrQSroqzH70Xl+1DQcGnefIbqsKR7UDaiux3zV+w=
Expand Down
1 change: 0 additions & 1 deletion hack/go-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.


. ./hack/go-mod-env.sh

./hack/go-vet.sh
Expand Down
1 change: 0 additions & 1 deletion hack/go-vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.


set -e
GOPATH=$(go env GOPATH)
./hack/go-mod.sh
Expand Down

0 comments on commit 37a9ec6

Please sign in to comment.