[SO] Correct connection configuration to sdnc
[oom.git] / kubernetes / so / charts / so-sdnc-adapter / values.yaml
1 # Copyright © 2018 AT&T USA
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   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.2
23   persistence:
24     mountPath: /dockerdata-nfs
25   #This configuration specifies Service and port for SDNC OAM interface
26   sdncOamService: sdnc-oam
27   sdncOamPort: 8282
28
29 #################################################################
30 # Secrets metaconfig
31 #################################################################
32 secrets:
33   - uid: db-user-creds
34     type: basicAuth
35     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
36     login: '{{ .Values.db.userName }}'
37     password: '{{ .Values.db.userPassword }}'
38     passwordPolicy: required
39   - uid: db-admin-creds
40     type: basicAuth
41     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
42     login: '{{ .Values.db.adminName }}'
43     password: '{{ .Values.db.adminPassword }}'
44     passwordPolicy: required
45
46 #################################################################
47 # Application configuration defaults.
48 #################################################################
49 repository: nexus3.onap.org:10001
50 image: onap/so/sdnc-adapter:1.5.3
51 pullPolicy: Always
52
53 db:
54   userName: so_user
55   userPassword: so_User123
56   # userCredsExternalSecret: some secret
57   adminName: so_admin
58   adminPassword: so_Admin123
59   # adminCredsExternalSecret: some secret
60
61 replicaCount: 1
62 minReadySeconds: 10
63 containerPort: 8086
64 logPath: ./logs/sdnc/
65 app: sdnc-adapter
66 service:
67     type: ClusterIP
68     internalPort: 8086
69     externalPort: 8086
70     portName: so-sdnc-port
71 updateStrategy:
72     type: RollingUpdate
73     maxUnavailable: 1
74     maxSurge: 1
75 # Resource Limit flavor -By Default using small
76 flavor: small
77 # Segregation for Different environment (Small and Large)
78 resources:
79   small:
80     limits:
81       memory: 4Gi
82       cpu: 2000m
83     requests:
84       memory: 1Gi
85       cpu: 500m
86   large:
87     limits:
88       memory: 8Gi
89       cpu: 4000m
90     requests:
91       memory: 2Gi
92       cpu: 1000m
93   unlimited: {}
94 livenessProbe:
95     path: /manage/health
96     port: 8086
97     scheme: HTTP
98     initialDelaySeconds: 600
99     periodSeconds: 60
100     timeoutSeconds: 10
101     successThreshold: 1
102     failureThreshold: 3
103 ingress:
104   enabled: false
105 nodeSelector: {}
106 tolerations: []
107 affinity: {}