[DCAEMOD] Uses new tpls for repos / images
[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.10
66 pullPolicy: Always
67
68 db:
69   userName: so_user
70   userPassword: so_User123
71   # userCredsExternalSecret: some secret
72   adminName: so_admin
73   adminPassword: so_Admin123
74   # adminCredsExternalSecret: some secret
75
76 aai:
77   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
78 mso:
79   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
80   requestDb:
81     auth: Basic YnBlbDpwYXNzd29yZDEk
82   asdc:
83     config:
84       key: 566B754875657232314F5548556D3665
85   asdc-connections:
86     asdc-controller1:
87       password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
88
89 replicaCount: 1
90 minReadySeconds: 10
91 containerPort: &containerPort 8085
92 logPath: ./logs/sdc/
93 app: sdc-controller
94 service:
95     type: ClusterIP
96     internalPort: *containerPort
97     externalPort: *containerPort
98     portName: so-sdc-port
99 updateStrategy:
100     type: RollingUpdate
101     maxUnavailable: 1
102     maxSurge: 1
103
104 #################################################################
105 # soHelpers part
106 #################################################################
107 soHelpers:
108   nameOverride: so-sdc-cert-init
109   certInitializer:
110     nameOverride: so-sdc-cert-init
111     credsPath: /opt/app/osaaf/local
112   cadi:
113     apiEnforcement: org.onap.so.sdcControllerPerm
114   containerPort: *containerPort
115
116 # Resource Limit flavor -By Default using small
117 flavor: small
118 # Segregation for Different environment (Small and Large)
119 resources:
120   small:
121     limits:
122       memory: 4Gi
123       cpu: 2000m
124     requests:
125       memory: 1Gi
126       cpu: 500m
127   large:
128     limits:
129       memory: 8Gi
130       cpu: 4000m
131     requests:
132       memory: 2Gi
133       cpu: 1000m
134   unlimited: {}
135 livenessProbe:
136     path: /manage/health
137     port: 8085
138     scheme: HTTP
139     initialDelaySeconds: 600
140     periodSeconds: 60
141     timeoutSeconds: 10
142     successThreshold: 1
143     failureThreshold: 3
144 ingress:
145   enabled: false
146 nodeSelector: {}
147 tolerations: []
148 affinity: {}