Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / so / components / so-cnfm-lcm / values.yaml
1 # Copyright © 2023 Nordix Foundation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   persistence:
20     mountPath: /dockerdata-nfs
21   mariadbGalera:
22     service: mariadb-galera
23     servicePort: '3306'
24
25 #################################################################
26 # Secrets metaconfig
27 #################################################################
28 secrets:
29   - uid: db-user-creds
30     type: basicAuth
31     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
32     login: '{{ .Values.db.userName }}'
33     password: '{{ .Values.db.userPassword }}'
34     passwordPolicy: required
35   - uid: db-admin-creds
36     type: basicAuth
37     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
38     login: '{{ .Values.db.adminName }}'
39     password: '{{ .Values.db.adminPassword }}'
40     passwordPolicy: required
41
42 #################################################################
43 # Application configuration defaults.
44 #################################################################
45 image: onap/so/so-cnfm-as-lcm:1.12.1
46 pullPolicy: Always
47
48 aai:
49   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
50
51 readinessCheck:
52   wait_for:
53     jobs:
54       - '{{ include "common.release" . }}-so-mariadb-config-job'
55
56 # Local mariadb galera instance default name
57 mariadb-galera:
58   nameOverride: so-mariadb-galera
59   service:
60     internalPort: 3306
61   mariadbOperator:
62     galera:
63       enabled: false
64
65 db:
66   userName: so_user
67   userPassword: so_User123
68   # userCredsExternalSecret: some secret
69   adminName: so_admin
70   adminPassword: so_Admin123
71   # adminCredsExternalSecret: some secret
72 mso:
73   key: 07a7159d3bf51a0e53be7a8f89699be7
74 sdc:
75   username: mso
76   password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
77   key: 566B754875657232314F5548556D3665
78
79 replicaCount: 1
80 minReadySeconds: 10
81 containerPort: &containerPort 9888
82 logPath: ./logs/so-cnfm-lcm/
83 app: so-cnfm-lcm
84 service:
85   type: ClusterIP
86   ports:
87     - name: http
88       port: *containerPort
89 updateStrategy:
90   type: RollingUpdate
91   maxUnavailable: 1
92   maxSurge: 1
93
94 #################################################################
95 # soHelpers part
96 #################################################################
97 soHelpers:
98   containerPort: *containerPort
99
100 # Resource Limit flavor -By Default using small
101 flavor: small
102 # Segregation for Different environment (Small and Large)
103 resources:
104   small:
105     limits:
106       cpu: "2000m"
107       memory: "4Gi"
108     requests:
109       cpu: "500m"
110       memory: "1Gi"
111   large:
112     limits:
113       cpu: "4000m"
114       memory: "8Gi"
115     requests:
116       cpu: "1000m"
117       memory: "2Gi"
118   unlimited: {}
119
120 livenessProbe:
121   port: *containerPort
122   initialDelaySeconds: 600
123   periodSeconds: 60
124   timeoutSeconds: 10
125   successThreshold: 1
126   failureThreshold: 3
127
128 ingress:
129   enabled: false
130   service:
131     - baseaddr: 'so-cnfm-lcm-api'
132       name: 'so-cnfms-lcm'
133       port: *containerPort
134   config:
135     ssl: 'redirect'
136
137 serviceMesh:
138   authorizationPolicy:
139     authorizedPrincipals:
140       - serviceAccount: so-read
141       - serviceAccount: istio-ingress
142         namespace: istio-ingress
143
144 nodeSelector: {}
145
146 tolerations: []
147
148 affinity: {}
149
150 #Pods Service Account
151 serviceAccount:
152   nameOverride: so-cnfm-lcm
153   roles:
154     - read
155