[CONSUL] Add limits to consul chart.
[oom.git] / kubernetes / so / components / so-openstack-adapter / values.yaml
1 # Copyright © 2018 AT&T USA
2 # Copyright © 2020 Huawei
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       encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
32
33 #################################################################
34 # Secrets metaconfig
35 #################################################################
36 secrets:
37   - uid: db-user-creds
38     type: basicAuth
39     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
40     login: '{{ .Values.db.userName }}'
41     password: '{{ .Values.db.userPassword }}'
42     passwordPolicy: required
43   - uid: db-admin-creds
44     type: basicAuth
45     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
46     login: '{{ .Values.db.adminName }}'
47     password: '{{ .Values.db.adminPassword }}'
48     passwordPolicy: required
49
50 #secretsFilePaths: |
51 #  - 'my file 1'
52 #  - '{{ include "templateThatGeneratesFileName" . }}'
53
54 #################################################################
55 # Application configuration defaults.
56 #################################################################
57 image: onap/so/openstack-adapter:1.6.4
58 pullPolicy: Always
59 repository: nexus3.onap.org:10001
60
61 db:
62   userName: so_user
63   userPassword: so_User123
64   # userCredsExternalSecret: some secret
65   adminName: so_admin
66   adminPassword: so_Admin123
67   # adminCredsExternalSecret: some secret
68
69 aai:
70   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
71 aaf:
72   auth:
73     encrypted: 7F182B0C05D58A23A1C4966B9CDC9E0B8BC5CD53BC8C7B4083D869F8D53E9BDC3EFD55C94B1D3F
74 org:
75   onap:
76     so:
77       adapters:
78         bpelauth: D1A67FA93B6A6419132D0F83CC771AF774FD3C60853C50C22C8C6FC5088CC79E9E81EDE9EA39F22B2F66A0068E
79 mso:
80   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
81   basicUser: poBpmn
82   auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
83   db:
84     auth: Basic YnBlbDpwYXNzd29yZDEk
85
86 replicaCount: 1
87 minReadySeconds: 10
88 containerPort: &containerPort 8087
89 logPath: ./logs/openstack/
90 app: openstack-adapter
91 service:
92     type: ClusterIP
93     internalPort: *containerPort
94     externalPort: *containerPort
95     portName: so-optack-port
96 updateStrategy:
97     type: RollingUpdate
98     maxUnavailable: 1
99     maxSurge: 1
100
101 #################################################################
102 # soHelper part
103 #################################################################
104 soHelpers:
105   nameOverride: so-openstack-cert-init
106   certInitializer:
107     nameOverride: so-openstack-cert-init
108     credsPath: /opt/app/osaaf/local
109   cadi:
110     apiEnforcement: org.onap.so.openStackAdapterPerm
111   containerPort: *containerPort
112
113 # Resource Limit flavor -By Default using small
114 flavor: small
115 # Segregation for Different environment (Small and Large)
116 resources:
117   small:
118     limits:
119       memory: 4Gi
120       cpu: 2000m
121     requests:
122       memory: 1Gi
123       cpu: 500m
124   large:
125     limits:
126       memory: 8Gi
127       cpu: 4000m
128     requests:
129       memory: 2Gi
130       cpu: 1000m
131   unlimited: {}
132 livenessProbe:
133     path: /manage/health
134     port: 8087
135     scheme: HTTP
136     initialDelaySeconds: 600
137     periodSeconds: 60
138     timeoutSeconds: 10
139     successThreshold: 1
140     failureThreshold: 3
141 ingress:
142   enabled: false
143 config:
144   openStackUserName: "vnf_user"
145   openStackRegion: "RegionOne"
146   openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
147   openStackServiceTenantName: "service"
148   openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
149   openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
150 nodeSelector: {}
151 tolerations: []
152 affinity: {}