blob: 0a85a104551ecf2c65b1a33d9df444c0a2c0cd70 [file] [log] [blame]
egernugd3c55ab2023-01-19 15:50:37 +00001# 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#################################################################
18global:
19 persistence:
20 mountPath: /dockerdata-nfs
21 mariadbGalera:
Andreas Geissler576de2d2023-10-24 15:38:01 +020022 service: mariadb-galera
egernugd3c55ab2023-01-19 15:50:37 +000023 servicePort: '3306'
24
25#################################################################
26# Secrets metaconfig
27#################################################################
28secrets:
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#################################################################
egernug87dce3a2023-05-02 16:26:34 +010045image: onap/so/so-cnfm-as-lcm:1.12.1
egernugd3c55ab2023-01-19 15:50:37 +000046pullPolicy: Always
47
48aai:
49 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
Andreas Geissler2c1ba292024-01-10 22:20:05 +010050
51readinessCheck:
52 wait_for:
53 jobs:
54 - '{{ include "common.release" . }}-so-mariadb-config-job'
55
56# Local mariadb galera instance default name
57mariadb-galera:
58 nameOverride: so-mariadb-galera
59 service:
60 internalPort: 3306
61 mariadbOperator:
62 galera:
63 enabled: false
64
egernugd3c55ab2023-01-19 15:50:37 +000065db:
66 userName: so_user
67 userPassword: so_User123
68 # userCredsExternalSecret: some secret
69 adminName: so_admin
70 adminPassword: so_Admin123
71 # adminCredsExternalSecret: some secret
72mso:
73 key: 07a7159d3bf51a0e53be7a8f89699be7
74sdc:
75 username: mso
76 password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
77 key: 566B754875657232314F5548556D3665
78
79replicaCount: 1
80minReadySeconds: 10
81containerPort: &containerPort 9888
82logPath: ./logs/so-cnfm-lcm/
83app: so-cnfm-lcm
84service:
85 type: ClusterIP
86 ports:
87 - name: http
88 port: *containerPort
89updateStrategy:
90 type: RollingUpdate
91 maxUnavailable: 1
92 maxSurge: 1
93
94#################################################################
95# soHelpers part
96#################################################################
97soHelpers:
98 containerPort: *containerPort
99
100# Resource Limit flavor -By Default using small
101flavor: small
102# Segregation for Different environment (Small and Large)
103resources:
104 small:
105 limits:
106 memory: 4Gi
107 cpu: 2000m
108 requests:
109 memory: 1Gi
110 cpu: 500m
111 large:
112 limits:
113 memory: 8Gi
114 cpu: 4000m
115 requests:
116 memory: 2Gi
117 cpu: 1000m
118 unlimited: {}
119
120livenessProbe:
121 port: *containerPort
122 initialDelaySeconds: 600
123 periodSeconds: 60
124 timeoutSeconds: 10
125 successThreshold: 1
126 failureThreshold: 3
127
128ingress:
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
AndrewLambab2704a2023-04-05 14:45:11 +0100137serviceMesh:
138 authorizationPolicy:
139 authorizedPrincipals:
140 - serviceAccount: so-read
141 - serviceAccount: istio-ingress
142 namespace: istio-ingress
143
egernugd3c55ab2023-01-19 15:50:37 +0000144nodeSelector: {}
145
146tolerations: []
147
148affinity: {}
149
150#Pods Service Account
151serviceAccount:
152 nameOverride: so-cnfm-lcm
153 roles:
154 - read
155