-
Notifications
You must be signed in to change notification settings - Fork 15
/
nexus3-centos-no-volume-custom-properties.yaml
34 lines (34 loc) · 1.34 KB
/
nexus3-centos-no-volume-custom-properties.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
apiVersion: apps.m88i.io/v1alpha1
kind: Nexus
metadata:
name: nexus3
spec:
# Number of Nexus pod replicas (can't be increased after creation)
replicas: 1
# 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
# java properties to mount in nexus.properties file. See https://help.sonatype.com/repomanager3/installation/configuring-the-runtime-environment
properties:
nexus.conan.hosted.enabled: "true"