Merge "[CONSUL] Add limits to consul chart."
[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
33 #################################################################
34 # Secrets metaconfig
35 #################################################################
36 secrets:
37   - uid: db-user-creds
38     name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
39     type: basicAuth
40     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
41     login: '{{ .Values.db.userName }}'
42     password: '{{ .Values.db.userPassword }}'
43     passwordPolicy: required
44   - uid: db-admin-creds
45     name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
46     type: basicAuth
47     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
48     login: '{{ .Values.db.adminName }}'
49     password: '{{ .Values.db.adminPassword }}'
50     passwordPolicy: required
51   - uid: server-bpel-creds
52     name: '{{ include "common.release" . }}-so-server-bpel-creds'
53     type: basicAuth
54     externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
55     login: '{{ .Values.server.bpel.username }}'
56     password: '{{ .Values.server.bpel.password }}'
57     passwordPolicy: required
58   - uid: server-actuator-creds
59     name: '{{ include "common.release" . }}-so-server-actuator-creds'
60     type: basicAuth
61     externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
62     login: '{{ .Values.server.actuator.username }}'
63     password: '{{ .Values.server.actuator.password }}'
64     passwordPolicy: required
65
66 #secretsFilePaths: |
67 #  - 'my file 1'
68 #  - '{{ include "templateThatGeneratesFileName" . }}'
69
70 #################################################################
71 # Application configuration defaults.
72 #################################################################
73 repository: nexus3.onap.org:10001
74 image: onap/so/nssmf-adapter:1.6.4
75 pullPolicy: Always
76
77 db:
78   userName: so_user
79   userPassword: so_User123
80   # userCredsExternalSecret: some secret
81   adminName: so_admin
82   adminPassword: so_Admin123
83   # adminCredsExternalSecret: some secret
84 server:
85   actuator:
86     username: mso_admin
87     password: password1$
88   bpel:
89     username: bpel
90     password: password1$
91 aai:
92   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
93 mso:
94   adapters:
95     requestDb:
96       auth: Basic YnBlbDpwYXNzd29yZDEk
97
98 replicaCount: 1
99 minReadySeconds: 10
100 containerPort: &containerPort 8088
101 logPath: ./logs/nssmf/
102 app: nssmf-adapter
103 service:
104   type: ClusterIP
105   ports:
106     - name: api
107       port: *containerPort
108 updateStrategy:
109     type: RollingUpdate
110     maxUnavailable: 1
111     maxSurge: 1
112
113 soHelpers:
114   nameOverride: so-nssmf-cert-init
115   certInitializer:
116     nameOverride: so-nssmf-cert-init
117     credsPath: /opt/app/osaaf/local
118   cadi:
119     apiEnforcement: org.onap.so.nssmfAdapterPerm
120   containerPort: *containerPort
121
122 # Resource Limit flavor -By Default using small
123 flavor: small
124 # Segregation for Different environment (Small and Large)
125 resources:
126   small:
127     limits:
128       memory: 4Gi
129       cpu: 2000m
130     requests:
131       memory: 1Gi
132       cpu: 500m
133   large:
134     limits:
135       memory: 8Gi
136       cpu: 4000m
137     requests:
138       memory: 2Gi
139       cpu: 1000m
140   unlimited: {}
141 livenessProbe:
142     path: /manage/health
143     port: 8088
144     scheme: HTTP
145     initialDelaySeconds: 600
146     periodSeconds: 60
147     timeoutSeconds: 10
148     successThreshold: 1
149     failureThreshold: 3
150 ingress:
151   enabled: false
152 nodeSelector: {}
153 tolerations: []
154 affinity: {}