[SO] Kohn release image updates
[oom.git] / kubernetes / so / components / so-admin-cockpit / values.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2018 Ericsson. All rights reserved.
3 #   Copyright (C) 2020 Huawei
4 #   Modifications Copyright © 2020 Nokia
5 #   Modifications Copyright © 2021 Orange
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
22 #################################################################
23 # Global configuration defaults.
24 #################################################################
25 global:
26   nodePortPrefix: 302
27   nodePortPrefixExt: 304
28   repository: nexus3.onap.org:10001
29   readinessImage: onap/oom/readiness:3.0.1
30   aafAgentImage: onap/aaf/aaf_agent:2.1.20
31   envsubstImage: dibi/envsubst
32   aafEnabled: true
33   persistence:
34     mountPath: /dockerdata-nfs
35   security:
36     aaf:
37       enabled: true
38   aaf:
39     auth:
40       header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
41   mariadbGalera:
42     serviceName: mariadb-galera
43     servicePort: '3306'
44
45 #################################################################
46 # Secrets metaconfig
47 #################################################################
48 secrets:
49   - uid: db-user-creds
50     type: basicAuth
51     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
52     login: '{{ .Values.db.userName }}'
53     password: '{{ .Values.db.userPassword }}'
54     passwordPolicy: required
55   - uid: db-admin-creds
56     type: basicAuth
57     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
58     login: '{{ .Values.db.adminName }}'
59     password: '{{ .Values.db.adminPassword }}'
60     passwordPolicy: required
61   - uid: app-user-creds
62     type: basicAuth
63     externalSecret: '{{ tpl (default "" .Values.server.cockpit.soMonitoringCredsExternalSecret) . }}'
64     login: '{{ .Values.server.cockpit.username }}'
65     password: '{{ .Values.server.cockpit.password }}'
66
67 #secretsFilePaths: |
68 #  - 'my file 1'
69 #  - '{{ include "templateThatGeneratesFileName" . }}'
70
71 #################################################################
72 # Application configuration defaults.
73 #################################################################
74 repository: nexus3.onap.org:10001
75 image: onap/so/so-admin-cockpit:1.9.0
76 pullPolicy: Always
77
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
86 replicaCount: 1
87 minReadySeconds: 10
88 containerPort: &containerPort 9091
89 logPath: app/logs/
90 app: so-admin-cockpit
91
92 #################################################################
93 # soHelpers part
94 #################################################################
95 soHelpers:
96   nameOverride: so-cockpit-cert-init
97   certInitializer:
98     nameOverride: so-cockpit-cert-init
99     credsPath: /opt/app/osaaf/local
100   cadi:
101     apiEnforcement: org.onap.so.monitoringPerm
102   containerPort: *containerPort
103
104 server:
105   cockpit:
106     username: demo
107     # password: demo123456!
108     # soMonitoringCredsExternalSecret: some secret
109
110 service:
111 #Since this is a feature for monitoring the service type is changed to internal, users can change it to NodePort on need basis...
112     type: NodePort
113     nodePort: 24
114     internalPort: *containerPort
115     externalPort: *containerPort
116     portName: http
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:
152     enabled: false
153     service:
154         - baseaddr: "so-admin-cockpit-ui"
155           name: "so-admin-cockpit"
156           port: 9091
157     config:
158         ssl: "none"
159 nodeSelector: {}
160 tolerations: []
161 affinity: {}
162
163 #Pods Service Account
164 serviceAccount:
165   nameOverride: so-admin-cockpit
166   roles:
167     - read