5b629e8d9c99554ea9edde29df11b28899421c1b
[oom.git] / kubernetes / so / components / so-nssmf-adapter / values.yaml
1 # Copyright © 2020 Huawei Technologies Co., Ltd.
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 # Global configuration defaults.
16 #################################################################
17 global:
18   nodePortPrefix: 302
19   nodePortPrefixExt: 304
20   repository: nexus3.onap.org:10001
21   readinessImage: onap/oom/readiness:3.0.1
22   aafAgentImage: onap/aaf/aaf_agent:2.1.20
23   envsubstImage: dibi/envsubst
24   persistence:
25     mountPath: /dockerdata-nfs
26   security:
27     aaf:
28       enabled: false
29   aaf:
30     auth:
31       header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
32   mariadbGalera:
33     serviceName: mariadb-galera
34     servicePort: '3306'
35
36 readinessCheck:
37   wait_for:
38     - so-mariadb-config
39
40
41 #################################################################
42 # Secrets metaconfig
43 #################################################################
44 secrets:
45   - uid: db-user-creds
46     name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
47     type: basicAuth
48     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
49     login: '{{ .Values.db.userName }}'
50     password: '{{ .Values.db.userPassword }}'
51     passwordPolicy: required
52   - uid: db-admin-creds
53     name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
54     type: basicAuth
55     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
56     login: '{{ .Values.db.adminName }}'
57     password: '{{ .Values.db.adminPassword }}'
58     passwordPolicy: required
59   - uid: server-bpel-creds
60     name: '{{ include "common.release" . }}-so-server-bpel-creds'
61     type: basicAuth
62     externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
63     login: '{{ .Values.server.bpel.username }}'
64     password: '{{ .Values.server.bpel.password }}'
65     passwordPolicy: required
66   - uid: server-actuator-creds
67     name: '{{ include "common.release" . }}-so-server-actuator-creds'
68     type: basicAuth
69     externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
70     login: '{{ .Values.server.actuator.username }}'
71     password: '{{ .Values.server.actuator.password }}'
72     passwordPolicy: required
73
74 #secretsFilePaths: |
75 #  - 'my file 1'
76 #  - '{{ include "templateThatGeneratesFileName" . }}'
77
78 #################################################################
79 # Application configuration defaults.
80 #################################################################
81 repository: nexus3.onap.org:10001
82 image: onap/so/nssmf-adapter:1.7.11
83
84 pullPolicy: Always
85
86 db:
87   userName: so_user
88   userPassword: so_User123
89   # userCredsExternalSecret: some secret
90   adminName: so_admin
91   adminPassword: so_Admin123
92   # adminCredsExternalSecret: some secret
93 server:
94   actuator:
95     username: mso_admin
96     password: password1$
97   bpel:
98     username: bpel
99     password: password1$
100 aai:
101   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
102 mso:
103   adapters:
104     requestDb:
105       auth: Basic YnBlbDpwYXNzd29yZDEk
106
107 replicaCount: 1
108 minReadySeconds: 10
109 containerPort: &containerPort 8088
110 logPath: ./logs/nssmf/
111 app: nssmf-adapter
112 service:
113   type: ClusterIP
114   ports:
115     - name: api
116       port: *containerPort
117 updateStrategy:
118     type: RollingUpdate
119     maxUnavailable: 1
120     maxSurge: 1
121
122 soHelpers:
123   nameOverride: so-nssmf-cert-init
124   certInitializer:
125     nameOverride: so-nssmf-cert-init
126     credsPath: /opt/app/osaaf/local
127   cadi:
128     apiEnforcement: org.onap.so.nssmfAdapterPerm
129   containerPort: *containerPort
130
131 # Resource Limit flavor -By Default using small
132 flavor: small
133 # Segregation for Different environment (Small and Large)
134 resources:
135   small:
136     limits:
137       memory: 4Gi
138       cpu: 2000m
139     requests:
140       memory: 1Gi
141       cpu: 500m
142   large:
143     limits:
144       memory: 8Gi
145       cpu: 4000m
146     requests:
147       memory: 2Gi
148       cpu: 1000m
149   unlimited: {}
150 livenessProbe:
151     path: /manage/health
152     port: 8088
153     scheme: HTTP
154     initialDelaySeconds: 600
155     periodSeconds: 60
156     timeoutSeconds: 10
157     successThreshold: 1
158     failureThreshold: 3
159 ingress:
160   enabled: false
161 nodeSelector: {}
162 tolerations: []
163 affinity: {}