blob: de6f0314356a0b15be1015ef8f03a5889e88f75f [file] [log] [blame]
rope252cd2142c2018-09-17 12:35:36 +01001# ============LICENSE_START=======================================================
2# Copyright (C) 2018 Ericsson. All rights reserved.
seshukm0df1f8e2020-08-17 21:45:49 +05303# Copyright (C) 2020 Huawei
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +02004# Modifications Copyright © 2020 Nokia
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +01005# Modifications Copyright © 2021 Orange
rope252cd2142c2018-09-17 12:35:36 +01006# ================================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18#
19# SPDX-License-Identifier: Apache-2.0
20# ============LICENSE_END=========================================================
21# @author: gareth.roper@ericsson.com
jmacc4f04d32018-10-12 18:24:24 +000022#################################################################
23# Global configuration defaults.
24#################################################################
25global:
26 nodePortPrefix: 302
27 nodePortPrefixExt: 304
28 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020029 readinessImage: onap/oom/readiness:3.0.1
seshukm0df1f8e2020-08-17 21:45:49 +053030 envsubstImage: dibi/envsubst
jmacc4f04d32018-10-12 18:24:24 +000031 persistence:
32 mountPath: /dockerdata-nfs
krishnaa9692b606b2020-10-30 11:29:21 +053033 mariadbGalera:
34 serviceName: mariadb-galera
35 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000036
37#################################################################
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010038# Secrets metaconfig
39#################################################################
40secrets:
41 - uid: db-user-creds
42 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010043 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010044 login: '{{ .Values.db.userName }}'
45 password: '{{ .Values.db.userPassword }}'
46 passwordPolicy: required
47 - uid: db-admin-creds
48 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010049 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010050 login: '{{ .Values.db.adminName }}'
51 password: '{{ .Values.db.adminPassword }}'
52 passwordPolicy: required
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020053 - uid: app-user-creds
54 type: basicAuth
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010055 externalSecret: '{{ tpl (default "" .Values.server.cockpit.soMonitoringCredsExternalSecret) . }}'
56 login: '{{ .Values.server.cockpit.username }}'
57 password: '{{ .Values.server.cockpit.password }}'
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010058
59#secretsFilePaths: |
60# - 'my file 1'
61# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010062
63#################################################################
jmacc4f04d32018-10-12 18:24:24 +000064# Application configuration defaults.
65#################################################################
66repository: nexus3.onap.org:10001
Lukasz Rajewskib6861242022-09-06 13:32:58 +020067image: onap/so/so-admin-cockpit:1.9.0
jmacc4f04d32018-10-12 18:24:24 +000068pullPolicy: Always
69
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010070db:
71 userName: so_user
72 userPassword: so_User123
73 # userCredsExternalSecret: some secret
74 adminName: so_admin
75 adminPassword: so_Admin123
76 # adminCredsExternalSecret: some secret
77
rope252cd2142c2018-09-17 12:35:36 +010078replicaCount: 1
79minReadySeconds: 10
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020080containerPort: &containerPort 9091
rope252cd2142c2018-09-17 12:35:36 +010081logPath: app/logs/
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010082app: so-admin-cockpit
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020083
84#################################################################
85# soHelpers part
86#################################################################
87soHelpers:
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020088 containerPort: *containerPort
89
90server:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010091 cockpit:
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020092 username: demo
93 # password: demo123456!
94 # soMonitoringCredsExternalSecret: some secret
95
rope252cd2142c2018-09-17 12:35:36 +010096service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010097 type: NodePort
98 ports:
99 - port: *containerPort
100 name: http
101 nodePort: 24
102
rope252cd2142c2018-09-17 12:35:36 +0100103updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100104 type: RollingUpdate
105 maxUnavailable: 1
106 maxSurge: 1
rope252cd2142c2018-09-17 12:35:36 +0100107# Resource Limit flavor -By Default using small
108flavor: small
109#Segregation for different environment (Small or large)
110resources:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100111 small:
112 requests:
113 memory: 1Gi
114 cpu: 10m
115 limits:
116 memory: 4Gi
117 cpu: 1
118 large:
119 requests:
120 memory: 2Gi
121 cpu: 20m
122 limits:
123 memory: 8Gi
124 cpu: 2
125 unlimited: {}
rope252cd2142c2018-09-17 12:35:36 +0100126readinessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100127 port: 9091
128 initialDelaySeconds: 20
129 periodSeconds: 10
130 timeoutSeconds: 10
rope252cd2142c2018-09-17 12:35:36 +0100131livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100132 port: 9091
133 initialDelaySeconds: 40
134 periodSeconds: 10
135 timeoutSeconds: 10
136 successThreshold: 1
137 failureThreshold: 3
rope252cd2142c2018-09-17 12:35:36 +0100138ingress:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100139 enabled: false
140 service:
141 - baseaddr: "so-admin-cockpit-ui"
142 name: "so-admin-cockpit"
143 port: 9091
144 config:
145 ssl: "none"
AndrewLambab2704a2023-04-05 14:45:11 +0100146serviceMesh:
147 authorizationPolicy:
148 authorizedPrincipals:
149 - serviceAccount: portal-app-read
150 - serviceAccount: so-read
151 - serviceAccount: istio-ingress
152 namespace: istio-ingress
rope252cd2142c2018-09-17 12:35:36 +0100153nodeSelector: {}
154tolerations: []
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +0100155affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200156
157#Pods Service Account
158serviceAccount:
159 nameOverride: so-admin-cockpit
160 roles:
161 - read