blob: 6cba922571ccb89b7d38e2ab1649a6ea13a5f76b [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 aafAgentImage: onap/aaf/aaf_agent:2.1.20
31 envsubstImage: dibi/envsubst
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020032 aafEnabled: true
jmacc4f04d32018-10-12 18:24:24 +000033 persistence:
34 mountPath: /dockerdata-nfs
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020035 security:
36 aaf:
37 enabled: true
38 aaf:
39 auth:
40 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053041 mariadbGalera:
42 serviceName: mariadb-galera
43 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000044
45#################################################################
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010046# Secrets metaconfig
47#################################################################
48secrets:
49 - uid: db-user-creds
50 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010051 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010052 login: '{{ .Values.db.userName }}'
53 password: '{{ .Values.db.userPassword }}'
54 passwordPolicy: required
55 - uid: db-admin-creds
56 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010057 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010058 login: '{{ .Values.db.adminName }}'
59 password: '{{ .Values.db.adminPassword }}'
60 passwordPolicy: required
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020061 - uid: app-user-creds
62 type: basicAuth
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010063 externalSecret: '{{ tpl (default "" .Values.server.cockpit.soMonitoringCredsExternalSecret) . }}'
64 login: '{{ .Values.server.cockpit.username }}'
65 password: '{{ .Values.server.cockpit.password }}'
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010066
67#secretsFilePaths: |
68# - 'my file 1'
69# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010070
71#################################################################
jmacc4f04d32018-10-12 18:24:24 +000072# Application configuration defaults.
73#################################################################
74repository: nexus3.onap.org:10001
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010075image: onap/so/so-admin-cockpit:1.8.2
jmacc4f04d32018-10-12 18:24:24 +000076pullPolicy: Always
77
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +010078db:
79 userName: so_user
80 userPassword: so_User123
81 # userCredsExternalSecret: some secret
82 adminName: so_admin
83 adminPassword: so_Admin123
84 # adminCredsExternalSecret: some secret
85
rope252cd2142c2018-09-17 12:35:36 +010086replicaCount: 1
87minReadySeconds: 10
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020088containerPort: &containerPort 9091
rope252cd2142c2018-09-17 12:35:36 +010089logPath: app/logs/
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010090app: so-admin-cockpit
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020091
92#################################################################
93# soHelpers part
94#################################################################
95soHelpers:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010096 nameOverride: so-cockpit-cert-init
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020097 certInitializer:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010098 nameOverride: so-cockpit-cert-init
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +020099 credsPath: /opt/app/osaaf/local
100 cadi:
101 apiEnforcement: org.onap.so.monitoringPerm
102 containerPort: *containerPort
103
104server:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100105 cockpit:
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +0200106 username: demo
107 # password: demo123456!
108 # soMonitoringCredsExternalSecret: some secret
109
rope252cd2142c2018-09-17 12:35:36 +0100110service:
seshukm0eb23df2020-03-16 20:55:48 +0530111#Since this is a feature for monitoring the service type is changed to internal, users can change it to NodePort on need basis...
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +0200112 type: NodePort
eikrwaqdd0962f2018-10-22 11:28:23 +0100113 nodePort: 24
Krzysztof Gajewskicd2e66f2020-10-15 20:33:34 +0200114 internalPort: *containerPort
115 externalPort: *containerPort
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100116 portName: http
rope252cd2142c2018-09-17 12:35:36 +0100117updateStrategy:
118 type: RollingUpdate
119 maxUnavailable: 1
120 maxSurge: 1
121# Resource Limit flavor -By Default using small
122flavor: small
123#Segregation for different environment (Small or large)
124resources:
125 small:
126 requests:
127 memory: 1Gi
128 cpu: 10m
129 limits:
130 memory: 4Gi
131 cpu: 1
132 large:
133 requests:
134 memory: 2Gi
135 cpu: 20m
136 limits:
137 memory: 8Gi
138 cpu: 2
139readinessProbe:
140 port: 9091
141 initialDelaySeconds: 20
142 periodSeconds: 10
143 timeoutSeconds: 10
144livenessProbe:
145 port: 9091
146 initialDelaySeconds: 40
147 periodSeconds: 10
148 timeoutSeconds: 10
149 successThreshold: 1
150 failureThreshold: 3
151ingress:
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200152 enabled: false
153 service:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +0100154 - baseaddr: "soadmincockpit"
155 name: "so-admin-cockpit"
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200156 port: 9091
157 config:
158 ssl: "none"
rope252cd2142c2018-09-17 12:35:36 +0100159nodeSelector: {}
160tolerations: []
Krzysztof Opasiak0be83cb2020-03-24 21:44:00 +0100161affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200162
163#Pods Service Account
164serviceAccount:
165 nameOverride: so-admin-cockpit
166 roles:
167 - read