[DMAAP] DMaaP ServiceMesh compatibility
[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   persistence:
21     mountPath: /dockerdata-nfs
22   security:
23     aaf:
24       enabled: false
25   aaf:
26     auth:
27       header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
28   mariadbGalera:
29     serviceName: mariadb-galera
30     servicePort: '3306'
31
32 readinessCheck:
33   wait_for:
34     jobs:
35       - '{{ include "common.release" . }}-so-mariadb-config-job'
36
37 #################################################################
38 # Secrets metaconfig
39 #################################################################
40 secrets:
41   - uid: db-user-creds
42     type: basicAuth
43     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
44     login: '{{ .Values.db.userName }}'
45     password: '{{ .Values.db.userPassword }}'
46     passwordPolicy: required
47   - uid: db-admin-creds
48     type: basicAuth
49     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
50     login: '{{ .Values.db.adminName }}'
51     password: '{{ .Values.db.adminPassword }}'
52     passwordPolicy: required
53
54 #secretsFilePaths: |
55 #  - 'my file 1'
56 #  - '{{ include "templateThatGeneratesFileName" . }}'
57
58 #################################################################
59 # Application configuration defaults.
60 #################################################################
61 image: onap/so/sdc-controller:1.10.0
62 pullPolicy: Always
63
64 db:
65   userName: so_user
66   userPassword: so_User123
67   # userCredsExternalSecret: some secret
68   adminName: so_admin
69   adminPassword: so_Admin123
70   # adminCredsExternalSecret: some secret
71
72 aai:
73   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
74 mso:
75   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
76   requestDb:
77     auth: Basic YnBlbDpwYXNzd29yZDEk
78   asdc:
79     config:
80       key: 566B754875657232314F5548556D3665
81   asdc-connections:
82     asdc-controller1:
83       password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
84
85 replicaCount: 1
86 minReadySeconds: 10
87 containerPort: &containerPort 8085
88 logPath: ./logs/sdc/
89 app: sdc-controller
90 service:
91     type: ClusterIP
92     internalPort: *containerPort
93     externalPort: *containerPort
94     portName: so-sdc-port
95 updateStrategy:
96     type: RollingUpdate
97     maxUnavailable: 1
98     maxSurge: 1
99
100 #################################################################
101 # soHelpers part
102 #################################################################
103 soHelpers:
104   nameOverride: so-sdc-cert-init
105   certInitializer:
106     nameOverride: so-sdc-cert-init
107     credsPath: /opt/app/osaaf/local
108   cadi:
109     apiEnforcement: org.onap.so.sdcControllerPerm
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: 8085
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: {}
145
146 #Pods Service Account
147 serviceAccount:
148   nameOverride: so-sdc-controller
149   roles:
150     - read
151
152 #Logs configuration
153 log:
154   path: /var/log/onap
155 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'