Merge "[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   - uid: "so-onap-certs"
46     externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
47     type: generic
48     filePaths: '{{ .Values.secretsFilePaths }}'
49
50 #secretsFilePaths: |
51 #  - 'my file 1'
52 #  - '{{ include "templateThatGeneratesFileName" . }}'
53
54 #################################################################
55 # Application configuration defaults.
56 #################################################################
57 repository: nexus3.onap.org:10001
58 image: onap/so/sdnc-adapter:1.6.0
59 pullPolicy: Always
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 replicaCount: 1
70 minReadySeconds: 10
71 containerPort: 8086
72 logPath: ./logs/sdnc/
73 app: sdnc-adapter
74 service:
75     type: ClusterIP
76     internalPort: 8086
77     externalPort: 8086
78     portName: so-sdnc-port
79 updateStrategy:
80     type: RollingUpdate
81     maxUnavailable: 1
82     maxSurge: 1
83 # Resource Limit flavor -By Default using small
84 flavor: small
85 # Segregation for Different environment (Small and Large)
86 resources:
87   small:
88     limits:
89       memory: 4Gi
90       cpu: 2000m
91     requests:
92       memory: 1Gi
93       cpu: 500m
94   large:
95     limits:
96       memory: 8Gi
97       cpu: 4000m
98     requests:
99       memory: 2Gi
100       cpu: 1000m
101   unlimited: {}
102 livenessProbe:
103     path: /manage/health
104     port: 8086
105     scheme: HTTP
106     initialDelaySeconds: 600
107     periodSeconds: 60
108     timeoutSeconds: 10
109     successThreshold: 1
110     failureThreshold: 3
111 ingress:
112   enabled: false
113 nodeSelector: {}
114 tolerations: []
115 affinity: {}