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