blob: 2ec3d2ea4d3a119cb8926818647172473e6d3f4e [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
Andreas Geisslerd518f732024-03-25 11:15:11 +010029 readinessImage: onap/oom/readiness:6.0.2
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:
Andreas Geissler2c1ba292024-01-10 22:20:05 +010034 # flag to enable the DB creation via mariadb-operator
35 useOperator: true
Andreas Geissler576de2d2023-10-24 15:38:01 +020036 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053037 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000038
39#################################################################
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010040# Secrets metaconfig
41#################################################################
42secrets:
43 - uid: db-user-creds
44 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010045 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010046 login: '{{ .Values.db.userName }}'
47 password: '{{ .Values.db.userPassword }}'
48 passwordPolicy: required
49 - uid: db-admin-creds
50 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010051 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010052 login: '{{ .Values.db.adminName }}'
53 password: '{{ .Values.db.adminPassword }}'
54 passwordPolicy: required
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020055 - uid: app-user-creds
56 type: basicAuth
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010057 externalSecret: '{{ tpl (default "" .Values.server.cockpit.soMonitoringCredsExternalSecret) . }}'
58 login: '{{ .Values.server.cockpit.username }}'
59 password: '{{ .Values.server.cockpit.password }}'
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010060
61#secretsFilePaths: |
62# - 'my file 1'
63# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010064
65#################################################################
jmacc4f04d32018-10-12 18:24:24 +000066# Application configuration defaults.
67#################################################################
68repository: nexus3.onap.org:10001
Lukasz Rajewskib6861242022-09-06 13:32:58 +020069image: onap/so/so-admin-cockpit:1.9.0
jmacc4f04d32018-10-12 18:24:24 +000070pullPolicy: Always
71
Andreas Geissler2c1ba292024-01-10 22:20:05 +010072# Local mariadb galera instance default name
73mariadb-galera:
74 nameOverride: so-mariadb-galera
75 service:
76 internalPort: 3306
77 mariadbOperator:
78 galera:
79 enabled: false
80
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010081db:
82 userName: so_user
83 userPassword: so_User123
84 # userCredsExternalSecret: some secret
85 adminName: so_admin
86 adminPassword: so_Admin123
87 # adminCredsExternalSecret: some secret
88
rope252cd2142c2018-09-17 12:35:36 +010089replicaCount: 1
90minReadySeconds: 10
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020091containerPort: &containerPort 9091
rope252cd2142c2018-09-17 12:35:36 +010092logPath: app/logs/
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010093app: so-admin-cockpit
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020094
95#################################################################
96# soHelpers part
97#################################################################
98soHelpers:
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020099 containerPort: *containerPort
100
101server:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100102 cockpit:
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +0200103 username: demo
104 # password: demo123456!
105 # soMonitoringCredsExternalSecret: some secret
106
rope252cd2142c2018-09-17 12:35:36 +0100107service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100108 type: NodePort
109 ports:
110 - port: *containerPort
111 name: http
112 nodePort: 24
113
rope252cd2142c2018-09-17 12:35:36 +0100114updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100115 type: RollingUpdate
116 maxUnavailable: 1
117 maxSurge: 1
rope252cd2142c2018-09-17 12:35:36 +0100118# Resource Limit flavor -By Default using small
119flavor: small
120#Segregation for different environment (Small or large)
121resources:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100122 small:
123 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100124 cpu: "0.5"
125 memory: "1Gi"
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100126 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100127 cpu: "1"
128 memory: "4Gi"
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100129 large:
130 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100131 cpu: "1"
132 memory: "2Gi"
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100133 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100134 cpu: "2"
135 memory: "8Gi"
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100136 unlimited: {}
rope252cd2142c2018-09-17 12:35:36 +0100137readinessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100138 port: 9091
Andreas Geissler0ac51122023-06-15 09:09:16 +0200139 initialDelaySeconds: 40
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100140 periodSeconds: 10
141 timeoutSeconds: 10
rope252cd2142c2018-09-17 12:35:36 +0100142livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100143 port: 9091
Andreas Geissler0ac51122023-06-15 09:09:16 +0200144 initialDelaySeconds: 80
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100145 periodSeconds: 10
146 timeoutSeconds: 10
147 successThreshold: 1
148 failureThreshold: 3
rope252cd2142c2018-09-17 12:35:36 +0100149ingress:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100150 enabled: false
151 service:
152 - baseaddr: "so-admin-cockpit-ui"
153 name: "so-admin-cockpit"
154 port: 9091
155 config:
156 ssl: "none"
AndrewLambab2704a2023-04-05 14:45:11 +0100157serviceMesh:
158 authorizationPolicy:
159 authorizedPrincipals:
160 - serviceAccount: portal-app-read
161 - serviceAccount: so-read
162 - serviceAccount: istio-ingress
163 namespace: istio-ingress
rope252cd2142c2018-09-17 12:35:36 +0100164nodeSelector: {}
165tolerations: []
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +0100166affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200167
168#Pods Service Account
169serviceAccount:
170 nameOverride: so-admin-cockpit
171 roles:
172 - read