blob: b82785f2b8b872ca87cb9b000d106ae88412a098 [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
Andreas Geissler57681132024-07-29 10:18:26 +02003# Modifications Copyright © 2024 Deutsche Telekom
mayankg2703ced85142018-03-20 05:42:53 +00004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17#################################################################
18# Global configuration defaults.
19#################################################################
20global:
21 nodePortPrefix: 302
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000022 persistence: {}
mayankg2703ced85142018-03-20 05:42:53 +000023
24#################################################################
25# Application configuration defaults.
26#################################################################
27# application image
jhh9b28e0e2019-06-26 22:24:28 -050028image: sonatype/nexus:2.14.13-01
mayankg2703ced85142018-03-20 05:42:53 +000029pullPolicy: Always
30
31# flag to enable debugging - application support required
32debugEnabled: false
33
34# application configuration
mayankg2703ced85142018-03-20 05:42:53 +000035config: {}
mayankg2703ced85142018-03-20 05:42:53 +000036
37# default number of instances
38replicaCount: 1
39
40nodeSelector: {}
41
42affinity: {}
43
44# probe configuration parameters
45liveness:
BorislavG16fc7602018-06-13 10:57:51 +000046 initialDelaySeconds: 180
mayankg2703ced85142018-03-20 05:42:53 +000047 periodSeconds: 10
48 # necessary to disable liveness probe when setting breakpoints
49 # in debugger so K8s doesn't restart unresponsive container
50 enabled: true
51
52readiness:
BorislavG16fc7602018-06-13 10:57:51 +000053 initialDelaySeconds: 60
mayankg2703ced85142018-03-20 05:42:53 +000054 periodSeconds: 10
55 path: /nexus/service/local/status
56
57service:
jhh59ce22d2019-05-14 17:59:36 -050058 type: ClusterIP
jhhd4258672020-08-09 12:08:08 -050059 name: policy-nexus
jhh59ce22d2019-05-14 17:59:36 -050060 internalPort: 8081
Andreas Geisslerf10c5552023-03-21 18:09:46 +010061 ports:
62 - name: http
63 port: 8081
mayankg2703ced85142018-03-20 05:42:53 +000064
65ingress:
66 enabled: false
67
AndrewLamb7ef78ae2023-04-20 16:24:13 +010068serviceMesh:
69 authorizationPolicy:
70 authorizedPrincipals: []
71
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000072## Persist data to a persitent volume
73persistence:
74 enabled: true
75 volumeReclaimPolicy: Retain
Sylvain Desbureauxdfa9a9b2019-08-29 17:35:51 +020076 accessMode: ReadWriteOnce
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000077 size: 2Gi
78 mountPath: /dockerdata-nfs
jhhd4258672020-08-09 12:08:08 -050079 mountSubPath: policy/nexus/data
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000080
vaibhavjayas4136f5d2018-08-17 07:01:05 +000081# Segregation for Different environment (Small and Large)
jhhd4258672020-08-09 12:08:08 -050082# Resource Limit flavor - By Default using small
vaibhavjayas4136f5d2018-08-17 07:01:05 +000083resources:
jhhd4258672020-08-09 12:08:08 -050084 flavor: small
vaibhavjayas4136f5d2018-08-17 07:01:05 +000085 small:
86 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010087 cpu: "1"
88 memory: "1Gi"
vaibhavjayas4136f5d2018-08-17 07:01:05 +000089 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010090 cpu: "1m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010091 memory: "500Mi"
vaibhavjayas4136f5d2018-08-17 07:01:05 +000092 large:
93 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010094 cpu: "2"
95 memory: "2Gi"
vaibhavjayas4136f5d2018-08-17 07:01:05 +000096 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010097 cpu: "2m"
98 memory: "1Gi"
jhh59ce22d2019-05-14 17:59:36 -050099 unlimited: {}
farida azmyc1178372021-04-11 12:55:33 +0200100
Andreas Geissler57681132024-07-29 10:18:26 +0200101securityContext:
102 user_id: 100
103 group_id: 102
104
farida azmyc1178372021-04-11 12:55:33 +0200105#Pods Service Account
106serviceAccount:
107 nameOverride: policy-nexus
108 roles:
109 - nothing