rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2018 Ericsson. All rights reserved. |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 3 | # Copyright (C) 2020 Huawei |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 4 | # Modifications Copyright © 2020 Nokia |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 5 | # Modifications Copyright © 2021 Orange |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 6 | # ================================================================================ |
| 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 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 22 | ################################################################# |
| 23 | # Global configuration defaults. |
| 24 | ################################################################# |
| 25 | global: |
| 26 | nodePortPrefix: 302 |
| 27 | nodePortPrefixExt: 304 |
| 28 | repository: nexus3.onap.org:10001 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 29 | readinessImage: onap/oom/readiness:3.0.1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 30 | aafAgentImage: onap/aaf/aaf_agent:2.1.20 |
| 31 | envsubstImage: dibi/envsubst |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 32 | aafEnabled: true |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 33 | persistence: |
| 34 | mountPath: /dockerdata-nfs |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 35 | security: |
| 36 | aaf: |
| 37 | enabled: true |
| 38 | aaf: |
| 39 | auth: |
| 40 | header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo= |
krishnaa96 | 92b606b | 2020-10-30 11:29:21 +0530 | [diff] [blame] | 41 | mariadbGalera: |
| 42 | serviceName: mariadb-galera |
| 43 | servicePort: '3306' |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 44 | |
| 45 | ################################################################# |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 46 | # Secrets metaconfig |
| 47 | ################################################################# |
| 48 | secrets: |
| 49 | - uid: db-user-creds |
| 50 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 51 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 52 | login: '{{ .Values.db.userName }}' |
| 53 | password: '{{ .Values.db.userPassword }}' |
| 54 | passwordPolicy: required |
| 55 | - uid: db-admin-creds |
| 56 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 57 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 58 | login: '{{ .Values.db.adminName }}' |
| 59 | password: '{{ .Values.db.adminPassword }}' |
| 60 | passwordPolicy: required |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 61 | - uid: app-user-creds |
| 62 | type: basicAuth |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 63 | externalSecret: '{{ tpl (default "" .Values.server.cockpit.soMonitoringCredsExternalSecret) . }}' |
| 64 | login: '{{ .Values.server.cockpit.username }}' |
| 65 | password: '{{ .Values.server.cockpit.password }}' |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 66 | |
| 67 | #secretsFilePaths: | |
| 68 | # - 'my file 1' |
| 69 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 70 | |
| 71 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 72 | # Application configuration defaults. |
| 73 | ################################################################# |
| 74 | repository: nexus3.onap.org:10001 |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 75 | image: onap/so/so-admin-cockpit:1.8.2 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 76 | pullPolicy: Always |
| 77 | |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 78 | db: |
| 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 | |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 86 | replicaCount: 1 |
| 87 | minReadySeconds: 10 |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 88 | containerPort: &containerPort 9091 |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 89 | logPath: app/logs/ |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 90 | app: so-admin-cockpit |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 91 | |
| 92 | ################################################################# |
| 93 | # soHelpers part |
| 94 | ################################################################# |
| 95 | soHelpers: |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 96 | nameOverride: so-cockpit-cert-init |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 97 | certInitializer: |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 98 | nameOverride: so-cockpit-cert-init |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 99 | credsPath: /opt/app/osaaf/local |
| 100 | cadi: |
| 101 | apiEnforcement: org.onap.so.monitoringPerm |
| 102 | containerPort: *containerPort |
| 103 | |
| 104 | server: |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 105 | cockpit: |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 106 | username: demo |
| 107 | # password: demo123456! |
| 108 | # soMonitoringCredsExternalSecret: some secret |
| 109 | |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 110 | service: |
seshukm | 0eb23df | 2020-03-16 20:55:48 +0530 | [diff] [blame] | 111 | #Since this is a feature for monitoring the service type is changed to internal, users can change it to NodePort on need basis... |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 112 | type: NodePort |
eikrwaq | dd0962f | 2018-10-22 11:28:23 +0100 | [diff] [blame] | 113 | nodePort: 24 |
Krzysztof Gajewski | cd2e66f | 2020-10-15 20:33:34 +0200 | [diff] [blame] | 114 | internalPort: *containerPort |
| 115 | externalPort: *containerPort |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 116 | portName: http |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 117 | updateStrategy: |
| 118 | type: RollingUpdate |
| 119 | maxUnavailable: 1 |
| 120 | maxSurge: 1 |
| 121 | # Resource Limit flavor -By Default using small |
| 122 | flavor: small |
| 123 | #Segregation for different environment (Small or large) |
| 124 | resources: |
| 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 |
| 139 | readinessProbe: |
| 140 | port: 9091 |
| 141 | initialDelaySeconds: 20 |
| 142 | periodSeconds: 10 |
| 143 | timeoutSeconds: 10 |
| 144 | livenessProbe: |
| 145 | port: 9091 |
| 146 | initialDelaySeconds: 40 |
| 147 | periodSeconds: 10 |
| 148 | timeoutSeconds: 10 |
| 149 | successThreshold: 1 |
| 150 | failureThreshold: 3 |
| 151 | ingress: |
Lucjan Bryndza | 426a82c | 2019-08-14 09:14:12 +0200 | [diff] [blame] | 152 | enabled: false |
| 153 | service: |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 154 | - baseaddr: "soadmincockpit" |
| 155 | name: "so-admin-cockpit" |
Lucjan Bryndza | 426a82c | 2019-08-14 09:14:12 +0200 | [diff] [blame] | 156 | port: 9091 |
| 157 | config: |
| 158 | ssl: "none" |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 159 | nodeSelector: {} |
| 160 | tolerations: [] |
Krzysztof Opasiak | 0be83cb | 2020-03-24 21:44:00 +0100 | [diff] [blame] | 161 | affinity: {} |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 162 | |
| 163 | #Pods Service Account |
| 164 | serviceAccount: |
| 165 | nameOverride: so-admin-cockpit |
| 166 | roles: |
| 167 | - read |