Merge "[DCAEMOD] Uses new tpls for repos / images"
[oom.git] / kubernetes / so / components / so-vfc-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   persistence:
21     mountPath: /dockerdata-nfs
22   security:
23     aaf:
24       enabled: false
25   aaf:
26     auth:
27       header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
28   mariadbGalera:
29     serviceName: mariadb-galera
30     servicePort: '3306'
31
32 readinessCheck:
33   wait_for:
34     - so-mariadb-config
35
36 #################################################################
37 # Secrets metaconfig
38 #################################################################
39 secrets:
40   - uid: db-user-creds
41     type: basicAuth
42     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
43     login: '{{ .Values.db.userName }}'
44     password: '{{ .Values.db.userPassword }}'
45     passwordPolicy: required
46   - uid: db-admin-creds
47     type: basicAuth
48     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
49     login: '{{ .Values.db.adminName }}'
50     password: '{{ .Values.db.adminPassword }}'
51     passwordPolicy: required
52
53 #secretsFilePaths: |
54 #  - 'my file 1'
55 #  - '{{ include "templateThatGeneratesFileName" . }}'
56
57 #################################################################
58 # Application configuration defaults.
59 #################################################################
60 image: onap/so/vfc-adapter:1.7.10
61 pullPolicy: Always
62
63 db:
64   userName: so_user
65   userPassword: so_User123
66   # userCredsExternalSecret: some secret
67   adminName: so_admin
68   adminPassword: so_Admin123
69   # adminCredsExternalSecret: some secret
70
71 mso:
72   adapters:
73     requestDb:
74       auth: Basic YnBlbDpwYXNzd29yZDEk
75
76 replicaCount: 1
77 minReadySeconds: 10
78 containerPort: &containerPort 8084
79 logPath: ./logs/vfc/
80 app: vfc-adapter
81 service:
82     type: ClusterIP
83     internalPort: *containerPort
84     externalPort: *containerPort
85     portName: so-vfc-port
86 updateStrategy:
87     type: RollingUpdate
88     maxUnavailable: 1
89     maxSurge: 1
90
91
92 #################################################################
93 # soHelpers part
94 #################################################################
95 soHelpers:
96   nameOverride: so-vfc-cert-init
97   certInitializer:
98     nameOverride: so-vfc-cert-init
99     credsPath: /opt/app/osaaf/local
100   cadi:
101     apiEnforcement: org.onap.so.vfcAdapterPerm
102   containerPort: *containerPort
103
104 # Resource Limit flavor -By Default using small
105 flavor: small
106 # Segregation for Different environment (Small and Large)
107 resources:
108   small:
109     limits:
110       memory: 4Gi
111       cpu: 2000m
112     requests:
113       memory: 1Gi
114       cpu: 500m
115   large:
116     limits:
117       memory: 8Gi
118       cpu: 4000m
119     requests:
120       memory: 2Gi
121       cpu: 1000m
122   unlimited: {}
123 livenessProbe:
124     path: /manage/health
125     port: 8084
126     scheme: HTTP
127     initialDelaySeconds: 600
128     periodSeconds: 60
129     timeoutSeconds: 10
130     successThreshold: 1
131     failureThreshold: 3
132 ingress:
133   enabled: false
134 nodeSelector: {}
135 tolerations: []
136 affinity: {}