nexus: env: # minimum recommended memory settings for a small, person instance from # https://help.sonatype.com/repomanager3/product-information/system-requirements - name: INSTALL4J_ADD_VM_PARAMS value: |- -Xms2703M -Xmx2703M -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Djava.util.prefs.userRoot=/nexus-data/javaprefs -Dnexus.licenseFile=/etc/nexus-license/license.lic -Dnexus.datastore.enabled=true -Dnexus.datastore.nexus.jdbcUrl=jdbc:postgresql://postgresql-host:5432/nexusdb -Dnexus.datastore.nexus.username=nexus -Dnexus.datastore.nexus.password=nexus123 - name: NEXUS_SECURITY_RANDOMPASSWORD value: "true" resources: # Uncomment below lines to allocate more resources for production installation # requests: # cpu: 4 # memory: 4Gi # To create ingress change below enabled to true and set correct DNS name to hostRepo ingress: enabled: true ingressClassName: nginx annotations: nginx.ingress.kubernetes.io/proxy-body-size: "0" hostPath: / hostRepo: nx340.minikube.mydomain secret: enabled: true mountPath: /etc/nexus-license/ readOnly: true data: # Change below value with base64 of valie nexus license file "license.lic": "cylwwtYx6Fjh7o4k34Ih3KMhWlu1TvWP..."