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