Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / policy / components / policy-nexus / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2020 AT&T Intellectual Property
3 #
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 #################################################################
19 global:
20   nodePortPrefix: 302
21   persistence: {}
22
23 #################################################################
24 # Application configuration defaults.
25 #################################################################
26 # application image
27 image: sonatype/nexus:2.14.13-01
28 pullPolicy: Always
29
30 # flag to enable debugging - application support required
31 debugEnabled: false
32
33 # application configuration
34 config: {}
35
36 # default number of instances
37 replicaCount: 1
38
39 nodeSelector: {}
40
41 affinity: {}
42
43 # probe configuration parameters
44 liveness:
45   initialDelaySeconds: 180
46   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
51 readiness:
52   initialDelaySeconds: 60
53   periodSeconds: 10
54   path: /nexus/service/local/status
55
56 service:
57   type: ClusterIP
58   name: policy-nexus
59   portName: http
60   externalPort: 8081
61   internalPort: 8081
62   nodePort: 36
63
64 ingress:
65   enabled: false
66
67 ## Persist data to a persitent volume
68 persistence:
69   enabled: true
70   volumeReclaimPolicy: Retain
71   accessMode: ReadWriteOnce
72   size: 2Gi
73   mountPath: /dockerdata-nfs
74   mountSubPath: policy/nexus/data
75
76 # Segregation for Different environment (Small and Large)
77 # Resource Limit flavor - By Default using small
78 resources:
79   flavor: small
80   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
93       memory: 1Gi
94   unlimited: {}
95
96 #Pods Service Account
97 serviceAccount:
98   nameOverride: policy-nexus
99   roles:
100     - nothing