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