blob: a7fcdaf832ceabc37ec546b16f0b8ddeaf6e6036 [file] [log] [blame]
mayankg2703ced85142018-03-20 05:42:53 +00001# Copyright © 2017 Amdocs, Bell Canada
jhhd4258672020-08-09 12:08:08 -05002# Modifications Copyright © 2018-2020 AT&T Intellectual Property
mayankg2703ced85142018-03-20 05:42:53 +00003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000021 persistence: {}
mayankg2703ced85142018-03-20 05:42:53 +000022
23#################################################################
24# Application configuration defaults.
25#################################################################
26# application image
jhh9b28e0e2019-06-26 22:24:28 -050027image: sonatype/nexus:2.14.13-01
mayankg2703ced85142018-03-20 05:42:53 +000028pullPolicy: Always
29
30# flag to enable debugging - application support required
31debugEnabled: false
32
33# application configuration
mayankg2703ced85142018-03-20 05:42:53 +000034config: {}
mayankg2703ced85142018-03-20 05:42:53 +000035
36# default number of instances
37replicaCount: 1
38
39nodeSelector: {}
40
41affinity: {}
42
43# probe configuration parameters
44liveness:
BorislavG16fc7602018-06-13 10:57:51 +000045 initialDelaySeconds: 180
mayankg2703ced85142018-03-20 05:42:53 +000046 periodSeconds: 10
47 # necessary to disable liveness probe when setting breakpoints
48 # in debugger so K8s doesn't restart unresponsive container
49 enabled: true
50
51readiness:
BorislavG16fc7602018-06-13 10:57:51 +000052 initialDelaySeconds: 60
mayankg2703ced85142018-03-20 05:42:53 +000053 periodSeconds: 10
54 path: /nexus/service/local/status
55
56service:
jhh59ce22d2019-05-14 17:59:36 -050057 type: ClusterIP
jhhd4258672020-08-09 12:08:08 -050058 name: policy-nexus
jhh59ce22d2019-05-14 17:59:36 -050059 internalPort: 8081
Andreas Geisslerf10c5552023-03-21 18:09:46 +010060 ports:
61 - name: http
62 port: 8081
mayankg2703ced85142018-03-20 05:42:53 +000063
64ingress:
65 enabled: false
66
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000067## Persist data to a persitent volume
68persistence:
69 enabled: true
70 volumeReclaimPolicy: Retain
Sylvain Desbureauxdfa9a9b2019-08-29 17:35:51 +020071 accessMode: ReadWriteOnce
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000072 size: 2Gi
73 mountPath: /dockerdata-nfs
jhhd4258672020-08-09 12:08:08 -050074 mountSubPath: policy/nexus/data
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000075
vaibhavjayas4136f5d2018-08-17 07:01:05 +000076# Segregation for Different environment (Small and Large)
jhhd4258672020-08-09 12:08:08 -050077# Resource Limit flavor - By Default using small
vaibhavjayas4136f5d2018-08-17 07:01:05 +000078resources:
jhhd4258672020-08-09 12:08:08 -050079 flavor: small
vaibhavjayas4136f5d2018-08-17 07:01:05 +000080 small:
81 limits:
82 cpu: 1
83 memory: 1Gi
84 requests:
85 cpu: 1m
86 memory: 0.5Gi
87 large:
88 limits:
89 cpu: 2
90 memory: 2Gi
91 requests:
92 cpu: 2m
Mandeep Khinda60d36d42018-09-24 15:15:48 +000093 memory: 1Gi
jhh59ce22d2019-05-14 17:59:36 -050094 unlimited: {}
farida azmyc1178372021-04-11 12:55:33 +020095
96#Pods Service Account
97serviceAccount:
98 nameOverride: policy-nexus
99 roles:
100 - nothing